1

我在干净的机器上安装了Windows 10 build 10163和Visual Studio 2013 Ultimate edition,然后根据指定的操作系统版本添加了Windows SDK、WDK和VSDEV12_WDK。

我第一次尝试使用 File -> New -> Project -> Template -> Visual C++ -> Windows Driver -> WDF -> User Mode V2 Empty 创建 UMDF 2.0 驱动程序,并收到以下错误。我将不胜感激任何帮助。

C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.Default.props(13,5): error MSB4186: Invalid static method invocation syntax: "[Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')". Method 'Microsoft.Build.Utilities.ToolLocationHelper.GetLatestSDKTargetPlatformVersion' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). [D:\Workspace\ gcp\gnssAdaptation\winAdaptation\WinPhone\64-bit\gnssDriver\gnssDriver Package\gnssDriver Package.vcxproj] Done Building Project "D:\Workspace\gcp\gnssAdaptation\winAdaptation\WinPhone\64-bit\gnssDriver\gnssDriver Package\gnss Driver Package.vcxproj" (Clean target(s)) -- FAILED.

4

0 回答 0