So your company decided to roll out Visual Studio 2008, but you have only .NET 2.0 based applications. This is perfectly fine because of the great new Multi-targeting feature in VS 2008 that lets you target the 2.0, 3.0 or 3.5 Frameworks for each project; however, the company directive has been that you’ll be updating the applications to 3.5 on an as needed basis, or only when there are changes to the project.
This might seem more like a “Visual Studio Tip of the Day”, but today’s .NET Nugget is focusing on the Regular Expression option for the Find/Replace feature in Visual Studio. Sara even mentioned this way back on tip #75 (she’s on # 172 now). I ran into a situation the other day where this helped out a great deal and I thought I’d share.
NOTE: If you think find/replace functionality isn’t that interesting, at least skip to the final paragraph to read the real point behind this post.
Levy pointed me to this article about some power toys for dealing with running UAC and getting your elevated privileges when you need them.
Included are:
elevate - used on command line and run-as dialog. Ex. - elevate notepad.exe Run As Administrator for WSH scripts, PS1 scripts, & HTML Application context menus. Cmd & PowerShell prompt here as Administrator I think I’ll add the elevate and prompt here power toys.