Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘)’

You are mixing and matching SDKs , not the path to the header which is the w7 kit. You need to use the w8sdk only when using the w8 wdk.

c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

given the copyright date and ver number, looks like you are picking up the win7 tools too

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘)’


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

Thanks Doron,

So it seems like vs2012 picking up ( by itself) whatever sdk is already installed??. I did install the w8 sdk ( I think that is what I was doing, let me check :). If it is installed then I would assume that there is an _implied order of installation, meaning - install the sdk(s) then vs2012??? . Correct me…

-pro
On Jun 6, 2012, at 12:43 PM, Doron Holan wrote:

You are mixing and matching SDKs , not the path to the header which is the w7 kit. You need to use the w8sdk only when using the w8 wdk.

c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

given the copyright date and ver number, looks like you are picking up the win7 tools too

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

d

debt from my phone
From: Prokash Sinha
Sent: 6/6/2012 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’
>
> 1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
> C2059: syntax error : ‘)’
>
> —
> 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
>
>
> —
> 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

Vs2012 pro and higher installs the w8 sdk as a part of the install. Look at the default tool and include dirs in the vs options as well as what is set in the project. Also check your PATH env var, maybe it has the win7 sdk paths set in it globally

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:52 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Thanks Doron,

So it seems like vs2012 picking up ( by itself) whatever sdk is already installed??. I did install the w8 sdk ( I think that is what I was doing, let me check :). If it is installed then I would assume that there is an _implied order of installation, meaning - install the sdk(s) then vs2012??? . Correct me…

-pro
On Jun 6, 2012, at 12:43 PM, Doron Holan wrote:

You are mixing and matching SDKs , not the path to the header which is the w7 kit. You need to use the w8sdk only when using the w8 wdk.

c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

given the copyright date and ver number, looks like you are picking up the win7 tools too

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘)’


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


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


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

I will be looking at it now .

Here is the output from the boilerplate code ( seems like no dependencies on
win7 sdk ???). First few line of warning/error

1>------ Rebuild All started: Project: KMDF Driver1, Configuration: Win7
Debug Win32 ------

1> Stamping Win7Debug\KMDFDriver1.inf [Version] section with
DriverVer=06/06/2012,13.10.44.784

1> Device.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

-pro

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, June 06, 2012 1:06 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Vs2012 pro and higher installs the w8 sdk as a part of the install. Look at
the default tool and include dirs in the vs options as well as what is set
in the project. Also check your PATH env var, maybe it has the win7 sdk
paths set in it globally

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:52 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Thanks Doron,

So it seems like vs2012 picking up ( by itself) whatever sdk is already
installed??. I did install the w8 sdk ( I think that is what I was doing,
let me check :). If it is installed then I would assume that there is an
_implied order of installation, meaning - install the sdk(s) then vs2012???
. Correct me…

-pro

On Jun 6, 2012, at 12:43 PM, Doron Holan wrote:

You are mixing and matching SDKs , not the path to the header which is the
w7 kit. You need to use the w8sdk only when using the w8 wdk.

c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

given the copyright date and ver number, looks like you are picking up the
win7 tools too

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘)’


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


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


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


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

Never mind, it is still somewhere there - but not in PATH global env var.
Out of all the std. env variables ( not with the old WDK env), only one
place I see sdk is -

VSSDK110Install=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VSSDK\

Also sdk 8 is installed in -

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0

And only folder underneath is C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0\ExtensionSDKs\ < a bunch of folder not like the previous
sdks>

Let me dig a bit, to see where it is included from -

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Wednesday, June 06, 2012 1:15 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I will be looking at it now .

Here is the output from the boilerplate code ( seems like no dependencies on
win7 sdk ???). First few line of warning/error

1>------ Rebuild All started: Project: KMDF Driver1, Configuration: Win7
Debug Win32 ------

1> Stamping Win7Debug\KMDFDriver1.inf [Version] section with
DriverVer=06/06/2012,13.10.44.784

1> Device.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

-pro

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, June 06, 2012 1:06 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Vs2012 pro and higher installs the w8 sdk as a part of the install. Look at
the default tool and include dirs in the vs options as well as what is set
in the project. Also check your PATH env var, maybe it has the win7 sdk
paths set in it globally

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:52 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Thanks Doron,

So it seems like vs2012 picking up ( by itself) whatever sdk is already
installed??. I did install the w8 sdk ( I think that is what I was doing,
let me check :). If it is installed then I would assume that there is an
_implied order of installation, meaning - install the sdk(s) then vs2012???
. Correct me…

-pro

On Jun 6, 2012, at 12:43 PM, Doron Holan wrote:

You are mixing and matching SDKs , not the path to the header which is the
w7 kit. You need to use the w8sdk only when using the w8 wdk.

c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

given the copyright date and ver number, looks like you are picking up the
win7 tools too

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

d

debt from my phone


From: Prokash Sinha
Sent: 6/6/2012 12:36 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vs 2012 & driver build

Well, I just installed the vs 2012 RC, including the wdk. Converted some
sources ( build entities) to vs solutions, loaded into the IDE, and
compiled, still I see the problems - The include path (C:\Program Files
(x86)\Windows Kits\8.0\ ) is from a fresh install today, so something wrong
I think!

Also if I go to a new project and try to use boilerplate code using KMDF
template, then try to build - It is the same problem.

-pro

1>------ Build started: Project: toaster (Featured1\toaster), Configuration:
Win7 Debug Win32 ------

2>------ Build started: Project: toaster (Featured2\toaster), Configuration:
Win7 Debug Win32 ------

2> Microsoft (R) MOF Compiler Version 6.1.7600.16385

2> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> Parsing MOF file: toaster.mof

1> Microsoft (R) MOF Compiler Version 6.1.7600.16385

1> Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.

2> MOF file has been successfully parsed

2> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Parsing MOF file: toaster.mof

1> MOF file has been successfully parsed

1> Storing Binary MOF data in .\Win7Debug\x86\toaster.bmf

1> Done!

2> Done!

1> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

1> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

1>

1> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

2> Microsoft (R) WDM Extensions To WMI MOF Checking Utility Version
1.50.0000

2> Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.

2>

2> Binary mof file .\Win7Debug\x86\toaster.bmf expanded to 4318 bytes

1> toaster.c

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884): error
C2220: warning treated as error - no ‘object’ file generated

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2884):
warning C4005: ‘__useHeader’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\sal_supp.h(57) : see previous definition of
‘__useHeader’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\sal.h(2885):
warning C4005: ‘__on_failure’ : macro redefinition

1> c:\program files\microsoft
sdks\windows\v7.0\include\specstrings_supp.h(77) : see previous definition
of ‘__on_failure’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1892):
error C2054: expected ‘(’ to follow ‘IRQL_requires_same

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1898):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2085: ‘EXCEPTION_ROUTINE’ : not in formal parameter list

1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\ntdef.h(1900):
error C2143: syntax error : missing ‘;’ before ‘*’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘)’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2143: syntax error : missing ‘{’ before ‘constant’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘’

1>C:\Program Files (x86)\Windows Kits\8.0\Include\KM\wdm.h(10371): error
C2059: syntax error : ‘)’


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


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


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


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


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

Finally I got to the point, where I can build boiler plate code =
generated using template ( in this case ndis filter ) -

I don’t remember the sequence that VS use to resolve the paths ( =
perhaps: project property variables/macros, env.vars, vcvars.bat that =
probes registry - in that order ).=20

I’ve seen it says, we can not use any old style ddk environment, so =
while I build the project using template, not sure why it tries to =
include the windows 7 sdks paths ( bin/include/lib). I did have the =
~\windows kits\8.0 path that have been there after I installed VS2012 ( =
version wise 11 ) RC. This VS2012 RC Pro

So I crafted those paths by hand using the project properties. I had to =
hand craft c:\Program FIles(x86)\WindowsKits\8.0\inlcude\<[ km | shared =
], in addition to just the include dir. Then I disable the Inherit from =
parent or project defaults. For the lib & bin, I just need the =
c:\Program FIles(x86)\WindowsKits\8.0[lib | bin].

I’m sure there is a more compact way to do this ( since, I had to do =
this for every build type:Vista; Windows 7 etc.). This is just to get =
familiar with the new VS environment. Also note that any installation of =
sdk should update the PATH variable. In the past, newer version’s path =
used to come before. But in my case, I don’t see it. Not sure what is =
it? I don’t use much of SDKs in my projects, so I did not pay attention =
when windows 7 sdk being installed.

Next step would be to apply the conversion to my actual sources based =
projects, and bring them in to VS2012.

-pro

Prokash Sinha wrote:

I’ve seen it says, we can not use any old style ddk environment, so =
while I build the project using template, not sure why it tries to =
include the windows 7 sdks paths ( bin/include/lib).

My guess is that you have the Win 7 SDK in your system or user
environment variables. If you start an empty command line and do “set
INCLUDE” and “set LIB”, do you see the SDK paths?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Tim,

First thing I did is to open up a plain command line, then issue set >
env.txt

Then search the txt ( either on notepad or grep ). No traces of 7 sdks. That
would have been easier actually to fix it. Only one varialble I mentioned
earlier has VSSDK or something like that. I also briefly checked the
VCVARS.BAT file. As I said, I forgot the precedence of search when VS IDE is
invoked, and to try out the properties under project, seemed to work.

If the idea is to have a project file with *.vxp ( or whatever extension),
and build it either from IDE or msbuild, then it beats me why a template
based project would have sdk 7 path as first preference. Since path and
other env vars don’t have any trace, I suspect that vcvars.bat pulls it in
from registry. But then again, I had the sdk 8 standalone downloaded as
separate install, then I installed the standalone downloaded version. This
did not seem to update the env variables, at least not visible.

In summary, I don’t know the reason. But if I change the setting using the
project properties, it builds fine.

Comparatively, In the past we all used to install multiple versions of SDKs,
the PATH and other variables will have all the versions installed in reverse
order, so the current one is always found first.

At any rate, if anyone gives me some insight, that would be great…

-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, June 07, 2012 11:08 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Prokash Sinha wrote:

I’ve seen it says, we can not use any old style ddk environment, so =
while I build the project using template, not sure why it tries to =
include the windows 7 sdks paths ( bin/include/lib).

My guess is that you have the Win 7 SDK in your system or user environment
variables. If you start an empty command line and do “set INCLUDE” and “set
LIB”, do you see the SDK paths?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


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

One other thing I just noticed is the following - ( msbuild.exe missing
???). Is it because of RC ( trial version???)

-pro

C:\Program Files (x86)\Microsoft Visual Studio 11.0>dir msbuild* /s
Volume in drive C has no label.
Volume Serial Number is 927A-9C63

Directory of C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\IDE\Co
mmonExtensions\Microsoft\Project

01/11/2012 01:27 AM 1,324 msbuildproj.pkgdef
1 File(s) 1,324 bytes

Directory of C:\Program Files (x86)\Microsoft Visual Studio
11.0\Xml\Schemas\10
33

06/05/2012 07:17 PM

MSBuild
0 File(s) 0 bytes

Total Files Listed:
1 File(s) 1,324 bytes
1 Dir(s) 57,514,262,528 bytes free

C:\Program Files (x86)\Microsoft Visual Studio 11.0>

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 11:56 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Tim,

First thing I did is to open up a plain command line, then issue set >
env.txt

Then search the txt ( either on notepad or grep ). No traces of 7 sdks. That
would have been easier actually to fix it. Only one varialble I mentioned
earlier has VSSDK or something like that. I also briefly checked the
VCVARS.BAT file. As I said, I forgot the precedence of search when VS IDE is
invoked, and to try out the properties under project, seemed to work.

If the idea is to have a project file with *.vxp ( or whatever extension),
and build it either from IDE or msbuild, then it beats me why a template
based project would have sdk 7 path as first preference. Since path and
other env vars don't have any trace, I suspect that vcvars.bat pulls it in
from registry. But then again, I had the sdk 8 standalone downloaded as
separate install, then I installed the standalone downloaded version. This
did not seem to update the env variables, at least not visible.

In summary, I don't know the reason. But if I change the setting using the
project properties, it builds fine.

Comparatively, In the past we all used to install multiple versions of SDKs,
the PATH and other variables will have all the versions installed in reverse
order, so the current one is always found first.

At any rate, if anyone gives me some insight, that would be great...

-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, June 07, 2012 11:08 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Prokash Sinha wrote:
> I've seen it says, we can not use any old style ddk environment, so =
> while I build the project using template, not sure why it tries to =
> include the windows 7 sdks paths ( bin/include/lib).

My guess is that you have the Win 7 SDK in your system or user environment
variables. If you start an empty command line and do "set INCLUDE" and "set
LIB", do you see the SDK paths?

--
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

---
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

---
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

Msbuild.exe is GAC’ed

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildTaskHost.exe
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildTaskHost.exe.config

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>
Most of the msbuild targets/props infrastructure is in C:\Program Files (x86)\MSBuild

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 12:37 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

One other thing I just noticed is the following - ( msbuild.exe missing ???). Is it because of RC ( trial version???)

-pro

C:\Program Files (x86)\Microsoft Visual Studio 11.0>dir msbuild* /s Volume in drive C has no label.
Volume Serial Number is 927A-9C63

Directory of C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Co mmonExtensions\Microsoft\Project

01/11/2012 01:27 AM 1,324 msbuildproj.pkgdef
1 File(s) 1,324 bytes

Directory of C:\Program Files (x86)\Microsoft Visual Studio
11.0\Xml\Schemas\10
33

06/05/2012 07:17 PM

MSBuild
0 File(s) 0 bytes

Total Files Listed:
1 File(s) 1,324 bytes
1 Dir(s) 57,514,262,528 bytes free

C:\Program Files (x86)\Microsoft Visual Studio 11.0>

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 11:56 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Tim,

First thing I did is to open up a plain command line, then issue set > env.txt

Then search the txt ( either on notepad or grep ). No traces of 7 sdks. That would have been easier actually to fix it. Only one varialble I mentioned earlier has VSSDK or something like that. I also briefly checked the VCVARS.BAT file. As I said, I forgot the precedence of search when VS IDE is invoked, and to try out the properties under project, seemed to work.

If the idea is to have a project file with *.vxp ( or whatever extension), and build it either from IDE or msbuild, then it beats me why a template based project would have sdk 7 path as first preference. Since path and other env vars don't have any trace, I suspect that vcvars.bat pulls it in from registry. But then again, I had the sdk 8 standalone downloaded as separate install, then I installed the standalone downloaded version. This did not seem to update the env variables, at least not visible.

In summary, I don't know the reason. But if I change the setting using the project properties, it builds fine.

Comparatively, In the past we all used to install multiple versions of SDKs, the PATH and other variables will have all the versions installed in reverse order, so the current one is always found first.

At any rate, if anyone gives me some insight, that would be great...

-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, June 07, 2012 11:08 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Prokash Sinha wrote:
> I've seen it says, we can not use any old style ddk environment, so =
> while I build the project using template, not sure why it tries to =
> include the windows 7 sdks paths ( bin/include/lib).

My guess is that you have the Win 7 SDK in your system or user environment variables. If you start an empty command line and do "set INCLUDE" and "set LIB", do you see the SDK paths?

--
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

---
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

---
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

---
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

Got it, Thx

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, June 07, 2012 12:42 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Msbuild.exe is GAC’ed

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildTaskHost.exe C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildTaskHost.exe.config

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC> Most of the msbuild
targets/props infrastructure is in C:\Program Files (x86)\MSBuild

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 12:37 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

One other thing I just noticed is the following - ( msbuild.exe missing
???). Is it because of RC ( trial version???)

-pro

C:\Program Files (x86)\Microsoft Visual Studio 11.0>dir msbuild* /s Volume
in drive C has no label.
Volume Serial Number is 927A-9C63

Directory of C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\IDE\Co mmonExtensions\Microsoft\Project

01/11/2012 01:27 AM 1,324 msbuildproj.pkgdef
1 File(s) 1,324 bytes

Directory of C:\Program Files (x86)\Microsoft Visual Studio
11.0\Xml\Schemas\10
33

06/05/2012 07:17 PM

MSBuild
0 File(s) 0 bytes

Total Files Listed:
1 File(s) 1,324 bytes
1 Dir(s) 57,514,262,528 bytes free

C:\Program Files (x86)\Microsoft Visual Studio 11.0>

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 11:56 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Tim,

First thing I did is to open up a plain command line, then issue set >
env.txt

Then search the txt ( either on notepad or grep ). No traces of 7 sdks. That
would have been easier actually to fix it. Only one varialble I mentioned
earlier has VSSDK or something like that. I also briefly checked the
VCVARS.BAT file. As I said, I forgot the precedence of search when VS IDE is
invoked, and to try out the properties under project, seemed to work.

If the idea is to have a project file with *.vxp ( or whatever extension),
and build it either from IDE or msbuild, then it beats me why a template
based project would have sdk 7 path as first preference. Since path and
other env vars don't have any trace, I suspect that vcvars.bat pulls it in
from registry. But then again, I had the sdk 8 standalone downloaded as
separate install, then I installed the standalone downloaded version. This
did not seem to update the env variables, at least not visible.

In summary, I don't know the reason. But if I change the setting using the
project properties, it builds fine.

Comparatively, In the past we all used to install multiple versions of SDKs,
the PATH and other variables will have all the versions installed in reverse
order, so the current one is always found first.

At any rate, if anyone gives me some insight, that would be great...

-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, June 07, 2012 11:08 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build

Prokash Sinha wrote:
> I've seen it says, we can not use any old style ddk environment, so =
> while I build the project using template, not sure why it tries to =
> include the windows 7 sdks paths ( bin/include/lib).

My guess is that you have the Win 7 SDK in your system or user environment
variables. If you start an empty command line and do "set INCLUDE" and "set
LIB", do you see the SDK paths?

--
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

---
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

---
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

---
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

---
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

I converted one of the old project ( sources based on wdk 7), conversion
produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project
explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be
the latest .NET framework with msbuild.exe?

Thx
-pro

Msbuild is at 4.5, not 4.0. what user input is required? I have never seen that prompt

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 1:29 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I converted one of the old project ( sources based on wdk 7), conversion produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be the latest .NET framework with msbuild.exe?

Thx
-pro


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

The “user input is required” is showing up in the Project explorer ( after
failing to load the project). After reading the osr article on conversion, I
was expecting somewhere I will see error.
So under the project the lines comes up. The drivername(load failed) tab has
a Turkish blue bang :slight_smile:

In my env., I see the following ( Q: Do I need to pull in 4.5, may be not
required!. Does vs2012 installed pulls in any .NET? )

C:\Program Files (x86)>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildT
askHost.exe
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildT
askHost.exe.config

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, June 07, 2012 1:32 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Msbuild is at 4.5, not 4.0. what user input is required? I have never seen
that prompt

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 1:29 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I converted one of the old project ( sources based on wdk 7), conversion
produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project
explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be
the latest .NET framework with msbuild.exe?

Thx
-pro


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


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

Also if I try to do the msbuild - the first sign of trouble -

Building with tools version “4.0”.
Target “_CheckForInvalidConfigurationAndPlatform” in file
“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets”
from project
“C:\Users\prokash\dp_5_17\DPLEX\win\cache_filter\nvelodiskfltr.vcxproj”
(entry point):
Task “Error” skipped, due to false condition; (
‘$(_InvalidConfigurationError)’ == ‘true’ ) was evaluated as ( ‘’ == ‘true’
).
Task “Warning” skipped, due to false condition; (
‘$(_InvalidConfigurationWarning)’ == ‘true’ ) was evaluated as ( ‘’ ==
‘true’ ).
Using “Message” task from assembly “Microsoft.Build.Tasks.v4.0,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.

:::: Ican pull in .net 4.5 and try to convert the wdk project to vs project
and try again…

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 1:54 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

The “user input is required” is showing up in the Project explorer ( after
failing to load the project). After reading the osr article on conversion, I
was expecting somewhere I will see error.
So under the project the lines comes up. The drivername(load failed) tab has
a Turkish blue bang :slight_smile:

In my env., I see the following ( Q: Do I need to pull in 4.5, may be not
required!. Does vs2012 installed pulls in any .NET? )

C:\Program Files (x86)>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildT askHost.exe C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildT askHost.exe.config

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, June 07, 2012 1:32 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Msbuild is at 4.5, not 4.0. what user input is required? I have never seen
that prompt

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 1:29 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I converted one of the old project ( sources based on wdk 7), conversion
produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project
explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be
the latest .NET framework with msbuild.exe?

Thx
-pro


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


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


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

Nevermind - once again. It just different versions in different folders,
got the 4.5 under c:\windows … Need to try this first

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 1:57 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Also if I try to do the msbuild - the first sign of trouble -

Building with tools version “4.0”.
Target “_CheckForInvalidConfigurationAndPlatform” in file
“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets”
from project
“C:\Users\prokash\dp_5_17\DPLEX\win\cache_filter\nvelodiskfltr.vcxproj”
(entry point):
Task “Error” skipped, due to false condition; (
‘$(_InvalidConfigurationError)’ == ‘true’ ) was evaluated as ( ‘’ == ‘true’
).
Task “Warning” skipped, due to false condition; (
‘$(_InvalidConfigurationWarning)’ == ‘true’ ) was evaluated as ( ‘’ ==
‘true’ ).
Using “Message” task from assembly “Microsoft.Build.Tasks.v4.0,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.

:::: Ican pull in .net 4.5 and try to convert the wdk project to vs project
and try again…

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 1:54 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

The “user input is required” is showing up in the Project explorer ( after
failing to load the project). After reading the osr article on conversion, I
was expecting somewhere I will see error.
So under the project the lines comes up. The drivername(load failed) tab has
a Turkish blue bang :slight_smile:

In my env., I see the following ( Q: Do I need to pull in 4.5, may be not
required!. Does vs2012 installed pulls in any .NET? )

C:\Program Files (x86)>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildT askHost.exe C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildT askHost.exe.config

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, June 07, 2012 1:32 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Msbuild is at 4.5, not 4.0. what user input is required? I have never seen
that prompt

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 1:29 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I converted one of the old project ( sources based on wdk 7), conversion
produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project
explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be
the latest .NET framework with msbuild.exe?

Thx
-pro


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


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


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


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

I would be putting few questions in a series of response to this, in case
you can confirm …

Msbuild I’m executing is this -
C:\Users\prokash>msbuild
Microsoft (R) Build Engine version 4.0.30319.17626
[Microsoft .NET Framework, version 4.0.30319.17626]
Copyright (C) Microsoft Corporation. All rights reserved.

>>That is the latest that I pulled down, I guess this is .net 4.5 !!!

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 2:09 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Nevermind - once again. It just different versions in different folders,
got the 4.5 under c:\windows … Need to try this first

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 1:57 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Also if I try to do the msbuild - the first sign of trouble -

Building with tools version “4.0”.
Target “_CheckForInvalidConfigurationAndPlatform” in file
“C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets”
from project
“C:\Users\prokash\dp_5_17\DPLEX\win\cache_filter\nvelodiskfltr.vcxproj”
(entry point):
Task “Error” skipped, due to false condition; (
‘$(_InvalidConfigurationError)’ == ‘true’ ) was evaluated as ( ‘’ == ‘true’
).
Task “Warning” skipped, due to false condition; (
‘$(_InvalidConfigurationWarning)’ == ‘true’ ) was evaluated as ( ‘’ ==
‘true’ ).
Using “Message” task from assembly “Microsoft.Build.Tasks.v4.0,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.

:::: Ican pull in .net 4.5 and try to convert the wdk project to vs project
and try again…

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 07, 2012 1:54 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

The “user input is required” is showing up in the Project explorer ( after
failing to load the project). After reading the osr article on conversion, I
was expecting somewhere I will see error.
So under the project the lines comes up. The drivername(load failed) tab has
a Turkish blue bang :slight_smile:

In my env., I see the following ( Q: Do I need to pull in 4.5, may be not
required!. Does vs2012 installed pulls in any .NET? )

C:\Program Files (x86)>where msbuild*
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.rsp
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe.config
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.rsp
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0
Tools\MSBuildT askHost.exe C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\MSBuildT askHost.exe.config

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, June 07, 2012 1:32 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

Msbuild is at 4.5, not 4.0. what user input is required? I have never seen
that prompt

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Thursday, June 7, 2012 1:29 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Vs 2012 & driver build

I converted one of the old project ( sources based on wdk 7), conversion
produced a sln and a project file -

When I try to load, it says, project requires user input ( at the Project
explorer view of vs2012 ).

Q 1: Any output files in the folder I should look
Q2: Any doc link I can use to bootstrap myself
Q3: Does it matter what msbuild.exe I use. I’m using 4.0 that seems to be
the latest .NET framework with msbuild.exe?

Thx
-pro


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


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


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


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


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

Is there a specific section I need to have in inf for win8 build???

This following section was taking care of win7 build

;WinXP and later
[SourceDisksNames.x86]
1 = %diskid1%,\i386
[SourceDisksNames.ia64]
1 = %diskid1%,\ia64
[SourceDisksNames.amd64]
1 = %diskid1%,\amd64


Packaging up the following projects for the following configurations:

…\nveloportfltr.vcxproj Configuration=‘Win8 Debug’ Platform=‘x64’

Passing non-device INF

The following files will be packaged:

File to package:
C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\Win8Debug\x64\nveloportfltr.sys.
Location in Package: \nveloportfltr.sys.
Requested by project:
C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr.vcxproj

File to package:
C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\Win8Debug\x64\nveloportfltr.inf.
Location in Package: \nveloportfltr.inf.
Requested by project:
C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr.vcxproj

Copying file from
"C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\Win8Debug\x64\nveloportfltr.sys
" to “x64\Win8Debug\Package\nveloportfltr.sys”.
Copying file from
"C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\Win8Debug\x64\nveloportfltr.inf
" to “x64\Win8Debug\Package\nveloportfltr.inf”.
Inf2Cat:
C:\Program Files (x86)\Windows Kits\8.0\bin\x86\inf2cat.exe /os:8_x64
/driver:x64\Win8Debug\Package

Signability test failed.

Errors:
22.9.1: nveloportfltr.sys in [@nveloportfltr.sys] of \nveloportfltr.inf is
missing or cannot be decompressed from source media. Please verify all path
values specified in SourceDisksNames, SouceDisksFiles, and CopyFiles
sections resolve to the actual location of the file, and are expressed in
terms relative to the location of the inf.

Warnings:
None
C:\Program Files (x86)\Windows
Kits\8.0\build\WindowsDriver8.0.common.targets(1030,5): error MSB6006:
“inf2cat.exe” exited with code -2.
[C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr-Package\nveloport
fltr-Package.vcxproj]
Done Building Project
“C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr-Package\nveloport
fltr-Package.vcxproj” (default targets) – FAILED.
Done Building Project
“C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr.sln” (default
targets) – FAILED.

Build FAILED.

“C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr.sln” (default
target) (1) ->
“C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr-Package\nveloport
fltr-Package.vcxproj” (default target) (2) ->
(Inf2Cat target) ->
C:\Program Files (x86)\Windows
Kits\8.0\build\WindowsDriver8.0.common.targets(1030,5): error MSB6006:
“inf2cat.exe” exited with code -2.
[C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\nveloportfltr-Package\nveloport
fltr-Package.vcxproj]

0 Warning(s)
1 Error(s)

Looks like empty placeholder type cat file is no longer an option???

-pro