Thursday 28 February 2019

Duplicate file listing in Visual Studio 2019 for Mac - Solved!

This i just a quick post to help people resolve a duplicate file listing in Visual Studio 2019 for Mac.


As you can see, I have an annoying problem:





The solution is to open your .csproj file and comment out this 1 online of XML:

  <ItemGroup>
    
  </ItemGroup>


The result is the following:



As you can see, the .csproj is no longer in the list. If you wish to include it then you can add the following:

  <ItemGroup>
    <None Include="Application.Func.csproj" />
  </ItemGroup>


That's it! So Dang easy! 

Crisis over.