diff options
Diffstat (limited to 'src/WixToolset.Core/CompilerWarnings.cs')
| -rw-r--r-- | src/WixToolset.Core/CompilerWarnings.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CompilerWarnings.cs b/src/WixToolset.Core/CompilerWarnings.cs index 3b9666dd..eb838ae2 100644 --- a/src/WixToolset.Core/CompilerWarnings.cs +++ b/src/WixToolset.Core/CompilerWarnings.cs | |||
| @@ -6,6 +6,16 @@ namespace WixToolset.Core | |||
| 6 | 6 | ||
| 7 | internal static class CompilerWarnings | 7 | internal static class CompilerWarnings |
| 8 | { | 8 | { |
| 9 | public static Message DirectoryRefStandardDirectoryDeprecated(SourceLineNumber sourceLineNumbers, string directoryId) | ||
| 10 | { | ||
| 11 | return Message(sourceLineNumbers, Ids.DirectoryRefStandardDirectoryDeprecated, "Using DirectoryRef to reference the standard directory '{0}' is deprecated. Use the StandardDirectory element instead.", directoryId); | ||
| 12 | } | ||
| 13 | |||
| 14 | public static Message DefiningStandardDirectoryDeprecated(SourceLineNumber sourceLineNumbers, string directoryId) | ||
| 15 | { | ||
| 16 | return Message(sourceLineNumbers, Ids.DefiningStandardDirectoryDeprecated, "It is no longer necessary to define the standard directory '{0}'. Use the StandardDirectory element instead.", directoryId); | ||
| 17 | } | ||
| 18 | |||
| 9 | public static Message DiscouragedVersionAttribute(SourceLineNumber sourceLineNumbers) | 19 | public static Message DiscouragedVersionAttribute(SourceLineNumber sourceLineNumbers) |
| 10 | { | 20 | { |
| 11 | return Message(sourceLineNumbers, Ids.DiscouragedVersionAttribute, "The Provides/@Version attribute should not be specified in an MSI package. The ProductVersion will be used by default."); | 21 | return Message(sourceLineNumbers, Ids.DiscouragedVersionAttribute, "The Provides/@Version attribute should not be specified in an MSI package. The ProductVersion will be used by default."); |
| @@ -48,6 +58,8 @@ namespace WixToolset.Core | |||
| 48 | PropertyRemoved = 5433, | 58 | PropertyRemoved = 5433, |
| 49 | DiscouragedVersionAttribute = 5434, | 59 | DiscouragedVersionAttribute = 5434, |
| 50 | Win64Component = 5435, | 60 | Win64Component = 5435, |
| 61 | DirectoryRefStandardDirectoryDeprecated = 5436, | ||
| 62 | DefiningStandardDirectoryDeprecated = 5437, | ||
| 51 | } | 63 | } |
| 52 | } | 64 | } |
| 53 | } | 65 | } |
