2017-06-30 19 views
5

Việc lập bản demo Microsoft WFPSampler dự án thất bại trong bất kỳ thiết lập (32/64 - debug/release) trên WFPSamplerCalloutDriver.InX tại dòng 36:WFPSampler Compilation - không wfpcalloutsclassreg tìm thấy

[ClassInstall32.nt$ARCH$] 
    AddReg = WFPCalloutsClassReg 

:

Stamping .\WFPSamplerCalloutDriver.inf [Version] section with DriverVer=06/29/2017,19.37.54.422 
sys\WFPSamplerCalloutDriver.inx(36-36): error 1203: Section [wfpcalloutsclassreg] not found. 
sys\WFPSamplerCalloutDriver.inx(49-49): warning 2083: Section [defaultuninstall.ntx86] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(53-53): warning 2083: Section [defaultuninstall.ntx86.services] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(56-56): warning 2083: Section [wfpcalloutclassreg] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(66-66): warning 2083: Section [wfpsamplercalloutdriver.nt.coinstallers] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(70-70): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.addreg] not referenced or used. 
sys\WFPSamplerCalloutDriver.inx(73-73): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.copyfiles] not referenced or used. 

Thiết lập đang sử dụng Cộng đồng Visual Studio, SDK và WDK được cài đặt sau đây page lượt tải xuống và quy trình xây dựng được theo sau từ ReadMe file

Không thể tìm thấy bất kỳ thông tin liên quan nào về vấn đề này.

Tôi đã gỡ cài đặt và cài đặt lại VS, SDK và WDK lên phiên bản mới nhất và không giải quyết được sự cố.

thiết lập hiện tại là

Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3 
Microsoft .NET Framework Version 4.7.02053 
Microsoft Visual C++ 2015 
Application Insights Tools for Visual Studio Package 7.0.20622.1 
Common Azure Tools 1.8 
Debugging Tools for Windows 10.0.15063.0 
JavaScript Language Service 2.0 
JavaScript Project System 2.0 
Microsoft Azure Mobile Services Tools 1.4 
NuGet Package Manager 3.4.4 
PreEmptive Analytics Visualizer 1.2 
TypeScript 1.8.36.0 
Windows Driver Kit 10.0.15063.0 
+0

Hãy thử thay đổi dòng 56 từ '[WFPCalloutClassReg]' thành '[WFPCalloutsClassReg]' (lưu ý 's'). – cynic

+0

Đơn giản như vậy, cảm ơn cynic – Damien

Trả lời

3

Có vẻ là một lỗi đánh máy trong mẫu. Phần có liên quan được gọi là WFPCalloutClassReg (dòng 56) nhưng được gọi là WFPCalloutsClassReg ở nơi khác trong tệp (lưu ý thêm 's'). Vì vậy, sửa chữa là thay đổi dòng 56 đến [WFPCalloutsClassReg].