I just installed VS2010 SP1 and TFS Preview-KB2581206 and now when I open Visual Studio, I get an error, and suddenly visual studio gets closed.
I checked in event viewer, and found following error there.
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: devenv.exe
P2: 10.0.40219.1
P3: 4d5f2a73
P4: Microsoft.TeamFoundation.Common
P5: 10.0.0.0
P6: 4f4e3d34
P7: 4b6
P8: 45
P9: System.MissingMethodException
P10:
Attached files:
These files may be available here:
C:\Users\Zain\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_devenv.exe_efc7a99ad144611cef5e929f3abb3eb1973a0_103ff49b
Analysis symbol:
Rechecking for solution: 0
Report Id: a8596dda-0755-11e2-ae04-0022196f9b63
Report Status: 0
Any ideas/solutions on how to fix it?
I still have some issue, but this post helped me at least to kick off visual studio:
Visual Studio 2010 crashes on startup
Related
I am trying to make executables out of the Cuda Samples . My specs are CUDA 11.5 with Visual Studio 2019. When I check on the samples.sln file to build the executable of all the CUDA samples, I get the following message:
"C:\ProgramData\NVIDIA Corporation\CUDA
Samples\v11.5\7_CUDALibraries\batchedLabelMarkersAndLabelCompressionNPP\batchedLabelMarkersAndLabelCompressionNPP_vs2019.vcxproj
: error : The imported project "C:\Program Files (x86)\Microsoft
Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA
11.5.props" was not found. Confirm that the expression in the Import declaration "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA
11.5.props" is correct, and that the file exists on disk. C:\ProgramData\NVIDIA Corporation\CUDA
Samples\v11.5\7_CUDALibraries\batchedLabelMarkersAndLabelCompressionNPP\batchedLabelMarkersAndLabelCompressionNPP_vs2019.vcxproj"
Some background:
I understand that it is important to check compatibility of your CUDA version with Virtual Studio. To that end, when I had initially installed VS 2022 Community edition and then I attempted to install CUDA 11.5, I got the message that CUDA couldn't locate VS on my system. Then I tried installing VS 2019 first and then I tried to re-install CUDA 11.5. This time, I did not get the previous warning message and thought that all was good. But alas that was not the case!:(
Any advice or insight would be greatly appreciated on how to tackle this issue! Thank you in advance
Solved:
The following configuration ran fine:
Microsoft Visual Studio 2013 Community Edition, Nsight
Visual Studio Edition 4.7, and CUDA 7.5.
There is a driver project https://github.com/Psypher9/VG-STC-Driver/tree/master/WinVgStc .
I want to compile it.
I have:
Windows 10 19041.1
Visual Studio 2013 Community 12.0.40629.0
From this page https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk installed:
Refreshed Windows SDK 10.0.19041.16385 for Windows 10, version 2004
Refreshed WDK for Windows 10, version 2004
Issue:
Trying to build, get errors:
1>------ Build started: Project: WinVgStc, Configuration: Release x64 ------
1> Device.c
1>c:\users\usr\downloads\winvgstc\winvgstc\driver.h(18): fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
1> Driver.c
1>c:\users\usr\downloads\winvgstc\winvgstc\driver.h(18): fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
1> Queue.c
1>c:\users\usr\downloads\winvgstc\winvgstc\driver.h(18): fatal error C1083: Cannot open include file: 'wdf.h': No such file or directory
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
When I downloaded this project from GitHub the first error was, that there is no usermode drivers toolset. In project properties I changed it to Visual Studio 2013 (v120). Then I got the error list above.
At this point I didn't have SDK and WDK I mentioned in the list above, so I downloaded it.
After restarting Visual Studio I still have errors. Also there is still only 2 variants of platform toolset in project properties: Visual Studio 2013 (v120) and Visual Studio 2013 - Windows XP (v120_xp).
What should I do to compile it on the current Visual Studio?
I am experiencing a problem like the one exposed in this SO question:
Unable to start program "C:\Program Files\dotnet\dotnet.exe"
I am asking this question not to create a duplicate but to provide more info and because the problem started only after the day I installed Python from its main website, Python Tools from Microsoft and Anaconda from Continuum. I'd bet the Anaconda is the guilty.
When I create any .NET Core project, be it console or web, and I attempt to debug it in Visual Studio 2015 I get this error:
I did the Python installations both on a Windows 7 SP1 pc and on a Windows 10 pc. Until then I was able to create, compile and debug a Net Core project in Visual Studio 2015 without any problem. When I started VS 2015 a couple of days after the Python installations, both my computers had the problem.
It's not a problem of Net Core, it is a Visual Studio 2015 problem. I am sure because if I build and run from CLI or if I debug using Visual Studio Code everything works as expected, the problem only affects Visual Studio 2015 Community.
Following several posts on the subject I have tried different proposed solutions, without success:
Rebooted infinite times both Windows 7 and Windows 10.
Reset Visual Studio Settings.
Deleted project.json and lock file I deleted the .vs folder.
Repaired .Net Core.
Repaired VS 2015.
Uninstalled Python, Python tools, Anaconda.
Uninstalled / reinstalled Visual Studio 2015 and Net Core Tools for
VS several times.
Uninstalled and reinstalled the VC++ redistributable, x86 and x64.
Tried to run VS in normal mode and as administrator.
Forced to run dotnet.exe as administrator.
Created new HelloWorld projects from scratch.
Opened projects created with Visual Studio Code that can be debugged
without any error in Visual Studio Code.
Redone the login.
Used VS 2015 without login.
Selected in Debug Options: Use Managed Compatibily Mode
Selected in Debug Options: Use Native Compatibility Mode
Selected in Debug Options both the Options
The problem appears when I start the debug with the "play button" or when I select Debug-> Start Debugging (F5). The code compiles without errors then the message box appears when the app, even a simple "Hello World", should start.
Options are set to Debug/Any Cpu.
The file dotnet.exe is in its folder as expected.
If I use Process Monitor I can see the process dotnet.exe is created
with success as child of devenv.exe and then immediately exited, with
0.0000 user time and kernel time.
If I select Debug -> Start Without Debugging (CTRL+F5) the code runs without problems.
If I select Debug -> Attach To Process -> dotnet.exe [type Managed (Core CLR), x64], default transport I get the error: "Unable to attachto the process. No more data is available"
Any hint to solve this without formatting the disk and reinstalling from scratch Windows?
Edit:
This is the project.json for a new created solution, a standard "Hello World":
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
}
}
}
The "Path" value in Environment Variables, for "all users" is:
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Intel\WiFi\bin\;
C:\Program Files\Common Files\Intel\WirelessCommon\;
C:\blp\API;C:\blp\API\dde;
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;
C:\Program Files (x86)\Skype\Phone\;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
C:\Program Files\Microsoft DNX\Dnvm\;
C:\Program Files\dotnet\;
C:\Program Files\Git\cmd
For my user only is:
C:\blp\DAPI;
C:\blp\DAPI\DDE;
C:\Program Files (x86)\Microsoft VS Code\bin
On a new installed Windows 10 Pro. I installed Visual Studio 2013 Pro and the error message, Visual Studio 2013 Update 3 (KB2829760) Package failed, is shown after the installation. The screenshot
Then I repaired it but with the same error message. The log file
http://drive.google.com/file/d/0B841rccm7zZWaVludENGeVFxWXNXREJIWXE5NFZoMnhLVFBj/view?usp=sharing
I installed Visual Studio 2015 and shortly after selecting a TFS server started to experience issues:
missing package errors
new project had no project types
Team explorer has an error tag (Page '312e8a59-2712-48a1-863e-0ef4e67961fc' not found.)
If I go to Team and click manage connections I get an error (Team Foundation Error Page '3185ed96-1cbcd-4381-a439-636973542e50' not found.)
If I try to re-open the solution I pulled down I get:
(The 'ErrorListPackage' package did not load correctly)
(The 'CSharpPackage' package did not load correctly)
(The 'FileIndicatorPackage' package did not load correctly) and fails to open
Then I get an 'object reference not set to an instance of an object) when I try to close VS.
I tried running the devenv.exe commands to rest everything to no avail:
devenv.exe /debug
devenv.exe /resetsettings
devenv.exe /instalvstemplates
devenv.exe /resetskippings
devenv.exe /resetuserdata
devenv.exe /setup
devenv.exe /safemode
I tried repair: still broken
I uninstalled and reinstalled: still broken
The Fix
Uninstall Visual Studio 2015 from Programs and Features
Reboot machine if prompted.
Rename or delete folders-
C:\Program Files (x86)\Microsoft Visual Studio 14.0
C:\Program Files\Microsoft Visual Studio 14.0
<user>\Documents\Visual Studio 2015
<user>\AppData\Roaming\Microsoft\VisualStudio\14.0
<user>\AppData\Local\Microsoft\VisualStudio\14.0
<user>\AppData\Local\Microsoft\VSCommon\14.0
Go to the registry editor (start >> run >> regedit) and remove/rename the following registries-
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
HKEY_CURRENT_USER\Software\Microsoft\VSCommon\14.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Remote
Install Visual Studio 2015