none
Can't debug Azure apps with version 1.5

    Question

  • After upgrading to Azure 1.5, I can no longer debug Azure applications from Visual Studio 2010.  When I press F5, I get the following error:

    "Could not load file or assembly 'DevFabric.Contracts, Version=0.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

    I can run the application on the devfabric manually using csrun.  I just can't launch/debug from Visual Studio. It was working fine before I installed 1.5. I'm running Windows 7 64-bit.

     

    Friday, October 07, 2011 7:15 PM

Answers

  • Are you able to locate DevFabric.contracts.dll in your C:\program files\windows azure sdk\v1.5\bin\devfabric folder?

     

    If yes, can you try to move it to the C:\program files\windows azure sdk\v1.5\bin folder and see if that solves the problem?

    • Marked as answer by htopbj Tuesday, October 11, 2011 5:33 PM
    Tuesday, October 11, 2011 5:15 PM

All replies

  • I am getting the same problem
    Sunday, October 09, 2011 6:40 AM
  • I'm having this problem too. Anyone get any resolution to this issue?


    Pete Mourfield - www.mourfield.com
    Sunday, October 09, 2011 5:05 PM
  • I have not gotten any resolution.  I completely uninstalled and re-installed Azure 1.5 (all 3 applicable installs) and still get the same error.

    I can manually do everything F5 does (build package, start emulator, attach debugger to w3wp.exe).

    I just can't get F5 to work.

    • Proposed as answer by HOLDZHU Tuesday, October 11, 2011 5:40 PM
    Sunday, October 09, 2011 11:54 PM
  • Do you find a solution to your problem ?

     

    Thanks.

    • Edited by PMartos Tuesday, October 11, 2011 10:26 AM
    Tuesday, October 11, 2011 10:26 AM
  • Are you able to locate DevFabric.contracts.dll in your C:\program files\windows azure sdk\v1.5\bin\devfabric folder?

     

    If yes, can you try to move it to the C:\program files\windows azure sdk\v1.5\bin folder and see if that solves the problem?

    • Marked as answer by htopbj Tuesday, October 11, 2011 5:33 PM
    Tuesday, October 11, 2011 5:15 PM
  • This should ideally not occur on a fresh install of the SDK. I suspect something is wrong with install. If you can repro again, can you use the "fusion log viewer" (shipped with Visual Studio 2010) and post the assembly resolution log that it generates?
    Tuesday, October 11, 2011 9:44 PM
  • Thanks this was very helpful. I ended up having to copy a number of dll's from the devfabric folder to the bin folder.

    Thanks!

    Wednesday, October 12, 2011 12:15 PM