Wednesday, April 20, 2011

Faster XAML editing in VS2010

If you are working with the XAML Editor in VS2010 you’ve maybe realized that it’s much better than with VS2008.

You can even be faster if you change the editor from default XAML Editor to “Source Code (Text) Editor”.

You not only have VS IntelliSense, XML collapsing and the XAML context menu support, also you have full ReSharper support!

How to change the default editor:

  1. Right-click on a XAML file in the Solution Explorer
  2. Select "Open With..."
  3. Select "Source Code (Text) Editor"
  4. Click on "Set as Default"
  5. Click OK
  6. You're done!


With SHIFT + F7 you can change from “Source Code (Text) Editor” to the default XAML editor with its split view, navigator, etc.


Thursday, April 7, 2011

TFS2010–Single Server Installation COM Error

After installing a new TFS2010 single server instance I had the following error in my event log:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
to the user VB-TFS2010\WSSSERVICE SID (S-1-5-21-1484069085-12520411-2351891930-1013) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

The problem was that SharePoint Administration Service was running under Local System Account. I realized I forgot to set the appropriate service account.

How to find out that the problem was coming from SharePoint?