CloudServices21 : Cannot find directory named '.' with Azure tools 1.7

Odpovědět CloudServices21 : Cannot find directory named '.' with Azure tools 1.7

  • 9. srpna 2012 14:06
     
     

    Hi,

    I am trying to setup Continious Delivery according to:

    http://www.windowsazure.com/en-us/develop/net/common-tasks/continuous-delivery/#step3

    When I test my build at the last task of step 3 I get the below error. I cannot find a lot on this especially not with the 1.7 version of tools. I did install the Azure SDK on the build server.

    Any help is greatly appreciated!

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.7\Microsoft.WindowsAzure.targets (2814): CloudServices21 : Cannot find directory named '.'

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.7\Microsoft.WindowsAzure.targets (2814): The network name cannot be found.



Všechny reakce

  • 9. srpna 2012 16:05
     
     

    it seems there is a problem with your setup. It is looking for a target directory which cannot be found. Check if your publish directory is accessible to the account on which you are running the build.



    Please mark the replies as Answered if they help and Vote if you found them helpful.

  • 10. srpna 2012 3:49
    Moderátor
     
     Odpovědět

    Hi,

    If you add <PackageForComputeEmulator>true</PackageForComputeEmulator> in your Could project's default .ccproj and use msbuild to build this .ccproj you should be able to get the csx folder and contents after the build is done. Please try to run:

    msbuild Replace_with_pathOftheCcprojFile

    Before executing your custom scripts to see whether it works.

    The work to create .csx is done by the CsPackForDevFabric target, which is defined in the Microsoft.WindowsAzure.targets (under C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.6), which is imported by the .ccproj:

    <Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" />

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

  • 13. srpna 2012 12:04
     
     
    check the azure sdk in server it should be 1.7