Pregunta

I am installing on Windows 8 OS Visual Studio 2010 express for Windows Phone with Async CTP for that I have installed Visual Studio 2010 express for Windows Phone as shown below: enter image description here

I am now installing Windows Phone SP1 from link http://www.microsoft.com/en-in/download/details.aspx?id=23691

But it is always giving me error as shown below: enter image description here

How should I use Async CTP. My goal is to use Async and Await in Windows Phone 7.1 application with Visual Studio 2010 and not in Visual Studio 2012?

¿Fue útil?

Solución

The Service Pack you try to install is not provided for Windows 8:

Supported Operating Systems: 
Windows 7, Windows Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 x64 editions, 
Windows Server 2003 Service Pack 2, Windows Server 2008 R2, 
Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2, 
Windows XP Service Pack 3.

The second bad news: "Using async/await without .NET Framework 4.5" http://blogs.msdn.com/b/bclteam/archive/2012/10/22/using-async-await-without-net-framework-4-5.aspx

In order to use await you need two components:

  • Visual Studio 2012
  • Some specific .NET APIs

Maybe you want to use VS Express 2012 or the trial Version of VS 2012: http://www.microsoft.com/visualstudio/eng/downloads#d-2012-editions instead of VS2010?

The new VS 2012 language and library features are available in Visual Studio Express 2012 for Windows Desktop, including the async and await keywords in Visual Basic and C#, C++ AMP, and improvements to C++ 11 Standards conformance.

You can use Express for Windows Desktop with your Visual Basic and C# applications to target both .NET 4.0 and 4.5.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top