I've just upgraded to VS2010 as I was running into problems with a Silverlight project that I needed to be built in 2.0 but I also needed other projects built in 3.0.
I read about VS2010's abili开发者_如何学编程ty to specify the Silverlight Target version and figured it was time to upgrade to solve my problem.
I've installed 2010 and have also installed the Silverlight 2 SDK, but when I open my Silverlight project, the only option available under Target Silverlight Version is Silverlight 3.
After googling for a bit, I found another Stack Overflow post that seemed to present a solution:
Target Silverlight Version is stuck
However, the particular solution is for adding Silverlight 4 to the dropdown; there doesn't seem to be a Silverlight 2 Tools for VS2010, and the Silverlight 2 Tools for VS2008 won't install because I haven't got VS2008 installed.
Can anyone shed any light on a possible solution for me?
Cheers, Anthony
Silverlight 2 development is not supported in VS2010. You need to use VS2008 for that. Luckily, 2008 and 2010 can be installed side-by-side with no problems.
精彩评论