visual studio crash when try to start kernel debugger - crash

I have a project on my studies to write kernel driver. First step of this project is to prepere working environment, so I installed WDK, installed and configured Windows 7 x64 on virtualbox machine and created hello world kernel driver solution from the internet. After that I could deploy and debug my driver in windows 7 client machine directly from visual studio. Everything worked fine. After few days there was an update to windows 10 (host) - november update 1511, I installed that and (sic!) removed ,,previous Windows installations" to get disk space. Unfortunatelly when I opened my project again - I couldn't deploy and debug my driver due to visual studio crash. I can't find workaround for 3 days which is really frustrating beacause I have to show it to my professor on monday.
What I have tried to do:
I completly reinstalled visual studio and WDK (in host and client machine) and it still happens.
After compile, when I click ,,Debugging tools for Windows - Kernel Debugger", visual studio is crashing
(screen)
I can't get previous installation back and now I have no time to reinstall entire system.
Can you help me, please? Is there a way to get it working again?
PS. Excuse me for my english

I solved that.
After I upgraded my OS, I had still installed WDK 10.0.10240, it was not updated to the newer version. Even if I reinstalled it with new wdksetup.exe downloaded from microsoft site, there was still this version. Microsoft did not update their download page. I searched in google "WDK 10.0.10586.11" and I found the direct link to the newest WDK 10.0.10586.0 on tweettunnel.com/vanhoivo.
The link is:
http://download.microsoft.com/download/C/E/1/CE19C726-6036-4443-845B-A652B0F48CD7/wdk/wdksetup.exe
After I installed this wdk version, the problem has solved, VisualStudio is not crashing now and I can deploy and debug my driver. However, I think that is a bug in VisualStudio - it should show an error that WDK version is not appropriate
Thanks

Related

Visual Studio Mac "could not connect to the debugger" error

I am running Mac OS Catalina, and have Visual Studio version 8.3.8 installed. Before installing Catalina I had no problems building and running my code in Visual Studio.
I don't get any errors when building the code, but each time I try to run my code I get the following dialog popup
Could not connect to the debugger
And I get the following in my terminal:
bash: /Library/Frameworks/Mono.framework/Versions/6.4.0/bin/mono32:
Bad CPU type in executable
I suspect that Catalina doesn't run 32 bit programs, is there a way around this? I thought that Mono from version 5.2 defaulted to 64 bit.
I ran into this issue while using the following settings:
Windows 10
Visual Studio 2019
Macbook Pro
macOS Big Sure 11.4
Visual Studio for Mac (latest)
XCode 12.5
When trying to debug my Xamarin app for IOS and connect my mac in visual studio I had to follow the following steps.
Install mono - https://www.mono-project.com/docs/about-mono/supported-platforms/macos/
Open Visual Studio for Mac (on mac)
Open XCode (mac)
Connect To mac through Visual Studio
After that I stopped getting the connection error.
I know this isn't your exact question, but maybe it can help someone in the future.
I experienced the same problem when trying to debug practically any app in VS Mac. I am now using 2022 and the same issue persisted since using 2019. If trying to debug your code locally, what you can do is to run your app first without debugging. Then, attach the debugger to the executed process. So, if your web app is executing in let's say, "Chrome", then search for that process, usually, it will be the name of your app (it's a dotnet process), then simply attach the debugger to it. Then, you should be able to set breakpoints and hit them.
Hope this will help anyone working with VS for Mac.

Why the SSMS-setup-ENU for version 17.8.1 isn't running?

I have successfully downloaded and installed the developer version of SQL server 2017. Then I went to the SSMS website and downloaded the latest version of SSMS, which is 17.8.1. The exe file was properly downloaded and it is not damaged at all. When I double-clicked it, windows ask me if I am allowing this app to change my device. I clicked yes. Then nothing happened. The installation process just won't begin. My system is 64bit win10, and it is updated to the latest version. I have also downloaded some earlier versions of SSMS such as 17.5 and 17.3 and I encountered the exact same problem. I'd like to know if it has anything to do with my visual studio? I have downloaded and installed the latest visual studio 2017, and it doesn't help.
This happens when the latest dot net framework is not installed. The setup does not show what is its missing it just do not run.
You can try installing 4.6.2 net
Go to this link.
https://www.microsoft.com/en-us/download/details.aspx?id=53344
After finishing installation.
Run SSMS setup and it will show the installation screen.

does changing an operating system solve the .dll file issues?

I tried installing Xammp on my pc (windows 8.1) and it says api-ms-....dll is missing. I have tried every solution I've seen online like upgrading my OS, downloading and installing a new visual studio redistributed 2015 but still not working. please would changing the OS solve this problem?
My question is, does changing the OS from maybe windows 8.1 to windows 7 solve this problem? because I have tried most of the online solutions but still having the same issue
You need to install the following windows update: KB2999226 (Update for Universal C Runtime in Windows)
The missing dll api-ms-win-crt-runtime-l1-1-0.dll is installed with a Windows update. To resolve this issue, download and install the Update for Universal C Runtime in Windows from Microsoft. (Source)
Sidenote: The details page from Microsoft was last updated in Jan 2017. You probably should install all other updates that have been released since then.

How to install Mulesoft Anypoint studio on Ubuntu Linux?

Last time I worked with Anypoint Studio, my work laptop ran Windows 7. Now I'm using Ubuntu, with Win7 in a Virtualbox VM, and I'd love to install Anypoint Studio directly on Ubuntu rather than on the virtual Windows machine.
But I have a hard enough time finding a working download for Windows (most of the links point to a page on Mulesoft's site that no longer exists), nevermind any mention of getting it to work on Linux. But I'm hopeful that it is possible (because questions like this indicate that users are using it this way). (To be explicit, this is not meant to be derogatory, sometimes I'm just not good with words.)
So:
Is it possible to run Anypoint Studio in Linux (Ubuntu)?
If yes, can you direct me to a download source and an installation guide?
(In case it matters, my exact OS version is Ubuntu MATE 15.10.)
You can download the newest (Beta) in http://blogs.mulesoft.com/biz/mule/new-mule-3-8-studio-6-0-beta-releases/
You can download the latest stable version in http://mule-studio.s3.amazonaws.com/5.4.0-NOV30/AnypointStudio-for-linux-64bit-5.4.0-201511302043.tar.gz
To get this link you have to register in https://developer.mulesoft.com/, inside Anypoint platform -> Design & build APIs -> Build APIs -> Download Studio
In addition to previous responses, official download links for latest Anypoint Studio can be found here:
Linux: https://www.mulesoft.com/ty/dl/studio-linux
Mac: https://www.mulesoft.com/ty/dl/studio-mac
Windows: https://www.mulesoft.com/ty/dl/studio-windows

Standard install of VSExpress2012 on Win8, the IDE will not launch

I have a windows 8 x64 machine, pretty new image, and I just installed VS2012 C# express, and the install completed fine. but when I launch the IDE, nothing happens, I do not see a new process starting in Task Manager either.
After googling a bit, people suggest that it may be extensions and to run "devenv.exe /safemode". I did not install any extensions, and "devenv.exe" does not exist in my system. all I can find is %SystemDrive%\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WDExpress.exe. This is where the shortcut created on my desktop points too. I have tried using the " /safemode" switch with that .exe, but nothing happens.
I am currently running a repair on the program now, maybe that will fix it.
Any suggestions would be appreciated.
Thanks.
I found the issue, The Microsoft Application Compatibility Toolkit 5.6 was locking some files. After removing it. VS2012 opened right up.