How do I open a Visual Studio project in design view?

You can double click directly on the .cs file representing your form in the Solution Explorer : This will open Form1.cs [Design], which contains the drag&drop controls. If you are directly in the code behind (The file named Form1.cs, without “[Design]”), you can press Shift + F7 (or only F7 depending on the project type) instead to open it. From the design view, you can switch back … Read more

MSVCP120d.dll missing

From the comments, the problem was caused by using dlls that were built with Visual Studio 2013 in a project compiled with Visual Studio 2012. The reason for this was a third party library named the folders containing the dlls vc11, vc12. One has to be careful with any system that uses the compiler version … Read more

The CXX compiler identification is unknown

We are having trouble compiling a project using CMake (v2.8.12) under Windows 7 64Bit using Visual Studio 2012. CMake gives us the following errors. We already tried starting Cmake from the Visual Studio Command Line using admin rights. There seems to have been a similar bug in CMake 2.8.11: http://www.cmake.org/Bug/view.php?id=14440

Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt’ after installing Visual Studio 2012 Release Preview

This MSDN thread explains how to fix it. To summarize: Either disable incremental linking, by going to Project Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> “No (/INCREMENTAL:NO)” or install VS2010 SP1. Edits (@CraigRinger): Note that installing VS 2010 SP1 will remove the 64-bit compilers. You need to install the VS … Read more

Valgrind: invalid read of size 4 -> sigsegv, works fine without valgrind and in visual studio

I’ll explain the first error to you. At line 331, you’re probably reading an (unsigned) int, in a part of the memory you haven’t allocated for your own program. This part gives more information about the part of memory you tried to read. It says you’ve already used the memory, but reallox freed it. That … Read more