WindowsDriver.common.targets error - visual-studio-2013

I have installed Visual Studio 2013 then installed Windows Driver Kit (WDK) 8.1. I'm using Windows 7. I already had a project which is a modified fastfat. I was building that using VS 2012 and everything was fine. But today when I try to build the same project using VS2013 I get the following error:
C:\Program Files (x86)\Windows Kits\8.1\build\WindowsDriver.common.targets(77,5): error : Unknown or unsupported property value (Vista) for TargetVersion
Note that I ran the clean procedure before doing the build.
Does anyone know what to try next?

What flavor of Visual Studio 2013 are you using (i.e., Professional, Premium or Ultimate)?
Be aware that Professional does not support Device Driver Templates. Check this by clicking on File/New/Project. Then Templates/Visual C++. If "Windows Driver" does not show up then your flavor does not support device drivers. I would try Ultimate.

Related

Visual studio 2017 professional not showing option for windows driver project

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.

This project is incompatible with the current version of Visual Studio VS2017

I have installed the Enterprise version of Visual Studio 2017 v 15.8.4 on Windows 7 Professional. I have downloaded the UWP Samples, when I attempt to load any of the C++ UWP sample solutions such as the Altimeter solution I get the error ..."This project is incompatible with the current version of Visual Studio." Online I found the suggestion that with a prior version of VS reloading the project worked, but in my case the project is greyed out. What is the problem?
From Visual Studio 2017 Product Family System Requirements:
Universal Windows app development, including designing, editing, and debugging, requires Windows 10. Windows Server 2016 and Windows Server 2012 R2 may be used to build Universal Windows apps from the command line.
You need Windows 10 to open UWP samples in Visual Studio 2017.

Visual Studio WDK integration Issue

Recently I installed Visual Studio 2017 Enterprise along with WDK 10 for 1709 My workloads contained C++ workload. . My machine is a Windows 8.1 Pro with net framework 4.6.1. After installing the WDK I expected the templates to come in the Legacy section of Visual C++ but no legacy option is present in it. I don't understand what is the problem. Please help me.
Thanks in advance
I resolved the issue. It was due to a missing windows 10 SDK. Reinstallating the WDK with appropriate SDK solved the problem
Developing drivers to windows is quite interesting one will be exposed to advanced Operating System Concepts. The set up for the environment will be IDE
IDE - Visual Studio (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16)
Compilers (WDK)
Debugger (WDK)
WDK contains both(https://go.microsoft.com/fwlink/?linkid=2085767). Latest Visual Studio(VS2019) will come along with the latest WDK(10, 1903 as of now).
Sometimes plugins might not work properly i.e integration issues between Visual Studio and WDk.
By going to the location "C:\Program Files (x86)\Windows Kits\10\Vsix\VS2019" and run VSIX installer.
Now in a new project, driver related templates are available.

Microsoft.ACE.OLEDB.12.0 provider not registered

I'm trying to connect my access database using Visual Studio 2013 running on Windows 8.
I found some fixes but they don't work for me.
First, I tried installing Microsoft Access Database Engine 2010 Redistributable (AccessDatabaseEngine_x64) and installed it successfully but it is giving me the same error.
Another fix that I found was installing 2007 Office System Driver: Data Connectivity Components but running the file gives me the error "The installation of this package failed."
Im running Office Professional Plus 2013 64-bit, Windows 8 Pro 64-bit, and Visual Studio Professional 2013
Hit the same thing. Try installing the Office2007 redist as well - https://www.microsoft.com/en-us/download/23734 . Solved my prob.
go to your project properties > compile > and uncheck the Prefer-32bit

Compilation error for NDIS driver with Visual Studio 2012! :(

I am trying to compile the NDIS driver using Visual studio 2012 Express for Desktop.
I have installed WDK 8.1 already but still couldnot manage to get it...
I suspect that somewhere i have to include the path for the MSbuild tools but unfortunately i have no ideally how to do it.
This is the error message:
error MSB8020: The builds tools for WindowsKernelModeDriver8.1 (Platform Toolset = 'WindowsKernelModeDriver8.1') cannot be found. To build using the WindowsKernelModeDriver8.1 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install WindowsKernelModeDriver8.1 to build using the WindowsKernelModeDriver8.1 build tools. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets 44 5 ndisprot630
VS2012 Express can't be integrated with WDK - you need at least Professional version.

Resources