不知道出於什么目的,.netcore項目默認編譯時生成的文件要多加一層"netcoreapp3.0"或"netcoreapp2.1",這應該不符合大多數開發者的習慣吧?

不過微軟為我們提供了配置來取消這個目錄。
編輯項目文件
<PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> </PropertyGroup>
