Is there support for suppressing individual ice warnings?
Currently my wix sources are throwing the following "Pendantic" mode ice
warnings due to me using the variables approach show below for arriving at what
those settings should be. I'd like a way to suppress these understood and
accepted warnings so that my tfs server automated msbuild .proj file processing
doesn't run into build breaks because it sees code analysis warnings.
1. The 'Platform' attribute is invalid - The value '$(var.TargetPlatform)' is
invalid according to its datatype 'NmToken' - The '$' character, hexadecimal
value 0x24, cannot be included in a name.
2. The 'Win64' attribute is invalid - The value '$(var.Win64)' is invalid
according to its datatype 'http://schemas.microsoft.com/wix/2006/wi:YesNoType'
- The '$' character, hexadecimal value 0x24, cannot be included in a name.
<?xml version="1.0" encoding="utf-8"?>
<Include>
<!-- compile time processing of environment or wix variable settings -->
<?ifndef TargetPlatform ?>
<?define TargetPlatform = "x64" ?>
<!--<?define TargetPlatform = "intel" ?>--> <!-- == x86 -->
<?endif?>
<?if $(var.TargetPlatform) = "x64"?>
<?define ProcessorArchitecture = "amd64" ?>
<?define ProcessorType = "x64" ?>
<?define ProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define ProgramFilesFolderX86 = "ProgramFilesFolder" ?>
<?define SystemFolder = "System64Folder" ?>
<?define SystemFolderX86 = "SystemFolder" ?>
<?define SoftwareKey = "Software" ?>
<?define SoftwareKeyX86 = "Software\Wow6432Node" ?>
<?define Win64 = "yes" ?>
<?else?>
<?define ProcessorArchitecture = "x86" ?>
<?define ProcessorType = "x86" ?>
<?define ProgramFilesFolder = "ProgramFilesFolder" ?>
<?define ProgramFilesFolderX86 = "ProgramFilesFolder" ?>
<?define SystemFolder = "SystemFolder" ?>
<?define SystemFolderX86 = "SystemFolder" ?>
<?define SoftwareKey = "Software" ?>
<?define SoftwareKeyX86 = "Software" ?>
<?define Win64 = "no" ?>
<?endif?>
</Include>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users