What are the target platform and target platform version of the project properties (vs2015 development windows driver note)

According to the official introduction to the property page ( General Property Page (Project) ), you can understand:

The target platform is which platform the build result will run on, such as windows, android, OS. . The weird thing is the description of windows: if win10 is displayed here, it refers to the universal windows platform; if you target earlier version windows, it will display a windows.. it is estimated that everyone will be here, this is a specification for you Choose 1 out of 2, but the official website is followed by a sentence: this target platform, you have already set it up when you create the project, it cannot be changed - I can understand it when I write this, I guess it is aimed at the new project, of course not The new project can also be covered: basically there will be a metadata in the project settings. . So after reading this, it is estimated that you are also clear that it is not weird here. 8-)

 

target platform version, as the name implies, it wants to run on which version of windows. . The actual official website really doesn't say that, "For the Windows platform, specifies the version of the Windows SDK that your project builds with" (of course, driver development is estimated to use wdk instead of sdk description, is it more appropriate?). . The latter paragraph is easy to understand, how to support the development of win7 and even xp. .

 

Contact the 2 64-bit drivers used by the web tiger: how many versions should be generated during build? - web tiger- blog garden  , I understand and try it myself: toolset, you can choose the latest, because it can cover the development of multiple versions of windows in front, but again, please note that it supports development, and does not say that it supports you to build 1 time A driver that supports multiple versions of windows is generated!

 

In summary, vs2015 supports the development target of Windows drivers after win7sp1, as shown in the following table

 

windows driver version required wdk Target Platform Version toolset Remark
win10(win2016) wdk10+ 10.* WindowsKernelModeDriver10.0  
win8.1~win7sp1(win2012~win2008) wdk8+ 8.1 WindowsKernelModeDriver8.1  
         

 

 

 

Remark:

 Building a Driver with the WDK | Microsoft Docs  says that vs2015 also supports building a driver for win7.

This article is even more fierce, saying that it can also support xp development:  Configuring Programs for Windows XP | Microsoft Docs

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324602481&siteId=291194637