Questions tagged [visual-studio-2012]

Visual Studio 2012 is a version of Microsoft's Visual Studio. Do not use this tag unless you have a specific question about Visual Studio -- not just a coding issue.

Visual Studio 2012 is the version that follows in the Visual Studio product line, and was released 2012-Aug-15. During the development stage, it was referred to as Visual Studio 11 in public communications and beta builds. A newer version of known as Visual Studio 2013 was released in October of 2013.

It comes together with version 4.5 of the .NET Framework and is available in five no-free versions:

  • Ultimate with MSDN
  • Premium with MSDN
  • Test Professional with MSDN
  • Professional with MSDN
  • Professional

What's new in Visual Studio 2012

  • A new look and feel
  • Ready for Windows 8
  • Web development upgraded
  • Cloud capable
  • Flexible agile processes, solid ALM (application lifecycle management)
  • Support for .NET 4.5
  • Windows 8 application development
  • Windows Phone app development

More information:

22960 questions
10
votes
2 answers

Error with specflow in visual studio 2012 with

I am using selenium, Specflow and nUnit to run automated tests with visual studio. The code was working with visual studio 2010. After I installed visual studio 2012, selenium and Specflow again (I think I did it right), it stopped working. First,…
JoleG
  • 101
  • 1
  • 1
  • 4
10
votes
3 answers

The Web Server Could Not Find the Requested Resource visual studio debugging

Issue I have a .net 4.0 Web Application running in visual studio 2012, every time I go to debug the site i'm receiving the following error: The Web Server Could Not Find the Requested Resource What I've tried I've followed microsoft's website…
10
votes
1 answer

how to import Git project to TFS Cloud

I visited our Team Foundation Service page and found a great new feature: New Team Project + Git This is great news. We have Projects in Team Foundation Service AND Git. Not as much because I love Git. I was very impressed with it's functionality,…
Dave Alperovich
  • 32,320
  • 8
  • 79
  • 101
10
votes
1 answer

Compiling libffi with VS2012 fails with fatal error LNK1281: Unable to generate SAFESEH image

Compiling libffi with VS11 gives the following linker error libffi\libffi-3.0.9\ms\Win32\Debug\ffi.dll : fatal error LNK1281: Unable to generate SAFESEH image. The same project was compiling fine with VS10, but after an auto upgrade with VS2012, it…
Abhijit
  • 62,056
  • 18
  • 131
  • 204
10
votes
2 answers

std::isfinite on MSVC

The C++11 and C11 standard define the std::isfinite function. Visual Studio 2012 doesn't seem to provide it as part of the cmath or math.h, but has amp_math.h which seems to provide this function. Is the isfinite interchangeable with std::isfinite?…
pmr
  • 58,701
  • 10
  • 113
  • 156
10
votes
1 answer

VS2012, C++11 and memory leak detection (VLD vs CRTDBG)

I had a bunch of memory leaks detected with CRTDBG but found them difficult to trace so installed Visual Leak Detection. This showed a consistent number of leaks which I traced to abstract classes not having virtual destructors. I fixed this and VLD…
Rajveer
  • 847
  • 11
  • 28
10
votes
5 answers

Can't debug Visual Studio addin

Question says it all. I'm trying to write a Visual Studio addin (2012), and the experimental instance always launches without running anything in the addin. No breakpoints are hit in the main instance, nor does the addin get loaded by the…
gzak
  • 3,908
  • 6
  • 33
  • 56
10
votes
11 answers

Unable to start debugging - Visual Studio 2012

"Unable to start debugging 'C:\Windows\System32\WWAHost.exe'. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the…
Chaithanya
  • 608
  • 1
  • 8
  • 29
10
votes
6 answers

WebDeploy with MSBuild Not Deploying from TeamCity

I am trying to use MSDeploy to deploy an MVC project to the server using TeamCity. When I do this on my computer in powershell, using the following command: msbuild.exe .\mvc.csproj /p:PublishProfile=DevServer…
Yaakov Ellis
  • 40,752
  • 27
  • 129
  • 174
10
votes
2 answers

How use Transaction in EntityFramework 5?

I want to trancate some table same time. If one not success, must be all rolback. Something like that: ctx.Database.ExecuteSqlCommand("truncate table tb_expensesall"); ctx.Database.ExecuteSqlCommand("truncate table…
qakmak
  • 1,287
  • 9
  • 31
  • 62
10
votes
5 answers

Release Application looking for MSVCR110d.dll

I've built a c++ application with Visual Studio 2012. I've tried to get it to run on another machine without VS2012 installed but it will not run. It keeps looking for msvcr110d.dll (not msvcr110.dll), I have built the application in release mode,…
GCSM
  • 103
  • 1
  • 1
  • 4
10
votes
4 answers

Visual Studio 2012 How to debug "Unable to add reference to project x" error?

In Visual Studio 2012 in a blank new Class Library I am trying to add reference to an existing project in the solution, also a Class Library, MonoGame.Framework.Windows8 (https://github.com/mono/MonoGame), but get the error: Unable to add reference…
markmnl
  • 11,116
  • 8
  • 73
  • 109
10
votes
2 answers

XAML syntax error is blocking designer but compiling fine

I've run into a rather bizarre thing happening, I have a DataGrid defined in a WPF XMAL page that has the following declared:
siva.k
  • 1,344
  • 14
  • 24
10
votes
1 answer

Visual Studio Hangs on Loading UI Library

I'm stumped and I'm considering formatting my hard disk and starting fresh. I thought I'd try this as a last-ditch effort. When I open Visual Studio 2012 (not a solution, just VS itself), it usually hangs for minutes. This past time (see XML below)…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
10
votes
2 answers

Project creation failed (InstallShield in vs2012)

I can not create a setup project in visual studio 2012 profissional (enable installshield limited edition) I get the following error: ".. project creation failed" and no more detail already checked the folder permissions and have reseted the…
J. Lennon
  • 3,311
  • 4
  • 33
  • 64