I am doing profiling for the code developed in MFC VC++ in Visual studio 2013. After stopping profiling, the report gets generated. But when i try to launch the performance report. It shows the following error:-
Invalid report: The data in the file is corrupt or has invalid format
I tried searching on the net. but it haven't helped much. Any help will be greatly appreciated.
I am building the project on 64 bit windows 10 enviornment
Thanks in Advance
Reinstall the Visual Studio 2015 (2013 may be the same) works for me.
Not work: Reset or Change settings; Modify or Repair.
I have been using Vs 2017 for several months on dev machine. This fine morning says setup incomplete. Am I missing something?
In this case you need to go to Control Panel => Programs and Features and choose Visual Studio and update it.
VS 2017 (15.6.6) was fine for me on Friday 6/1/18 on Windows 10, but same issue as OP today after a restart.
As suggested by the dialog and Retired Ninja, I ran the Visual Studio Installer (to 15.7.3 after updating VS Installer) and that fixed it.
Note that the 15.7.3 update was a 7.73 GB download. Your download size may vary.
This has happened to me for the last 3 upgrades in Visual Studio Enterprise 2017 (now again on upgrade to 15.9.21).
The fastest fix (and I'm not sure why) is simple and doesn't bomb your settings or take for ever.
In the Visual Studio Installer, click on Modify.
Click "Modify" on the bottom right corner.
Yes it says "Total space required 0 KB".
Yes you didn't really change anything.
It will then act like it is downloading something. (not sure what)
It will then act like it is installing something. (again, not sure what)
Open Visual Studio 2017 and it works.
Hope this helps.
If you have an offline installation like me and can't simply re-run the Visual Studio Installer you can edit devenv.isolation.ini and change the last line to read SetupFinished=true. It will detect your trickery and complain, but at least it will launch again.
Edit: I ended up getting the Visual Studio Installer to fix the issue after choosing the "Download then Install" option. Maybe I was too impatient when I initially stopped the update? My above answer is useful when you need to get work done that isn't affected by the broken features, but you will likely encounter problems later on.
just had the same problem (without any reason with) vs 2019 prof, after googling and reading on that topic, just went to vsix, looked for some individual component to install/uninstall, randomly picked cloud explorer, uninstalled it and some dependent components and VS 2019 prof started normally
decided to leave this here. may be it helps somebody
Solved: I did following steps, run the visual studio and it works for me.
In my case visual studio was working fine , I just restarted the PC, this popup was keep coming when I try to open visual studio.(in my case I was using VS 2019)
Go to this path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE"
Open devenv.isolation.ini, set SetupFinished=true and save.
Now open visual studio.
Cheers!
In my case did following steps:
Clear temp files (you can %temp% in run command and Shift+Delete files)
Restart your computer
Open visual studio it will work properly.
Update: Faced problem again after couple of days, This time I go to C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Click on retry.
Select one more feature which I had already installed on my Visual Studio
Click on modified and after installation it worked again.
This happened to me after I canceled a plugin update.
I solved by going to this site that has the latest update of Visual Studio.
https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
I downloaded and upgraded it.
After that, Visual Studio worked.
If your VS is already upgraded, there´s an option to "repair" on the installer.
For this problem, goto uninstall screen in control panel right-click visual studio and select option change, Installer page will open now, In that window without changing anything click modify. it will solve the problem. I'm using VS Professional 2017
I got the same error today morning. This is what I did:
I ran the visual studio installer then I clicked on Modify.
The installer was showing 0KB Required. I continued and then it downloaded and installed. (Not sure what).
After that installation, it was able to launch.
I hope it works for you as well.
I was using Vs 2019 professional 16.6 and happened to me this issue one morning. I modified the installation by adding Azure Development tools even though I was not using it. This fixed the issue.
I just updated to 15.9.24 and I got this yet again, as I have my resolution above, and Visual Studio 2019 seems to be a lot better with avoid this issue. The installer for 2019 you do have to change something and do the modification, 2017 you don't have to change anything.
I reported this issue through Developer Community:
Setup not complete since 15.9.21
I don't know why but sometimes its buggy
it's up to date but after launch visual studio this error prompted !
you have to click modify in vs installer and just modify it.
its not going to download anything.
after a moment launch vs and enjoy :)
For VS2022, WIN11:
Control Panel > Programs > Programs and Features > Microsoft Visual Studio Installer
Then, click on Change and resume the previous process.
Hi i followed this video to set-up VS2017 for sfml using.
Youtube Video
I did what he says but when i debug project i get this error:
Error MSB6006 "CL.exe" exited with code -1073741515.
I find out on google that this is some sort of compiler error but not how to fix this. Can someone help me or point me to answer?
I'm using Visual Studio 2017 and i downloaded SFML: Visual C++ 14 (2015) - 32-bit
Indeed, you compiler crashed. The status code -1073741515 translates to 0xC0000135 which in turn translates to STATUS_DLL_NOT_FOUND. That is bad. That is not about the SFML dlls, but a library Visual Studio itself uses. Something is very wrong with your Visual Studio installation.
Chances are you will get the same error without using SFML.
I don't know what the tutorial did and I'm not going to watch a video to find out. Your best chance is to do a clean reinstall of your Visual Studio installation and then follow the official guide from the SFML homepage. That works.
I am trying to compile a new c++ project in Visual Studio 2015.
I can compile perfectly in 32 bit configuration but when I change the configuration to 64 bit, compilation crashes with a dialogue box showing message "Microsoft c/c++ Compiler Driver has stopped working"
This is the error showing in the logs
Error MSB6006 "CL.exe" exited with code -1073741701.
I tried repairing and reinstalling VS several times but did no good to me.
This the behaviour of any file I am trying to compile. Projects which were working on Visual Studio 2013 are now not compilable.
Please help. I am stuck in this issue for weeks
EDIT: I found that the compiler used in 64 is x86_amd64\cl.exe, if this means anything to you
EDIT: I tried to compile using x86_amd64\cl.exe through command line and it succeeded there
I am try to run simple Canny Edge in Visual Studio 2015 but I failed to run it.
Severity Code Description Project File Line Suppression State
Error C3861 '__builtin_addressof': identifier not found Canny Edge C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef 725
I do not think this error is due to linking problem and this project is workable project which I did last time. Does anyone know how to solve it?
I had exactly the same problem with __builtin_addressof and I solved it.
Open the About in the Visual Studio 2015.
If there is an Update 3, close the Visual Studio 2015.
Open the Programs and Features in the Control Panel.
Right click on your Microsoft Visual Studio ... 2015 in the list and choose Change.
In the wizard choose Repair and continue... (It is long-running operation, I have SSD and i5 and it took several hours.)
I just lost half a day to this issue. The answer from Martin Šulc works for some people, but not for me. This is what I had to do:
Uninstall Visual Studio 2015
Run the installer, select Custom
Uncheck the Visual Studio 2015 Update 3 option (it's at the top):
My version is VS 2015 Community with Update 2. With this release at least, it seems that Update 3 is installed by default even though the installer is based on Update 2...
But are you actually surprised? ;)