c++ .cpp file null encode in visual studio - c++

I am making a code in visual studio MFC.
When I doing remote debug in visual studio to my vmware, I see the blue screen( CRITICAL_PROCESS_DIED). and reboot system.
then, i open the visual studio again.
my .cpp code is null encoded....
Only one class in All solution.
What did it?
.cpp's size is same before. but content is all null...
I use Visual Studio 2015

Related

Importing a folder into Visual Studio 2017

I am a college student and often I am given project folders for courses with multiple C++ header files, source files, and a makefile usually. I am using Visual Studio 2017 for reference.
Visual studio is my favorite IDE for debugging but I do not know how to integrate one of these folders into Visual Studio so I might debug from the application and not from a terminal. I am wondering if someones knows a way for me to open this folder in VS, and run/debug it like a normal console application? I realize the makefile might add an additional layer of complexity.
This is an image of the contents of a folder I want to be able to run/debug/execute normally in visual studio
I can open this folder in visual studio by right clicking -> open in visual studio.
However when in visual studio, I cannot build, run, debug or anything. Visual studio is acting more like a text editor than an actual IDE. I would like to be able to build/make my program through visual studio so I can launch/debug it in visual studio.

Open a vdproj file with VS Community 2017?

I retrieved a C++ VS project from 2011 and it has a Install-win32.vdproj I guess it has to be the file I need to open in order to build the project.
Unfortunately Visual Studio 2017 seems not to recognize this kind of file. Is there any ways to interpret it or convert it?
For VS2017, use the Microsoft Visual Studio Installer Projects. Download link is below. Be sure to close Visual Studio before running the installer:
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects

Visual Studio 2013 compile like visual studio 2008

I have C++ VS2008 project and my lovely IDE VS13. How can I work into VS13, but compile and debug project like in would be VS08. When I open VS2008 *.sln files that wrote to me about one-way upgrade, and how you i guess you understand, project after open in vs2013 don't open in vs2008.
For now, I use VS13 like notepad then copy all files text to alt+tab opening VS 2008 IDE and there are run project. And again work in VS13.
Based on Microsoft product lifecycle policies,
https://support.microsoft.com/en-us/lifecycle/search?sort=PN&alpha=Visual%20Studio&wa=wsignin1.0
Visual Studio 2008's mainstream support ended in April 2013, while Visual Studio 2013 was released in Jan 2014. That means Visual Studio 2013 will not support Visual Studio 2008 bits, so not a surprise if native multi targeting does not show v80.
I don't think you can easily get side by side, as VS2008 is too old, and its C++ project is not even MSBuild script. Once converted to VS2013, there is no way back.
Why cannot you just let VS2008 go? I guess that's why you get so many down votes.
You can't convert the solution to Visual Studio 2013 and still open it in Visual Studio 2008. You can, however, tell Visual Studio 2013 to use the Visual Studio 2008 compiler.
To do that, convert your solution to Visual Studio 2013 (don't forget to keep a copy of the original file, just in case), then open the project properties, go to the General options and select the Visual Studio 2008 platform toolset.

How to skip debugging all of std namespace in Visual C++ 2013?

I want to skip debugging all of std:: namespace C++ by default, without code window changing to std:: code , authored by Microsoft as xstring . This question is similar to :
How to skip common classes in VS 2008 when stepping in? and
Auto-skip STL functions during step-by-step debugging in MSVC++2010 .
The only difference is that their solution are for visual studio 2008 and 2010. I tried it myself , and it works on visual studio 2010, but I want to do it on visual studio 2013. The same solution doesn't work on visual studio 2013. I tried changing all values in registry equal to :
_RTC_CheckEsp
to
std\:\:.*=NoStepInto
, some of these were values were for visual studio 12.0 ( which is visual studio 2013) , but after restarting visual studio 2013, nothing changed. On the contrary this works on Visual Studio 2010. "Just My Code" option is turned on.
As Hans Passant said, Edit the .natstepfilter files to add exclusions.
create a new file for example nostd.natstepfilter and write in it as in Has the VS2012 NativeDE\StepOver registry entry that prevents step-into for specific functions changed format?
<?xml version="1.0" encoding="utf-8"?>
<StepFilter xmlns="http://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010">
<Function><Name>std::.*</Name><Action>NoStepInto</Action></Function>
</StepFilter>
For a 64-bit windows, move the file to :
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\Visualizers
while for a 32-bit windows to:
C:\Program Files\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\Visualizers
or whatever you customized you installation to. Please note that natstepfilter does not work in mixed mode (mixing native and managed code). Ensure that your project debugging settings is set to Native only

How to import a C++ project into Microsoft Visual Studio Professional 2013 RC?

I need to import this C++ project built with Visual Studio 2005 into my Visual Studio Professional 2013 RC. As a newbie to the Visual Studio Series Software, I have no idea how to make it work.
The folder structure is as follows:
Inside bin, there is file that has no extension called "param".
Inside include are all the .h header files.
Inside traclus are all the .cpp files.
You can always go to here to find out what the folders contain.
How may I run it in my Visual Studio?