I’ve installed Silverlight 4 Toolkit April 2010 and have VS 2010 RTM but Silverlight 4 Unit Test Project template is not installed.
Is it by default for this release? If so, how can I use SL4 unit testing?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Solution:
The Silverlight 4 Toolkit installer placed the item templates and project templates for the SilverLight Unit Test
in c:/program files/microsoft visual studio 10.0/common7/ide, regardless of your actual VS2010 install root.
The upshot is that if your VS2010 installation did not use the default c:/program files/microsoft visual studio 10.0/…,
the project and item templates would be in the wrong place after the SL4 install.
The fix would be :
Now, when you open a New Project in VS2010, you should see the “Silverlight Unit Test application” in
the ?Lang?/Silverlight tab of the “Installed Templates” section.
Hope this helps,