Supporting .net version 4.6 or higher in azure cloud service

痴心易碎 提交于 2019-12-05 13:47:24

To use .NET 4.6, you need to ensure that your cloud service is using the most recent osFamily.

osFamily version 5 has the following .NET Frameworks installed:

4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2

You can set this in your ServiceConfiguration:

<ServiceConfiguration 
    serviceName="MyService" 
    osFamily="5" 
    osVersion="*">

    <!-- your role definitions in here -->

</ServiceConfiguration>

See the complete reference documentation: Azure Guest OS releases and SDK compatibility matrix

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