问题
I am working in VS2015 and want to add an ASP.NET 5 Preview Web Project to a Cloud Service Web Role. When I click on "Add Web Role Project in Solution" it does not list the new project type, only the old web projects (ASP.NET 4.6).
When you click on the 4.6 project it has a "Convert to Microsoft Azure Cloud Service Project", however this is missing from the 5 project.
How can I associate the Preview project with the Azure Cloud Service web role?
回答1:
It's not supported yet. But, if you want, you can create a setup script that installs all the needed components and then you can follow the steps from this post to run it and bootstrap your app: http://www.codeproject.com/Articles/331425/Running-an-EXE-in-a-WebRole-on-Windows-Azure
来源:https://stackoverflow.com/questions/32368546/how-to-convert-a-asp-net-5-preview-web-project-to-cloud-service