win8 Visual Studio and inf files

I created a KMDF project from the KMDF template and the inf file has
the coinstaller section commented out and what is commented out is not
parameterized to work with stampinf. In other words, instead of

[SourceDisksFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1

The template generated KMDF inf file has

;[SourceDisksFiles]
;WdfCoInstaller01011.dll=1

Which hard codes the inf file to KMDF version 1.11 and is commented
out anyway and renders useless the project properties that set the
KMDF version number.

Is this a bug? The KMDF samples seem to have the right sort of inf
file. Actually they have ‘inx’ files, as did the legacy WDK.

I foolishly expected a bit more integration of driver project and inf
file. I guess I am not the only dev out there that loathes them.

Mark Roddy

Work in progress. The previous version coinstallers will not be in the kit. The idea behind supporting previous is that you want to target an os that has that wdf version natively , so need for the coinstaller

d

debt from my phone


From: Mark Roddy
Sent: 11/19/2011 2:18 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] win8 Visual Studio and inf files

I created a KMDF project from the KMDF template and the inf file has
the coinstaller section commented out and what is commented out is not
parameterized to work with stampinf. In other words, instead of

[SourceDisksFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1

The template generated KMDF inf file has

;[SourceDisksFiles]
;WdfCoInstaller01011.dll=1

Which hard codes the inf file to KMDF version 1.11 and is commented
out anyway and renders useless the project properties that set the
KMDF version number.

Is this a bug? The KMDF samples seem to have the right sort of inf
file. Actually they have ‘inx’ files, as did the legacy WDK.

I foolishly expected a bit more integration of driver project and inf
file. I guess I am not the only dev out there that loathes them.

Mark Roddy


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer