We recently released Visual Studio 2010 SP1 Beta and SharePoint developers will be excited to know there are some great features that are now available to them. As part of VS 2010 SP1 SharePoint developers can now take advantage of IntelliTrace as well as create unit tests that use SharePoint API’s.
With 64-bit support now enabled in IntelliTrace, you can use IntelliTrace in your SharePoint farm solutions. You can set a break-point in your code or break execution and then view the IntelliTrace data. You can also collect IntelliTrace data and save the .itrace log file for viewing at a later time. Check out Justin Marks great article on IntelliTrace in VS2010.
For those SharePoint developers that create unit tests, you can now create and execute unit tests for your SharePoint 2010 solutions if they use SharePoint API’s. In order to execute these unit tests you first need to deploy your SharePoint solution to your local developer machine. After that, you can execute the unit tests as you would normally.
We’ll have another blog post by the end of the month detailing how you can use IntelliTrace and unit testing in SharePoint farm solutions.
Please install Visual Studio 2010 SP1 Beta, try these new features, and let us know what you think.
-Saaid Khan (MSFT)