对应项目 xxxxx.csproj 右键编辑
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
就这样
解决不了 看百度上 其他问题
本文详细介绍了如何在项目中配置Debug模式,通过修改.csproj文件,设置DebugSymbols为true,DebugType为full,Optimize为false等,确保在开发过程中能够进行有效的错误检查和调试。
2336

被折叠的 条评论
为什么被折叠?



