I am planning to start developing windows drivers and I have some questions.
How can I start a simple Visual Studio driver project? I am using Visual Studio Ultimate 2012 and I have read on MSDN how to make a simple software driver, but in the tutorial, in the New Project window, there are more options than I have. To be more precise, I don't have Templates > Visual C++ > Windows Drivers. Or If i am searching online for User Mode Driver (UMDF), I can't find nothing. I have installed WDK 8.1
What additional changings should I do in order to build correctly a driver project?
VS2012 does not work with WDK 8.1.
You need WDK 8.0
I believe WDK 8.1 may not work with Visual Studio 2012. I did confirm that you can install WDK 8 on top of Visual Studio 2012 Ultimate, and the project templates will show up.
http://msdn.microsoft.com/library/windows/hardware/ff557573
Maybe try this?
http://msdn.microsoft.com/en-us/library/vstudio/ms247116%28v=vs.100%29.aspx
To restore the default project templates
In the command prompt, navigate to the location of devenv.exe. This file is located in <Visual Studio Installation Path>\Common7\IDE.
NoteNote
If you are running Windows Vista or Windows 7, you must open the command prompt as an administrator by right-clicking the command prompt and then clicking Run as administrator.
Type "devenv /installvstemplates" and press Enter.
Related
My windows version is Win 10 1803. I installed Visual studio professional 2017, and along with that I installed SDK 10.0.17134.1 and WDK 10.0.17134.1. I restarted the system, and the visual code, yet the option of creating a Windows driver project under Visual C++ is not showing.
Methods tried:
Re-installation of WDK,
Rebooting the system,
Using same version of WDK and SDK as mentioned in Microsoft site.
This solution worked.
https://social.msdn.microsoft.com/Forums/windowshardware/en-US/465b2453-4fdc-48f4-98d8-6b2996238f25/preview-wdk-10016257-does-not-install-with-vs-2017-release
Since the extension that works with Visual studio does not pop-up on its own, manually executing through cmd solves the purpose.
When I try to install the Windows Phone Template Pack on Visual Studio Community 2015, the following error is obtained.
What is the reason? Where can I check the error log from?
Couple of issues:
The Windows SDK link you provided (http://www.microsoft.com/en-in/download/details.aspx?id=8442) is for Windows 7. It is not compatible with Visual Studio 2015 for Windows Phone development.
I think this error you're seeing with the Windows Phone Template Pack (HRESULT: 0x80070057) is because the Windows and Windows Phone 8.1 Tools are not installed on your computer along with Visual Studio Community 2015.
I am able to reproduce this only when the Windows and Windows Phone 8.1 Tools are not installed.
If I click skip, then I see the error dialog you included above.
To resolve this issue,
Go into the Control Panel
Open up Add/Remove Programs (or Programs & Features depending on your OS version)
Select Visual Studio Community 2015, then click Change
In VS setup, click Modify
Make sure that the "Tools and Windows SDKs" feature under "Windows 8.1 and Windows Phone 8.0/8.1 Tools" is checked.
If you're running Windows 8.0/8.1/10 x64 Professional or higher with a Hyper-V capable computer and then you should also be able to install the Windows Phone 8.1 emulators.
-Paul Chapman [MSFT]
Found this answer today, but it no longer works, or doesn't work if the host OS is Windows 7 Pro. I just installed Windows 7 Pro (plus all updates) and then VS2015 (plus all of ITS updates) on an otherwise CLEAN computer. NO SDK was installed. My options for modify look like this:
The Windows 8.1...Tools option is TOTALLY MISSING. The Windows 10.0 SDK is offered under the Universal Windows...Tools option, but that doesn't help me with Windows 7 targeted development.
Also, FWIW, the Windows 8.1 install tool that Microsoft is offering for download just gets an APPCRASH every time I try to use it (and yes, I've downloaded it several times, even to different machines, but always with the same result.)
So for me, I can either stick with Visual Studio 2010 or suffer the user interface abomination that is/was Visual Studio 2012 (not gonna happen). Sigh.
I am trying to create a metadata package with the authering wizard in windows 8 dev preview.
As instructed in Installing the Device Metadata Authoring Wizard, I have installed the Visual Studio 11 Developer Preview and then the WDK 7.1.0.
But still cannot locate the Driver menu in the visual studio.
I am totally new to the Windows 8. Please help on the issue
Note:The documents say "install and launch the wdk". How do you launch the wdk in windows8
You may need to install the newer WDK 8 in order to get the DRIVER menu in Visual Studio 2012.
I've been developing for Windows Mobile/Pocket PC for a number of years without any issues. I recently started getting "Unable to start debugging" error messages after I installed Visual Studio 2010 and Windows Phone 7.1 SDK. The Visual Studio 2008 Remote tools would work, and Visual Studio could deploy the files, but "Start with Debugging" would not work while "Start without Debugging" would work.
I uninstalled the Windows Phone 7 SDK and am able to debug Windows Mobile applications again. Is there any way to allow the Windows Mobile 6.x and Windows Phone 7 SDKs to coexist on one computer?
With these Errors Double Check and make sure Service Pack one is installed for 2010.
Trevor, this issue has been reported as a bug with a known workaround by Jeffrey Walton on Microsoft Connect. The fix is summarized as follows:
Rename the directory C:\Program Files\Microsoft Visual Studio 10.0\SmartDevices\Debugger\target\wce400\armv4i to armv4i_temp
Copy the directory C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\Debugger\target\wce400\armv4i inside the Visual Studio 2010 path.
Reference: VS 2010 Windows Phone 7 Developer Tools breaks existing VS 2008 Windows Mobile Developer Tools
Visual Studio 2010 can not build (much less debug) a Windows Mobile application. It can develop for Windows Phone 7 (apparently - I certainly do not develop for it).
To develop (build/debug) for Windows Mobile, drop back to Visual Studio 2008. That's the last version of Visual Studio that offered support for Windows Mobile.
Unfortunate.
Right edm2.exe and other remote debugger Arm4i files versions must be deployed to device. Rename temporarily all folders containing edm3.exe and try VS2008 debug. If works, search edm*.exe in registry and repair related keys to VS2008only state.
I had an issue installing Visual Studio 2010 RC on Windows XP SP3?
(Have installed same ISO package on Vista and worked fine...)
Setup would fail no matter what I tried:
Microsoft Visual Studio 2010 Ultimate RC Setup
A problem has been encountered while
loading the setup components.
Canceling setup.
I found a solution by "Mikael Söderström" on MSDN Forums:
Display the language bar at the
taskbar, right-click on it and choose
settings. Then you remove the hand
writing support from the list.
See
http://social.msdn.microsoft.com/Forums/en-US/setupprerelease/thread/dbcdcd52-d162-4460-9920-33c9ab54b36f
I was installing VS2010 on a windows 7 machine inside a "Windows XP Mode" instance and it was failing.
The reason being the install files were not on the Windows XP instance.
Copying the setup files to within the XP instance fixed the issue.