Visual Studio 2017 Option: Use Managed Compatibility Mode per project

前端 未结 1 1582
花落未央
花落未央 2021-01-14 23:43

I work on two different projects. One is an asp.net web project, the other an addin for an arcmap.exe. For debugging the addin the option \"Use Managed Compatibility Mode\"

相关标签:
1条回答
  • 2021-01-15 00:28

    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.

    0 讨论(0)
提交回复
热议问题