编译C#工程时,在C#的Project的属性界面的Build选项卡中当Configuration : Relese 时,依然会生成扩展名为.vhost.exe和.pdb文件。
其中.pdb是debug时使用的debug database文件;.vhost.exe是从VS2005开始的VS host process
  • 不生成.vshost.exe文件的步骤如下图:打开工程属性的Debug标签选项卡,将Configuration选择为Relese , 去掉 Enable the Visual Studio hosting process即可
  • C#Project不生成.vhost.exe和.pdb文件的方法

    不生成.pdb文件的步骤如下图,打开工程属性的Build标签选项卡,将Configuration选为Release 后,打开右下方的Advance , 将Output中的Debug Info修改为none后保存即可

  • C#Project不生成.vhost.exe和.pdb文件的方法

     

相关文章:

  • 2021-11-06
  • 2022-12-23
  • 2022-02-08
  • 2021-07-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
猜你喜欢
  • 2021-12-29
  • 2021-05-27
  • 2021-12-21
相关资源
相似解决方案