Visual Studio

There are 9 entries for the tag Visual Studio

ReSharper 5.0 (Beta) for Visual Studio 2010

Being a C#:er the one and only refactoring tool for me is ReSharper by JetBrains. In fact I would go so far as to disclose that I held off on upgrading to Visual Studio 2010 because the early builds of this great refactoring tool were not very useful and didn’t really help me. With the 5.0 (Beta) version for VS 2010 the world has become much more stable and my brand new machine has only VS 2010 installed. No old and moldy VS 2008 for me! I’d like to draw attention to a new feature in ReSharper 5.0...

What’s new in Visual Studio 2010 and .NET Framework 4.0?

Here it is the definite resource: New Features in .NET Framework 4 and Visual Studio 2010, (Beta 2). That is if you have 8 hours to kill. Might certainly be worth the time. I’m looking forward to it. Cheers, Magnus Technorati Tags: Microsoft,Visual Studio,IDE,.NET Framework

At Tech-Ed Europe brains are exploding

Tech-Talks recorded today. One on an Open Source and very much enhanced Windows Azure Project Template and another one that turned out to be a lot more “what is MEF” than I initially anticipated? And at the event at large people are looking focused on learning just as we do at the beginning of a week. I am anticipating less and less strength for focus as the week progresses. So this week I am at Tech-Ed Europe attending as a speaker on the Architecture track. Here is a brief account of the first day so far. Today anyway, apart...

Visual Studio 2010 has an Excellent Install story

Uninstalling and installing Beta 1 and Beta 2 of Visual Studio 2010 was a breeze. No fear of dragons here! I remember the times when installations of just about anything could suddenly crash or hang. That dreaded rollback of an installation where you had to helplessly watch when the installation pulled itself back out of your machine still gives me the creeps. Yesterday I uninstalled Visual Studio 2010 Beta 1… and it was a snap. SNAP! Just to be sure I rebooted my machine. Don’t think I really would have needed to. Then I installed Visual...

Class Libraries do not work in Windows Azure using Visual Studio 2010

If you create a class library and add a reference to it from an Azure Web Role or Azure Worker Role you get an error. Here’s how to get around it. The problem is that the class library template for Visual Studio 2010 creates a .csproj file with too few configuration settings. In Visual Studio 2008 the default target platform is AnyCPU. In Visual Studio 2010 it’s x86 and the configuration for AnyCPU is not included. It seems to me this is an error in Visual Studio 2010 Beta 1. This is what a standard .csproj file excerpt...

Only the new version (10.0.0.0) of Microsoft Test Tools work in Visual Studio 2010

Tests fail when you reference the wrong version of Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll in Visual Studio 2010. I just tried to run a suite of tests in Visual Studio 2010 that had a reference to the 9.0.0.0 version of Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll. It turned out that the test runner that runs the tests did not want to recognize my version of the ExpectedExceptionAttribute and consequently failed my tests that expect exception. This is a thing to keep an eye out for since it appears to me it is a bug in the current build of Visual Studio 2010. There is no failing run or...

The Reason for the different test settings in Visual Studio 2010

There are different test settings for debugging tests and running code coverage and the like in Visual Studio 2010. When you want to run code coverage you cannot Yesterday I blogged Make sure you edit the same test settings that you use in Visual Studio 2010. I couldn’t figure out why there were two default sets of test settings in Visual Studio 2010; “Local” and “Trace and Test Impact”? Now I know better. After my debacle with the different test settings I promptly deleted the “Trace and Test Impact” settings and kept only the “Local” settings....

Make sure you edit the same test settings that you use in Visual Studio 2010

I will show below hot to enable Code Coverage in Visual Studio 2010, how to view the results and also how to avoid a strange pitfall that I myself fell into. Just spent the better part of an hour trying to figure out how to get the code coverage results in Visual Studio 2010. Eventually I found out that there was no problem at all. The issue was that I had edited one set of test settings and ran my tests on another set of test settings. Update: I solved this issue and the reason for there being...

Generate From Usage in Visual Studio 2010

The new Visual Studio 2010 IDE now support a bunch of new code generation features under the umbrella name of Generate From Usage. It is good to see that Microsoft is taking steps in the direction of including very useful features like this in the IDE for all developers to use. Note: This is a matter of carefully selecting which raisins to pick from the cake of very many features like this that third party IDE refactoring tool vendors have been supporting for a long time. I see nothing wrong with this. It is a symbiotic relationship Microsoft has...