webinars blog downloads register login
Home Porting Products News Support About Us
Ice Tea Group Blog
Stay informed about the worldwide migration from
Team Developer to .NET. Don't get left behind.. again!


Thomas Althammer posted on February 24, 2012 10:00

Many tasks in Visual Studio can be accomplished using standard security settings. To open a solution with Visual Studio 2010 SP1, just double-click the .sln solution file. There are a number of situations where you may want VS to run as an administrator, for example when your .NET objects are being registered as COM components. ActiveX registrations only work in elevated mode.

There is an easy solution for running VS always as an administrator, I thought. Just change the file properties and off you go. Well... to keep it short and ignore a couple of hours I spent on this - it didn't work and the solution to this turns out to be much more complicated.

The reason for this is the Visual Studio version selector, a little tool that is run each time you try to open a .sln file. It inspects the .sln file to find out which version of Visual Studio is to be started if you have several versions installed in parallel on your machine.

Fabian from www.re-motion.org wrote a good blog article about this and explains how to fix this problem. I'd like to share this with you as I am sure it will be of help:



Actions: E-mail | Permalink |

Our Mission

We help developers stay competitive and
organizations preserve and increase the value of their
software investment.

©Ice Tea Group LLC. All Rights Reserved