visual-studio-2010

Visual studio 2010 crashes when designing datasets

I am working on a project with approx 75 strongly typed datasets that was upgraded from VS 2008 (which was previously upgraded from VS 2005). Visual studio crashes often while editing these datasets. Has anyone else seen this issue? Is there a workaround of any sort? ...

Problems upgrading VB.Net 2008 project into VS2010

Hi there, I have been upgrading several different VS2008 projects into VS2010 and have found a problem with VB.Net projects when they are converted. Once converted, the .vbproj files have changed from this in VS2008: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> ...

SQL Server schema comparison - leaves behind obsolete files on synchronization

Directly related to http://stackoverflow.com/questions/2768489/visual-studio-2010-database-project-is-there-a-visual-way/2772205#2772205 I have a problem synchronizing between database project and a database in Visual Studio. Usually I synchronize FROM database TO database project (using the Visual Studio > data > scheme compare > new ...

Send mail using msbuild

Hi Guys, I have been trying to find out if MSbuild can send an email to the developers just like NANT. I don't see any option in mSbuild. ...

TF203015 The Item $/path/file has an incompatible pending change. While trying to unshelve.

I'm using Visual Studio 2010 Pro against Team Server 2010 and I had my project opened (apparently) as a solution from the repo, but I should've opened it as "web site". I found this out during compile, so I went to shelve my new changes and deleted the project from my local disk, then opened the project again from source (this time as we...

VSLauncher starts wrong version

I have 3 versions of Visual Studio installed, and 3 projects that require a specific version. VSLauncher USED to look at the SLN or VCPROJ file and open the correct version of Visual Studio. Now it only starts the most recent version, regardless of the project. Note that this has nothing to do with the commonly reported problem with be...

Ways to access a 32bit DLL from a 64bit exe

I have a project that must be compiled and run in 64 bit mode. Unfortunately, I am required to call upon a DLL that is only available in 32 bit mode, so there's no way I can house everything in a 1 Visual Studio project. I am working to find the best way to wrap the 32 bit DLL in its own exe/service and issue remote (although on the same...

ErrorListProvider in VS2010 throws InvalidOperationException about IVsTaskList

I'm trying to hook into the ErrorListProvider in VS2010 to provide some more feedback from my VS2010 extension addin. The code is as follows: try { ErrorListProvider errorProvider = new ErrorListProvider(ServiceProvider); ErrorTask error = new ErrorTask(); error.Category = TaskCategory...

wcf 4 netTcpBinding

I was seting up a wcf 4 service today with netTcpBinding, and I just couldn't get it to work. It was of course no problem getting basdicHttpBinding to work since little config is needed in WCF 4. I started wondering if it is even possible to get netTcpBinding working when debbuging through VS10. I'm hosting my service in a svc-fil...

Visual Studio 2010 Can no longer build .NET v3.5

I have a 2010 project that is targeting .NET v3.5. Inexplicably I can no longer build v3.5 projects. The project doesn't have ANY references added. It won't even let me add a reference to System.Core as it is added by the 'build system'. warning CS1685: The predefined type 'System.Func' is defined in multiple assemblies in the glo...

Using ReSharper 5.0 in VS 2010 web application project with Telerik controls

When using "Cleanup Code" function in ReSharper 5.0, code cleanup removes the aspx page line: <%@ Register Assembly="Telerik.Web.UI" TagPrefix="telerik" Namespace="Telerik.Web.UI" %> Seems like an issue within ReSharper 5.0. Anyone else having the same issue. Thanks ...

visual c++ 2010 link against older runtime?

Sorry if this has been asked. Just like I can select in C# project that I want it to build for .NET 2.0 runtime, is it possible for native c++ project to be built against older CRT, let's say one from visual studio 2005? I would like this because I have external SDK that was build with VS2005, but I'd like to use newer IDE. ...

No Source available

I am not sure what happened or if I did anything.. Now anytime I try and debug it says no source available on all BCL stuff For example, on a debug.print I get that message with Locating source for 'f:\dd\ndp\fx\src\CompMod\System\Diagnostics\Debug.cs'. Checksum: MD5 {40 74 18 44 a8 15 28 2e 54 75 5e 40 d1 5f 6a 0} The fi...

Including MSVRC100.dll in C++ exe

I created a simple C executable in Visual C++ 2010, but when others tried it they got a missing MSVCR100.dll error. Apparently, the user needs to install the Visual C++ Redistributable Package in order to run the exe. Is there any way I can instead include MSVCR100.dll inside the exe (so it's just one file, not sitting in the same folder...

Documenting (XML) Application Settings in Visual Studio 2010

Hi all, I recently created a (C#) project with Visual Studio (2010) and used some Settings (which I created under Properties). The only place I found where I can add some XML comments for my documentation, would be in Settings.Designer.cs. However this file is auto-generated so whenever I change the Settings, the comments are gone. Eve...

VS2010 Performance Profiling Problem (PRF0017: Can't launch server for ..)

I have 2 websites running my local IIS 7.5 One is a publicportal and the other one is a service website that is the application end of the publicportal There's no problem profiling the publicportal but when I add the application website as a profiling target it say's PRF0017: Can't launch server for 'http://localhost/adman/ I tried a...

VS 2010 Test Runner error "The agent process was stopped while the test was running."

In Visual Studio 2010, I have a number of unit tests. When I run multiple tests at one time using test lists, I sometimes reveive the following error for one or more of the tests: The agent process was stopped while the test was running. It is never the same test failing, and if I try to run the test again, it succeeds. I found ...

How to detach document windows from Visual Studio 2010?

I've got 2 displays with very different resolution (which makes just stretching a window over them not a good idea) and actively use both of them, usually looking at one when doing changes in another. So I wonder if I could move a child window of Visual Studio 2010 from within the boundaries of it's main window an move it to another di...

Visual Studio 2010 Visual Query Designers?

If I want to create a project in VS2010 that lets me use the VISUAL QUERY designer - just to run a bunch of scripts etc. What project type do I use? In the transition from DBP to DBPROJ, visual studio 2010 seem to have lost this ability! In <2010 you could just add a .sql and select, right click and design... ...

In Visual Studio 2010, can you auto-generate an eventhandler in the same way as C#, using Visual Basic?

For example, you can type this.Loaded += in C# and press TAB a couple of times to automatically generate an event handler. Is there an equivelent in Visual Basic? Typing Addhandler Me.Loaded and pressing TAB or RETURN does nothing. ...