此版本的应用程序不支持 Azure .ccproj
Azure .ccproj is not supported by this version of application
最近开始通过 visual studio 2013 ultimate 开发 azure 云服务,上周一切正常,我可以为我的云服务创建一个 .ccprog 文件。我决定在星期一格式化我的电脑,所以重新安装了 VS2013 和我之前使用的 azure SDK v2.5 oof,但现在当我尝试创建一个新的 azure 云服务项目和 select WCF 服务网络角色时我收到一条错误消息说 "it cannot be created due to the .ccproj file not supported by this version of application. please use a version that supports this type of project file." 我认为 VS 无法识别 SDK 但不确定,当我 select 帮助 VS 网站时说请更新您的 VS 版本,但它已经是最新的 VS2013 .4,任何帮助都会很棒,谢谢
您的 csproj 似乎包含旧版 Azure SDK 版本。所以你应该更新它。
这里是一个快速的步骤:
1) Unload the project file (Right click on project, click "Unload project")
2) Edit the project file (Right click on unloaded project, click "Edit X.csproj")
3) Change the product version to 2.5
<ProductVersion>2.5</ProductVersion>
4) Change the Azure tools version to 2.5
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)MicrosoftVisualStudiov$(VisualStudioVersion)Windows Azure Tools2.5</CloudExtensionsDir>
5) Save the project file, and reload the project
6) This should activate the conversion wizard which will then make changes to your .csdef file, adding the following schema version attribute:
<ServiceDefinition name="SentinelWebAzure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7">
NOTE: If you are getting a build error complaining about the schema version, that is because you dont have the right cloud extension dir setting applied. See step #4.
来源:http://mvolo.com/visual-studio-build-and-publishing-problems-after-upgrading-to-azure-1-7-sdk/
最近开始通过 visual studio 2013 ultimate 开发 azure 云服务,上周一切正常,我可以为我的云服务创建一个 .ccprog 文件。我决定在星期一格式化我的电脑,所以重新安装了 VS2013 和我之前使用的 azure SDK v2.5 oof,但现在当我尝试创建一个新的 azure 云服务项目和 select WCF 服务网络角色时我收到一条错误消息说 "it cannot be created due to the .ccproj file not supported by this version of application. please use a version that supports this type of project file." 我认为 VS 无法识别 SDK 但不确定,当我 select 帮助 VS 网站时说请更新您的 VS 版本,但它已经是最新的 VS2013 .4,任何帮助都会很棒,谢谢
您的 csproj 似乎包含旧版 Azure SDK 版本。所以你应该更新它。
这里是一个快速的步骤:
1) Unload the project file (Right click on project, click "Unload project")
2) Edit the project file (Right click on unloaded project, click "Edit X.csproj")
3) Change the product version to 2.5
<ProductVersion>2.5</ProductVersion>
4) Change the Azure tools version to 2.5
<CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)MicrosoftVisualStudiov$(VisualStudioVersion)Windows Azure Tools2.5</CloudExtensionsDir>
5) Save the project file, and reload the project
6) This should activate the conversion wizard which will then make changes to your .csdef file, adding the following schema version attribute:
<ServiceDefinition name="SentinelWebAzure" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7">
NOTE: If you are getting a build error complaining about the schema version, that is because you dont have the right cloud extension dir setting applied. See step #4.
来源:http://mvolo.com/visual-studio-build-and-publishing-problems-after-upgrading-to-azure-1-7-sdk/