NET6的net6.0-windows10.xxx文件夹

通常使用.NET6 生成window程序默认在bin下会生成对应系统的net6.0-windows10.xxxx之类的文件夹。如果不喜欢 的可以在项目文件中编辑

增加

<PropertyGroup>
  <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

 如果还不希望出现 win-x64 

<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

 


posted @ 2023-06-29 15:06  stweily  阅读(290)  评论(0)    收藏  举报