Reputation: 37
I'm new to VS and Azure, I've created an application in VS15 and have deployed it to Azure, the application was not created as a cloud app. I need to deploy Crystal Reports for Visual Studio runtime, I've followed the example here http://www.britishdeveloper.co.uk/2012/01/crystal-reports-on-azure-how-to.html I'm supposed to edit my ServiceDefinition.csdef file like this
<WebRole name="Web" vmsize="Small">
...
<Startup>
<Task commandLine="StartUp.cmd" executionContext="elevated" taskType="background" />
</Startup>
</WebRole>
The problem is there is no ServiceDefinition.csdef in my project, should it have been created with the project / build? How do I create one and where in the project is it supposed to be created?
Thanks
Upvotes: 1
Views: 1222
Reputation: 136306
Adding a csdef
file will not solve your problem. What you would need to do is convert your web application into a Cloud Service project. When you convert it, a new cloud services project will be added to your solution and all the necessary files (cscfg, csdef, WebRole.cs) will be added to your projects appropriately.
To convert your project, simply right click the project --> Convert --> Convert to Microsoft Azure Cloud Service Project
as shown in picture below.
However please keep in mind that Cloud Services are deployed in a different manner than your regular web applications and you will lose some of the features (like ultra fast deployment) that you currently have with web applications.
Upvotes: 0