Tuesday, April 21, 2020

magical mystery folder in Visual Studio 2019

In the .NET Framework stuff you may jam into the files a nonexistent folder like so by making this change to the .csproj file:

<ItemGroup>
   <Folder Include="Diagnostics\DocSolLogger\" />
</ItemGroup>

 
 

In .NET Core there should be only one ItemGroup and you should just put this inside of it:

<Folder Include="Diagnostics\DocSolLogger\" />

 
 

I get a red X on the folder in .NET Core.

No comments:

Post a Comment