Path too long error when building a windows azure service

后端 未结 7 1794
星月不相逢
星月不相逢 2020-12-04 19:42

I have been trying to publish my service to windows azure. The service consists of a single webRole, however I have added remote login functionality published it and built i

7条回答
  •  日久生厌
    2020-12-04 20:05

    I ran into the same problem with a new solution.

    Note that, unlike Eugenio Pace's response suggests, the error occurs only when deploying to Azure (and not when running the project in the Azure Compute Emulator).

    Try adding the following line to the first property group of your Windows Azure Visual Studio Project file (*.ccproj):

    C:\Azure\
    

    The trailing slash (for whatever path you select) appears to be required. This folder will be deleted each time you create a package if it exists.

    This setting seems to redirect the working folder for the package to a shorter base path, preventing the path too long error.

    Credit goes to: http://govada.blogspot.com/2011/12/windows-azure-package-build-error.html

提交回复
热议问题