locked
Trouble getting Async CTP samples to compile. RRS feed

  • Question

  • Like some others, I keep getting the error "Cannot find Task-related types. Are you missing a reference to 'AsyncCtpLibrary.dll'?" I have checked and made sure the assembly is referenced correctly in the sample projects (by removing and re-adding) and still the problem occurs.

    I have checked the post at http://blogs.msdn.com/b/lucian/archive/2011/04/13/async-ctp-refresh-installation.aspx and have discovered some discrepancies in my versions:

    csc.exe and vbc.exe are the correct versions, but msvbide.dll is version 10.0.40219.15, and AsyncCTPLibrary_Phone.dll is not present.

    I think this may be due to the fact that I had a previous version of the CTP installed ("Microsoft Visual Studio Async CTP" in the Installed Updates list).

    However I am *unable* to uninstall this. When I try, it sometimes appears to work, but when I refresh the list, it is still there, and trying again to uninstall produces the error "The patch is not applied to this product."

    I have uninstalled and reinstalled the latest CTP, but to no avail.

    Any help would be greatly appreciated. I'm really excited to learn about these new async features as they sound great!

    Thanks in advance.





    Wednesday, August 10, 2011 11:48 PM

Answers

All replies

  • I received the same error after installing the .NET 4 updates (320) posted Aug-9. I had to uninstall new .NET 4 updates, SP1, VS, and async CTP SP1 refresh. I then reinstalled all starting with the .NET 4 319 full install.

    Mike

    Friday, August 12, 2011 3:25 PM
  • I'll have to get back to you on that. It's gonna take some time to do all this.
    Saturday, August 13, 2011 7:07 PM
  • Hi,

    I also have problem compiling the new async samples of SP1 refresh.

    The only solution I've found on the forum and web is to uninstall anything and everything related to VS and reinstall it.

    Is that really the only solution?

    Isn't all I really need is to get the updated csc (and vbc) files?

     

    Thank you,

    Ido.

    Saturday, September 24, 2011 9:16 AM