Monday, March 09, 2009

Silverlight Project: Requested Registry Access is not allowed

After installing the Silverlight Tools for Visual Studio 2008 SP1 and trying to create a new project in Visual Studio 2008 - I was getting the error, "Requested registry access is not allowed". Doing a little Goooogling I came across this post - basically giving 'Admin' permission to all keys. Seemed a little too extensive. Later in the post is the minimal required to get the Silverlight project to work. I've included the .BAT/ZIP here. As per the instructions:

1) Download and install: SubInACL a command-line tool from Microsoft.
2) Download the SilverLight Project .BAT/ZIP fix file for changing the registry entries here OR copy/paste from here.
3) Unzip and run the batch file.

Labels: ,

Thursday, March 05, 2009

Everytime I would add some sort of 'add-in' to VisualStudio 2008 and then would try to get the properties of a project I would get the error, "Impossible to open Project Properties - COM object that has been separated from its underlying RCW cannot be used". Doing a little Goooogling reveals this page, and this where they basically explain that removing Resharper and the, "Microsoft Source Analysis Tool for C#" fixes the problem. For me I removed FXCop and installed the latest, StyleCop. FYI: Generic info re: StyleCop here.

Labels: , , , , ,

Wednesday, June 04, 2008

Learning Visual Studio

Learning Visual Studio.NET can be made a little easier when you have, "Cheat Sheets". Over at LearnVisualStudio.Net they posted some good getting started sheets:

ASP.NET Basics Cheat Sheet
C# 2005 Language Basics Cheat Sheet
Visual Basic 2005 Language Basics Cheat Sheet


More available on their site.

Labels:

Wednesday, April 09, 2008

Visual Studio: Performance Tools

After trying get Visual Studio 2008's performance tools to work, it kept reporting that the file, "VSPerfDrv90 is not installed" I finally found a solution. It turns out on the DVD there's a seperate installer called, "vs_profiler.exe". Installing this resolves the problem(s).

From the [root] start of the DVD, there's a folder called, "Standalone Profiler" then choose your, "x64" or "x86" directory according to your machine. Inside there you will find the, "vs_profiler.exe".

Labels: ,

Sunday, April 15, 2007

Dispatch

One of the missing features of Visual Studio 2005 is the ability to take a project and deploy it to a ftp-site. I had created some scripts in the past to do this and they worked pretty well but they required several other pieces of software to be installed and they were very fragile. Now along comes Dispatch. Currently in beta this is a plug-in for Visual Studio that simplifies the whole process. With almost point and click ease of use one can now deploy their VS solution. One feature I wish they had is the ability to support a dev-staging-release setup that many web-sites have but hopefully this will be in the final version. Please check it out.

Labels: ,