Link to home
Start Free TrialLog in
Avatar of LuisCGil
LuisCGilFlag for United States of America

asked on

Error Trying to Test Async CTP in Silverligth in a Visual Studio Test Project

I am trying to Test Async CTP calls from a Visual Studio Test Project and I get the following Compilation error:

Task-related types not found. Are you missing a reference to AsyncCtpLibrary.dll?

I already have a reference to the AsyncCtpLibrary_Silverlight.dll and to System.Threading.Tasks. I am not allowed to add the AsyncCtpLibrary.dll as a reference.

The error appears in methods with the Async keyword, not only in the test code but also in classes that are part of a DLL that is being tested. The DLL compiles OK when not in a Test project.

Do you know of any way to solve this problem?
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

See if deleting the suo file (hidden in solution folder) works

http://social.msdn.microsoft.com/Forums/pl-PL/async/thread/2fbb91bf-4016-43a8-b6e8-00a788f6e552
ASKER CERTIFIED SOLUTION
Avatar of LuisCGil
LuisCGil
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LuisCGil

ASKER

It Worked.