How to add driver template to Visual Studio 2012 - project

The title pretty much sums it up. I need a way to manually add a windows driver templates to the new project window. I tried reinstalling WDK but it told me it was up to date. Anyone know how to do this?

For this you must perform below steps:
1) Install msvc 2012
2) Install WDK 8 (only wdk 8 has support for msvc), if you have wdk 7600 or above - uninstall it and after install new wdk. Don`t try 8.1 because it in pre release state.
After this you must get that you want.

Related

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.

visual studio crash when try to start kernel debugger

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

Change Application version on Windows Phone

I am trying to change application version from Windows Phone 8.1 to 8.0 and I can not see 8.0.
Thanks in advance.
Thought Visual Studio 2013 can upgrade WP8.0 projects to WP8.1, the reverse operation isn't available. When you upgrade the WP8.0 project, you should see a popup window, which says that '... this operation cannot be undone'.
If you want to make a WP8.0 project then you will have to start a new project, select one of (Windows Phone Silverlight) and then, after clicking OK, the VS should ask you if you want this project to be WP8.0 or WP8.1. Once you select WP8.0, then you will also be able to upgrade it later to WP8.1.

WampServer: php-win.exe The program can't start because MSVCR110.dll is missing

if I try to install WampServer the above error appears. I already tried to install all the programs which were recommended, for example here:
WAMP shows error 'MSVCR100.dll' is missing when install
But nothing helps. What can I do to install WampServer?
During the download of wamp server from wampserver website you get a warning..
WARNING : Vous devez avoir installé Visual Studio 2012 : VC 11
vcredist_x64/86.exe Visual Studio 2012 VC 11 vcredist_x64/86.exe :
http://www.microsoft.com/en-us/download/details.aspx?id=30679
So if you install the vcredist_xxx.exe it will be ok
What solves my problem:
I am using 64 bit Windows 7, so I thought I could install 64 bit Wamp. After I Installed the 32-bit version the error does not appear. So something in the developing process at Wamp went wrong...
As far as I am aware, the MSVCRxxx.dlls are in %SystemRoot%\System32 (usually C:\Windows\System32).
The xxx refers to the version of the MS Visual C Runtime (hence MSVCR...)
However, the complication seems to be that the xxx version is not the same as the two digits of the year "version".
For example, Visual C Runtime 2013 yields MSVCR120.dll and "...Runtime 2012" yields MSVCR110.dll. And then Microsoft packages these as vcredist_x86.exe or vcredist_x64.exe, seemingly irrespective of the xxx version or the Visual Studio version number (2012, 2013 etc) - confused? You have every right to be!
So, firstly, you need to determine whether you need 32 bit, 64 bit or even both (some PHP distributions apparently do need both), then download the relevant vcredist... for the bits AND for the Visual Studio version. As far as I can tell, the only way to tell which vcredist... you have is to start to install it. Recent versions give an intro screen that quotes the Visual Studio version and the xxx version. I have renamed by vcredists to something like vcredist_x64_2012_V11.exe.
[EDIT] Forgot to add earlier that if you are simply looking to "install" the missing DLL (as opposed to resolve some bigger set of issues), then you probably won't do any harm by simply installing the relevant vcredist for your architecture (32 bit, 64 bit) and "missing" version.
Windows 10 x64 released August 2015 - same issue arising. MSVCR110.dll is also found in the sysWOW64 folder (which is where I found it, copying to system32 does not help). To resolve:
uninstall the x86 versions of VC 11 vcredist_x64/86.exe for 2012 and 2013
uninstall WAMP Server 2.5
delete (maybe back up first) the WAMP folder
restart windows
reinstall WAMP 2.5
Hopefully like me you have a MySQL database backup handy!

Silverlight version mismatch

I just found out that LightSwitch 2011 is out. I tried to install it and found out that Visual Studio 2010 Ultimate Service Pack 1 is a pre-requisite. I installed the Service Pack and then it allowed me to install LightSwitch 2011. All well and good.
Now when I start a new LightSwitch project, it gives me an error that "Unable to find a version of silverlight development runtime installed. Please install the silverlight development runtime." and then there's the link. I click on the link, install whatever is required and the installation fails.
After trying a couple of options I got the response from MSDN Forums that I should uninstall everything and re-install. Tried that. Same error again.
Another response on msdn forums says that my silverlight runtime and developer package must match. I check and find out that they are different versions
Developer Package: 4.0.60129.0
Microsoft Silverlight: 4.0.51204.0
That's what's causing the problem. How can I upgrade both to the latest version and make them match?
I know this is an old post but I had exactly the same problems (12 months later!). What fixed it for me was quite simple.
Instead of following the error prompt to download the latest version of Lightswitch go directly to http://www.silverlight.net/downloads and install Silverlight 5 Developer Runtime for Windows (either 64 or 32 bit).
Hope this helps!
I deleted all entries of "silverlight" from the registry manually. It was a long and painful process. It still didn't work.
I had to reinstall Windows.
It finally works now. I was able to install the latest version of silverlight and work on LightSwitch 2011 finally.