I get the popup saying that file xyz.cs is not added to the csproj while it is.
Looking at changes in the csproj file it seems that it adds items to the last item group. Is it possible that when looking at the added files it is not checking all the item groups?
Here's an example of item added by the extension:
<ItemGroup>
<ProjectCapability Remove="LaunchProfiles" />
<ProjectCapability Remove="SharedProjectReferences" />
<ProjectCapability Remove="ReferenceManagerSharedProjects" />
<ProjectCapability Remove="ReferenceManagerProjects" />
<ProjectCapability Remove="COMReferences" />
<ProjectCapability Remove="ReferenceManagerCOM" />
<ProjectCapability Remove="AssemblyReferences" />
<ProjectCapability Remove="ReferenceManagerAssemblies" />
<Compile Include="Assets\Scripts\ICellProcessor.cs" />
</ItemGroup>
</Project>
here is an example of files that the extension claims are not part of the solution, despite being in the csproj file:
<ItemGroup>
<Analyzer Include="/Users/heti/.vscode/extensions/visualstudiotoolsforunity.vstuc-1.2.1/Analyzers/Microsoft.Unity.Analyzers.dll" />
<Analyzer Include="/Applications/Unity/Hub/Editor/6000.3.7f1/Unity.app/Contents/Resources/BuildPipeline/Unity.SourceGenerators/Unity.SourceGenerators.dll" />
<Analyzer Include="/Applications/Unity/Hub/Editor/6000.3.7f1/Unity.app/Contents/Resources/BuildPipeline/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll" />
<Analyzer Include="/Applications/Unity/Hub/Editor/6000.3.7f1/Unity.app/Contents/Resources/BuildPipeline/Unity.SourceGenerators/Unity.UIToolkit.SourceGenerator.dll" />
</ItemGroup>
<ItemGroup>
<Compile Include="Assets/Scripts/Cell.cs" />
<Compile Include="Assets/Scripts/BoardManager.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>/Applications/Unity/Hub/Editor/6000.3.7f1/Unity.app/Contents/Resources/Scripting/Managed/UnityEngine/UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
I get the popup saying that file xyz.cs is not added to the csproj while it is.
Looking at changes in the csproj file it seems that it adds items to the last item group. Is it possible that when looking at the added files it is not checking all the item groups?
Here's an example of item added by the extension:
here is an example of files that the extension claims are not part of the solution, despite being in the csproj file: