Visual Studio 2017 Option: Use Managed Compatibility Mode per project

折月煮酒 提交于 2019-12-01 11:27:05

The solution for now is without an extension. As described in Switching to Managed Compatibility Mode in Visual Studio 2013 it is possible to add a configuration in the .csproj file by hand:

<PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    ...
    <DebugEngines>{351668CC-8477-4fbf-BFE3-5F1006E4DB1F}</DebugEngines> <!-- add this line -->
    ...
</PropertyGroup>

This has to be done for the "Startup Project". After setting the property for the project, The option "Use Managed Compatibility Mode" can be unchecked in Settings - Debug.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!