VS 2012 async keyword

4 posts, 0 answers
  1. Graham
    Graham avatar
    6 posts
    Member since:
    Oct 2008

    Posted 11 Aug 2014 Link to this post

    Hi,

    I'm using the Telerik JustCode Q3 2012 SP1

    And the async keyword is not detected by JustCode. Isn't async already supported for this version?
  2. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 14 Aug 2014 Link to this post

    Hello,

    Thank you for your feedback!

    JustCode supports async in 2012-11-29 Q3 SP1 if your project targets .NET 4.5 or if you use VisualStudio 2012. For .NET 4.0 projects in VisualStudio 2010 we try to "guess" if you have the async feature enabled by checking if the project has a reference to AsyncCtpLibrary.

    Could you please give us more information about your project and which version of VisualStudio you have? 

    Regards,
    Svetlozar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Graham
    Graham avatar
    6 posts
    Member since:
    Oct 2008

    Posted 14 Aug 2014 Link to this post

    Hi,

    I'm using VisualStudio 2012 for developing Silverlight 5.

    Do I have to setup something to get the async working?
  5. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 15 Aug 2014 Link to this post

    Hello,

    Q3 2012 SP1 has a bug at the way we check if the async feature is available. You can workaround it if you create an empty Silverlight class library called AsyncCtpLibrary and then add an assembly reference to it from the Silverlight project. That way you should have the async feature enabled. You project needs to have an assembly reference to AsyncCtpLibrary.

    Please note that the class library should not be part of the solution as it needs to be an assembly reference, not a project reference.

    Please, feel free to give our latest version a try and let us know if you have any feedback!

    Regards,
    Svetlozar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top