<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>ExeOutputType>
<TargetFramework>netcoreapp3.1TargetFramework>
<RuntimeIdentifier>win-x64RuntimeIdentifier>
<AppendRuntimeIdentifierToOutputPath>falseAppendRuntimeIdentifierToOutputPath>
PropertyGroup>
<Target Name="Say">
<Message Text="OutputPath: $(OutputPath)" Importance="High" />
<Message Text="PublishDir: $(PublishDir)" Importance="High" />
Target>
Project>
Expected:
OutputPath: bin\Debug\netcoreapp3.1\
PublishDir: bin\Debug\netcoreapp3.1\publish\
Actual:
OutputPath: bin\Debug\netcoreapp3.1\
PublishDir: bin\Debug\netcoreapp3.1\win-x64\publish\
Expected:
Actual: