Add missing string resources to the ILVerify tool (#38630)
authorJan Kotas <jkotas@microsoft.com>
Tue, 30 Jun 2020 22:38:21 +0000 (15:38 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2020 22:38:21 +0000 (15:38 -0700)
Fixes #38623

src/coreclr/src/tools/ILVerification/ILVerification.csproj
src/coreclr/src/tools/ILVerification/ILVerification.projitems
src/coreclr/src/tools/ILVerify/ILVerify.csproj

index 89e2024..5d24c04 100644 (file)
@@ -5,6 +5,7 @@
     <CLSCompliant>false</CLSCompliant>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
+    <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
     <TargetFramework>netstandard2.0</TargetFramework>
     <PlatformTarget>AnyCPU</PlatformTarget>
   </PropertyGroup>
index 0a70575..69ee365 100644 (file)
     <Compile Include="$(MSBuildThisFileDirectory)Verifier.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)VerifierError.cs" />
   </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="$(MSBuildThisFileDirectory)Strings.resx">
+      <LogicalName>ILVerification.Strings.resources</LogicalName>
+    </EmbeddedResource>
+  </ItemGroup>
   <PropertyGroup>
     <ToolsCommonPath>$(MSBuildThisFileDirectory)..\Common\</ToolsCommonPath>
   </PropertyGroup>
index 95cb370..aeb5b5d 100644 (file)
@@ -15,7 +15,7 @@
     <Compile Include="..\Common\CommandLine\CommandLineHelpers.cs">
       <Link>CommandLine\CommandLineHelpers.cs</Link>
     </Compile>
-  </ItemGroup>  
+  </ItemGroup>
 
   <ItemGroup>
     <PackageReference Include="System.CommandLine" Version="$(SystemCommandLineVersion)" />