Search code examples
c#.netazurecloudazure-configuration

How to determine the location of a Cloud WebRole on Harddisk?


After creating a Azure Project within my silverlight app and adding the existing service as a "Add Web Role Project in Solution" I can run my silverlight app hosted in the Cloud and run it successfully locally.

I would like to use the SDK Toolkit instead of Visual Studio to create a package from the webrole. But what is the correct path to the WebRole?


Solution

  • In order to create a package, you shouldn't need to know where your local role runs. You should only need the service definition file and the binaries/files.

    See the cspack cmdline:

    http://msdn.microsoft.com/en-us/library/windowsazure/gg433133.aspx

    You can also use msbuild to create a package:

    http://msdn.microsoft.com/en-us/library/windowsazure/hh301088.aspx

    Also, this is a good starting point:

    http://msdn.microsoft.com/en-us/library/windowsazure/gg433055.aspx

    Let me know if I mis-understood what you're trying to ultimately accomplish.