aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-07-12 21:54:24 -0700
committerRob Mensching <rob@firegiant.com>2018-07-12 21:54:24 -0700
commitd16eb4dbbef5e29b4096f8d378253d4d3ca85a82 (patch)
treefa1e197a3feb01cf4ce71c6810d559e690cd7e0d
parent22497cb5c93d99a3ef81f170cf28b22ba54a2db8 (diff)
downloadwix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.tar.gz
wix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.tar.bz2
wix-d16eb4dbbef5e29b4096f8d378253d4d3ca85a82.zip
Improve error message when argument is missing for a switch
-rw-r--r--src/WixToolset.Data/ErrorMessages.cs2
-rw-r--r--src/WixToolset.Data/WixToolset.Data.csproj3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs
index 7ce94157..81f67c81 100644
--- a/src/WixToolset.Data/ErrorMessages.cs
+++ b/src/WixToolset.Data/ErrorMessages.cs
@@ -389,7 +389,7 @@ namespace WixToolset.Data
389 389
390 public static Message ExpectedArgument(string argument) 390 public static Message ExpectedArgument(string argument)
391 { 391 {
392 return Message(null, Ids.ExpectedArgument, "{0} is expected to be followed by a value argument.", argument); 392 return Message(null, Ids.ExpectedArgument, "{0} is expected to be followed by a value. See -? for additional detail.", argument);
393 } 393 }
394 394
395 public static Message ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) 395 public static Message ExpectedAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName)
diff --git a/src/WixToolset.Data/WixToolset.Data.csproj b/src/WixToolset.Data/WixToolset.Data.csproj
index d56af370..00a0ed95 100644
--- a/src/WixToolset.Data/WixToolset.Data.csproj
+++ b/src/WixToolset.Data/WixToolset.Data.csproj
@@ -1,9 +1,7 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> 2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 3
4
5<Project Sdk="Microsoft.NET.Sdk"> 4<Project Sdk="Microsoft.NET.Sdk">
6
7 <PropertyGroup> 5 <PropertyGroup>
8 <TargetFramework>netstandard2.0</TargetFramework> 6 <TargetFramework>netstandard2.0</TargetFramework>
9 <Title>WiX Toolset Data</Title> 7 <Title>WiX Toolset Data</Title>
@@ -13,5 +11,4 @@
13 <ItemGroup> 11 <ItemGroup>
14 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.7" PrivateAssets="all" /> 12 <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.7" PrivateAssets="all" />
15 </ItemGroup> 13 </ItemGroup>
16
17</Project> 14</Project>