I have come accross following situation:
I had MSVC 2012 express and pro edition in my windows 8 machine. My application build and run was working fine. Now I have installed MSVC 2010 express edition. My application build works. However it crashes duing run.
I had MSVC 2010 express and pro edition in my windows 7 machine. My application build and run was working fine. Now I have installed MSVC 2012 express edition. My application build works. However it crashes duing run.
I am using qt 5.0.2 64 and 32 bit creator to build and run my application.
My question is whether MSVC 2010 and MSVC 2012 are not works together in a single machine?
Will they replace older version exe/dlls or will they conflict each other?
Is there any solution/fix without removing MSVC 2010 and MSVC 2012?
The order of installation is important - you can use VS2010 and VS2012 together (I do) but you must install VS2010 first.
Simply reinstall VS2012 and you should be ok, although you may need to use the Windows SDK registration utility after installing VS2012 to make sure that VS2010 is directed to the Windows 7 SDK.
Related
Is there any issues in having VS2008 and VS2012 side by side?
I usually work on VS2012, but now there is a task that requires me to build a solution in VS2008! Before I install VS2008 where VS2012 is already installed I Just want to ensure that this does not cause issues in my Dev env.
I haven't tried installing VS 2008 after VS 2012 but on one of my machines I did it in a more typical way: first VS 2008 then VS 2010 and then VS 2012 (all 3 side-by-side) and it worked OK for me. So I'd expect that worst you might have to do is to re-install VS 2012 afterwards again.
I excitedly installed Visual Studio Express 2012 for Windows Desktop on my fresh Windows 8 installation a couple days ago. I opened it and quickly found, to my dismay, that there is no native support for a C++ Windows Forms Application.
This is the correct guide that worked for me.
http://www.gamedev.net/blog/909/entry-2254695-native-only-apps-with-vs-express-
for-win8/
It is a hack and it's not the "proper" experience you'd expect or be used to.
I'd recommend getting 2010 express
Looking into more it seems like MS has a Visual studio 2012 for desktop for windows 8
http://blogs.msdn.com/b/visualstudio/archive/2012/06/08/visual-studio-express-2012-for-windows-desktop.aspx
I am trying to execute a C# program on Windows XP (SP3) which references a managed C++ DLL compiled with VS2012. When compiling the C++ DLL, I have set the Platform Toolset to build to Windows XP (using the v110_xp option) and set minimum required version to 5.01 in linker options, and I already installed Visual C++ 2012 Redistributable Package on the Windows XP machine. But it didn't work.
Any idea on this?
As you mentioned Platform Toolset and v110_xp option, I'd risk assuming the question is about an unmanaged C++ DLL. Anyway, try compiling your DLL with the original VS 2012 distribution (no updates) and see if it works. I dealt with a similar issue caused by VS 2012 Update 2, which is described here. You could test each of your dependency DLLs (including VC++ redistributables) with DependencyWalker, to check if any of them is using a Win32 API not implemented by Windows XP. Just do it under XP itself.
I wrote an application with Visual Studio EXPRESS 2012 on a Windows 7 PC for research purposes. Now I want to run it on another PC (with Windows 8), which will be used by a medical group. Now my question is: HOW?
InstallShield LE doesn't work on Express... I tried to install Visual studio Express 2012 on the other PC (obviously the win8 version) using absolutely the SAME version number: 11.0.60610.01 Update 3; but it gives me an error importing the project and says that my project is "not compatible". What should I do?
As Wix cannot integrate directly into Visual Studio Express, you can install the Visual Studio Isolated Shell Environment along side the express edition.
Or you can use a stand alone Wix IDE like WixEdit to author the installer. I suspect that you've downloaded the wrong Visual Studio Express version.
The Visual Studio Express 2012 for Windows 8 is meant to build Windows 8 Store Apps, you probably need the Visual Studio Express 2012 for Desktop Applications version instead, even when building on Windows 8, the name is a bit confusing, I agree.
See also: https://stackoverflow.com/a/14676758/736079
I'm using Visual Studio Professional 2012 (with Update 2) and since I have a project that needs to be built with the VC++ 2010 toolset I also installed Visual C++ 2010 Express (with SP1).
I use the newer 2012 IDE also for the older projects. So for these projects I set the Platform Toolset to v100. And when I also set the runtime library to /MT or /MTd I get the following error:
error LNK1127: library is corrupt
for libcpmt.lib or libcpmtd.lib, depending on the configuration.
What could be wrong here?
Installation history:
VS2012 Professional
Windows 7 SDK
Uninstalled VS2012 and Windows SDK
VC++ 2010 Express
VS2012 Professional
If I understood correctly, you installed VS2010 after installing VS2012? If not, please edit your question to make it clear.
This sequence of installations is not recommended by Microsoft, and there are plenty of caveats and ReadMe's to navigate in order to find out what's happened.
I suggest that the best thing to do is to reinstall VS2012 (or do a repair install), then see what - if anything - is still broken.