Skip to content

NetStandard Path

Damian edited this page Dec 17, 2020 · 1 revision

.NET Standard

Projects (.csproj) that use the .NET Standard should include the following flag to disable the auto-creation of the sub-folder, netstandardX.X. After applying the change, projects will be built in the folder specified and not, SomeFolder\netstandard2.0 or SomeFolder\netcoreapp3.1

<PropertyGroup>
  <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
Clone this wiki locally