Tagged: Visual Studio 2010

Nuget Package Manager update issues

Have you gotten this error when you were trying to install a nuget package (in my case NUnit) and it suggests that you upgrade NuGet to latest version.

My problem was when I tried to do this, I ended up getting error like the one shown below (I was using Visual Studio 2010 Premium)

Here are the steps to work around and get your NuGet upgraded.
1. Run Visual Studio 2010 as an Administrator
2. Use Tools > Extension Manager and Remove the existing Nuget Package Manager
3. This will restart the Visual Studio 2010, Close and start again as Administrator
4. Click on Online Gallery, Pick Nuget Package Manager and install
5. This will restart Visual Studio again, and you are good to go!!!


Cheers!

Web.Config changes in Visual Studio 2010

In Visual Studio 2010, when you add a new project, it hard not to notice couple of things about the web.config files.

1) Web.config file is clean and lean 🙂 (Read about this in Scott Gu’s blog here)
2) Web.config has 2 files attached to it, Web.Debug.config and Web.Release.config (see image).

Visual Studio 2010

Visual Studio 2010 - Solution Explorer

These are new features that I think that are very valuable for the deployment process, In the past I have used manual swaps a lot to manage environment specfic information in the web.config files. This new feature will let you create deployment environment specific (Dev, QA, UAT, Stage, Prod, etc.) Web.config files using simple to write transformations. You can find detailed information on how to do this in this article. (Link)

Happy Programming!

Cheers!

Visual Studio 2010 is here!

Visual Studio 2010 is launched today! I am planning to download it tonight from MSDN. I already uninstalled Beta 2 that I had installed in my laptop, dont expect it to be a fast download since every MS developer will be trying download it tonight..
Watch this space to learn about my experiments with new Visual Studio, .Net Framework 4.0 and all the goodies this edition will bring 🙂

Quick Update (04/15/10) : Successfully installed VS 2010 Ultimate, there was some small hick ups, but overall installation was smooth and painless. I was trying to mount ISO file using Microsoft’s Virtual CD Utility, but it took me some time to realize that it will not work with Vista. Downloaded Slysoft’s free Virtual Clone Drive and it did the trick for me. During the install, after it finished with the .Net Framework 4.0 install system needed a reboot, when it restarted installation gave an error (because ISO was mounted to a virtual drive I guess) and quit on me. I had to re-run setup.exe and it resumed installation with out much complaints.

Will post what I find new and exciting with this…
Cheers!

Visual Studio 2010 Beta1