This is a migrated thread and some comments may be shown as answers.

VS 2012 async keyword

3 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Graham
Top achievements
Rank 2
Graham asked on 12 Aug 2014, 04:50 AM
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?

3 Answers, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 14 Aug 2014, 04:39 PM
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.

 
0
Graham
Top achievements
Rank 2
answered on 15 Aug 2014, 02:35 AM
Hi,

I'm using VisualStudio 2012 for developing Silverlight 5.

Do I have to setup something to get the async working?
0
Svetlozar
Telerik team
answered on 15 Aug 2014, 01:37 PM
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.

 
Tags
General Discussions
Asked by
Graham
Top achievements
Rank 2
Answers by
Svetlozar
Telerik team
Graham
Top achievements
Rank 2
Share this question
or