Reputation: 15569
Details:
The SDK package you are trying to deploy is not supported by the operating system you have chosen. The operating system you are trying to deploy to is: Windows Server 2016. Verify osFamily and/or osVersion settings in your .cscfg file.
According to this document from MS, this should be supported. How do I get this service deployed?
Upvotes: 3
Views: 1034
Reputation: 15569
It turns out that this project was created with Azure SDK 2.8. To get the project to build with the updated SDK, I had to change the following line in my .ccproj file:
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.8\</CloudExtensionsDir>
to:
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\2.9\</CloudExtensionsDir>
It's basically following the reverse of the procedure outlined here.
Upvotes: 3