visual-studio-2010

How to use Boost in Visual Studio 2010

What is a good step by step explanation on how to use BOOST in an empty project in Visual Studio 2010. ...

ProFont not showing in Visual Studio 2010

My favorite coding font, ProFont, does not show up in the list of fonts in Visual Studio 2010. Shows up fine in VS 2008 on the same box. Any ideas? I'm using Windows 7 with Visual Studio 2010 Premium. ...

No middle-click scrolling in visual studio 2010?

Just as I started to assume this feature was ubiquitous(middle-clicking on a page, then scrolling speed/direction is relative to the distance of the pointer on the y-axis). I can't believe this hasn't been implemented into the text editor in vs2010, I used it all the time in 2005 and 2008. Has anyone managed to find a workaround or am ...

ASP.NET 1.0 site error after upgrade to VS.NET 2010

Help. I installed VS.NET 2010 and now my existing ASP.NET MVC application won't run. I checked that the 1.0 version of System.Web.Mvc is still referenced but when I browse my application, I get an error like this: "Compiler Error Message: CS1579: foreach statement cannot operate on variables of type 'object' because 'object' does not c...

Differences between Visual Studio 2010 RC and RTM

I have been using the RC version of VS2010 for a while now. I wanted to know if anyone has a summary of what changed between the RC version and RTM? I just loaded the RTM and noticed some small things different. I searched around but can't find anything around about it. If there is nothing out there that lists these differences, can w...

Unable to debug XBAP with Visual Studio 2010

Just migrated my project to Visual Studio 2010, but target framework was left 3.5. Project contains an XBAP app in partial trust and a bunch of WCF services. Debugging is configured to start PresentationHost.exe with -debug and -debugSecurityZoneUrl parameters. Under VS2008 everything works fine, and in VS2010 Beta2 (don't sure about R...

Visual Studio 2010 RTM is not publishing with ClickOnce

Is anyone using ClickOnce with VS2010? I’m getting the following on publish, when the solution builds fine ... Building WindowsFormsApplication1... Error: Cannot publish because a project failed to build. Have tried everything, new clean project (both windforms and WPF), new temporary key, disabled pre-requisites and played with e...

VS2010 converted project invalid reference

Opening a .Net 2 project in VS2010 it converts the project without any issues BUT when I attempt to build it fails. The reason is that in VS2005 a reference was added to System.Web.Extensions which is a .Net 3.5 assembly. Now VS2005 never complained at this and quite happily worked but VS2010 is far more strict and won't allow it. I'v...

Visual Studio: What happened to the "Break when an exception is unhandled" option?

Hi, As far as I remember, Visual Studio (both 2008 and 2010) used to have an option to break either on thrown exceptions or on unhandled exceptions. Now when I bring up the Exceptions dialog (Ctr+Alt+E), it just offers to break when an exception is thrown: http://screencast.com/t/NDk3NDYxZD I've tried resizing to the columns in that d...

How can I make the intellisense window larger?

In VS2008 it was possible to drag the corner to enlarge the window to see more methods, are there any hidden settings in VS2010 to make this window larger? I tried to post an image but it appears I need more rep. ...

How good idea is it to use code contracts in Visual Studio 2010 Professional (ie. no static checking) for class libraries?

I create class libraries, some which are used by others around the world, and now that I'm starting to use Visual Studio 2010 I'm wondering how good idea it is for me to switch to using code contracts, instead of regular old-style if-statements. ie. instead of this: if (fileName == null) throw new ArgumentNullException("fileName");...

Visual studio 2010 MVC 2 (2008 project imported) - publish fails - System.Web.Routing.RouteValueDictionary exists in both

Error 7 The type 'System.Web.Routing.RouteValueDictionary' exists in both 'c:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll' and 'c:\WINNT\assembly\GAC_MSIL\System.Web.Routing\3.5.0.0__31bf3856ad364e35\System.Web.Routing.dll' c:\Projects\VS\solutionfolder\projectfolder\Views\group\Lis...

Source Control icons have disappeared in Visual Studio 2010

Today I installed Visual Studio 2010 Ultimate - RTM. One item that I noticed that is different is that files listed in the Solution Explorer window not longer display the source control icons beside each file (the lock, unlocked, plus sign for new files, etc.). Is there a setting that I am overlooking to display these icons? I have se...

Connect Visual Studio 2010 Professional to TFS

Is it possible to connect Visual Studio 2010 Professional edition to TFS (project hosted on Codeplex)? This states, it is not included in Professional edition: http://www.microsoft.com/visualstudio/en-us/products However, for VS 2008, there was separate download of Team Explorer and it was posible also for Professional version. Is thi...

Trouble upgrading to .NET 4 with VS2008. What am I missing?

I downloaded the .NET 4 framework from Microsoft here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en I installed and rebooted. When I go to compile options --> target framework... .NET 4 isn't on the list. Is .net 4 not compatible with VS2008? It would be nice if M...

Coexisting installation of visual studio 2010 &2008

Hi, I currently have MVS2008 and I want to try the 2010 version hoping that it would compile C programs faster. I would like to know if I can have a 2008 installation coexisting with a 2010 installation on the same Windows partition, without conflicts in the Windows environment variables in Win XP. Thanks a lot... ...

Where is EntityConfiguration in EF4 VS 2010 RTM?

I cannot find EntityConfiguration. The same question for RC was here but I thought that it would make it to the RTM version. Is it there? ...

VS2010 Clean Web.configs - not updating

Hello, I'm messing around with MVC 2.0 on VS2010 and am having an issue getting the clean web config feature working. Basically in my Web.debug.config I have <connectionStrings xdt:Transform="Replace"> <add name="ApplicationServices" connectionString="Server=localhost;Database=SITE_DB;User ID=dbuser;Password=P@ssw0rd;Trusted_C...

Can I use Visual Studio's testing facilities in native code?

Is it possible to use Visual Studio's testing system with native code? I have no objection to recompiling the code itself under C++/CLI if it's possible the code can be recompiled without changes -- but the production code shipped has to be native code. The Premium Edition comes with code coverage support which I might be able to get ch...

Fluent NHib causing visual studio 2010 hanging at runtime

Just installed and migrated a 2008 solution on Vista ultimate 64 and .net 4.0. Everything builds and tests run surprisingly well but I got the hang description below while trying to run the app under SQLite. It turns out that the hang has got something to do when the call is made for FNH to build the session factory during a run, the on...