I'm trying to build an Azure deployment package using cspack on my build server for devfabric deployment (csrun) onto a test server. cspack dutifully copies the web role binaries & files into the csx package, but it also requires a 'sitePhysicalDirectory' path for each web role, which is embedded in a 'RoleModel.xml' file. This directory must exist at package time.
Upon deployment, csrun sets up an IIS site that points directly to the sitePhysicalDirectory path and appears to completely ignore the web role binaries packaged in the csx package. Needless to say, the test deployment on a different machine doesn't work.
Am I missing something here? Why can't cspack/csrun set the physical path in IIS to the approot in csx package? What's the purpose of a csx package if the packaged binaries are not used? What does sitePhysicalDirectories do in a production Azure deployment?