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.
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.
Recently I've menaged to develop Windows Kernel Mode Driver so I started reading about that. I've read I need to download WDK. I use Visual Studio 2017 Community so I've downloaded WDK (for Windows 10) version 1709 (in default folder if it matters). When I try to create new project there should appear new templates for developing drivers but they don't.
(From what I've read I've deduced I only need to download the WDK and it's enough, am I right? It's described like that on MSDN)
So my question is: what am I supposed to do to the Kernel Mode Driver Project Template appear in Project Templates menu? I've really tried to google my problem and I did research but I haven't found anything usefull. I know it looks like very silly question and I'm so sorry if it does but I really don't know what to do, I tried many things like redownloading the WDK or downloading other version and so on but nothing helped. Any help will be appreciated.
Don't use Visual Studio 2015 and Visual Studio 2017 installed at the same time, I've seen this cause problems. Neither have two versions of WDK installed at the same time if you happened to have done this.
Uninstall all versions of Visual Studio on your machine.
Install Visual Studio 2017.
Install the latest version of Windows Driver Kit (WDK) for Visual Studio 2017.
Try again and see if the template shows up.
Did the installation of WDK throw any errors last time? Is the folders for WDK present under the Windows Kit area? We sort of need more details if possible, otherwise we'll just be guessing into oblivion for the next 1000 roman years.
For the past few days I have installed many versions of visual studio, but nothing is picked up by CUDA 7.5:
I am on windows 7, what could be the issue?
EDIT: I have versions of Visual Studio that CUDA 7.5 asks for, please refer to the image for what versions I have installed.
In your installed programs, more precisely in the screenshot you provide, it seems you have the redist packages but not Visual Studio itself.
Did you really installed Visual Studio ?
Do you know the big difference between the redist packages and the integrated development environment itself ?
Plus, it seems by now Visual Studio 2015 is not yet supported.
See this page on the documentation from Nvidia.
I just installed .NET framework 4.5, the Windows 8 SDK, and the Windows 8 DDK on 2 different machines (one at home managed by me, one at work originally setup by IT) both with Visual Studio 2010 Professional SP1 already installed, and both running Window 7 Professional.
I had an old C++/Win32 application in Windows XP that used both the Windows SDK and DDK. I updated it for Windows 7 and Visual Studio 2010 project settings. However, it would not build because some of the SDK/DDK include and library files are new, and it couldn't find them with Platform Toolset set to "v100" in Visual Studio.
Manually adding the Include and Lib folders to the project made it build and run correctly.
Is there some way that I can add the newly installed SDK and DDK to Visual Studio 2010's "Platform Toolset" list? I thought it was supposed to do this automatically, but neither of the machines I use have it in their list after install and reboot.
After researching this quite a bit, I finally found a solution. It doesn't look like it can be added to "Platform Toolset" via any simple method, but at least you don't have to add the paths on every single project you want to use the API. This worked for me, and allowed me to build Microsoft's "USBView sample application" written for VS2012. The way Microsoft recommends (from the official Microsoft Visual C++ Team blog) is:
For a single project:
http://blogs.msdn.com/b/vcblog/archive/2012/03/25/10287354.aspx
This seems to work with the final SDK release as well.
To apply those settings across multiple projects:
http://blogs.msdn.com/b/vcblog/archive/2012/11/23/using-the-windows-8-sdk-with-visual-studio-2010-configuring-multiple-projects.aspx
I am having trouble getting x64 compilation to work on Windows 7 RTM (64-bit) with Visual Studio 2008 Professional (both with and without SP1). I have not installed the Windows 7 SDK, as Microsoft suggests might be the issue. The problem is that there are no x64/64-bit choices in the Configuration Manager of Visual Studio.
I do not have the "Microsoft Visual C++ Compilers 2008 Standard Edition" suggested in the link above installed on my computer. Any ideas what might fix this?
I have checked that I have the x64 compiler and tools installed with Visual Studio.
Solution found: Uninstall VS completely and reinstall. Issue resolved after SP1 installed (again). Very strange.
Are you using VS 2008 Express Edition?
You can add the x64 targets to the build configuration manually by downloading the Windows SDK (which include all the x64 compilers/linkers/libs/headers/... ) and following the instructions in this link:
http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/
EDIT
Did you make sure to include the 64 bit toolset as part of the Visual Studio install? This toolset is an optional component that can be disabled during the initial install process. I believe you can add it back in by going through a Visual Studio repair process.
Original Answer
Are you using a clean windows 7 RTM install or did you upgrade from a previous version? There is at least one issue being reported by Visual Studio customers who upgraded an earlier build of Windows 7 to RTM.
Other, seemingly unrelated issue
http://www.hanselman.com/blog/VistaUsersUninstallVisualStudio2010Beta1BeforeUpgradingToWindows7.aspx