Silverlight 4 Unit Testing

I installed the Silverlight 4 Toolkit in April 2010 and received RTM RT 2010, but the Silverlight 4 Unit Test project template was not installed.

Is this the default for this version? If so, how can I use SL4 module testing?

Thank.

+5
source share
2 answers

Solution: The Silverlight 4 Toolkit installer placed the element templates and project templates for the Silverlight Unit Test in c: / program files / microsoft visual studio 10.0 / common7 / ide, regardless of the actual installation root of VS2010.

, VS2010 c:/program/microsoft visual studio 10.0/..., SL4.

:

1) Copy the corresponding .zip files 
   from c:\program files\...\common7\ide\... 
   to ?your installpath?\common7\ide\...

   Silverlight Unit Test Framework has templates for CSharp and VisualBasic.

   For example :
   common7\ide\itemtemplates\CSharp\silverlight\1033\Silverlight Unit Test Class.zip
   common7\ide\projecttemplates\CSharp\silverlight\1033\Silverlight Unit Test Project.zip

2) Use the VS command prompt to install the templates with the command :
   devenv /installvstemplates

, VS2010, Silverlight Unit Test "Lang?/Silverlight" " ".

, ,

+4

Silverlight 4 Tools? RTM VS 2010.

: -

Silverlight Unit Test

+1

All Articles