diff options
| author | andylsn <[email protected]> | 2024-01-24 13:12:44 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-24 13:12:44 -0800 |
| commit | ae267d0928bc42ec90dc7e5bf03267f237c12585 (patch) | |
| tree | b83d4b41f9e8574ddb815b1430d78b0cd87d0096 /Build-Sample.ps1 | |
| parent | 868a761b4bbf111a4a5d4135d9dd4628de553c4a (diff) | |
Update projects so that no warning/error is logged for AddSoftware Type1 (#1086)
Co-authored-by: Shunni Li <[email protected]>
Diffstat (limited to 'Build-Sample.ps1')
| -rw-r--r-- | Build-Sample.ps1 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build-Sample.ps1 b/Build-Sample.ps1 index a7c9deb2..365656ef 100644 --- a/Build-Sample.ps1 +++ b/Build-Sample.ps1 @@ -141,13 +141,12 @@ Write-Verbose "Building Sample: $SampleName; Configuration: $Configuration; Plat # Exclude certain InfVerif exceptions to allow samples to build and detect other errors. # error 1205: Section [xxx] referenced from DelFiles and CopyFiles directive - network\trans -# error 1144: Device software with SoftwareType 1 may not execute on all product types - general\dchu\osrfx2_dchu_extension_tight # error 1233: Missing directive CatalogFile required for digital signature - storage\class\disk # error 2083: Section [xxx] not referenced or used - network\trans, storage\msdsm # error 2084: Service binary 'xxx' should reference a CopyFiles destination file - network\trans, wpd\wpdservicesampledriver # errors 1324, 1420, 1421, 1402 will be excluded in main branch only until the fixes are merged. # error 2086 will be excluded until the WDK used in GitHub is updated. -msbuild $solutionFile -clp:Verbosity=m -t:clean,build -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="/samples /msft /sw1144 /sw1199 /sw1205 /sw1233 /sw1324 /sw1420 /sw1421 /sw2083 /sw2084 /sw2086 /sw1402" -p:SignToolWS=/fdws -p:DriverCFlagAddOn=/wd4996 -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath +msbuild $solutionFile -clp:Verbosity=m -t:clean,build -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="/samples /msft /sw1199 /sw1205 /sw1233 /sw1324 /sw1420 /sw1421 /sw2083 /sw2084 /sw2086 /sw1402" -p:SignToolWS=/fdws -p:DriverCFlagAddOn=/wd4996 -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath if ($env:WDS_WipeOutputs -ne $null) { Write-Verbose ("WipeOutputs: "+$Directory+" "+(((Get-Volume ($DriveLetter=(Get-Item ".").PSDrive.Name)).SizeRemaining/1GB))) |
