Fix incorrect metadata on SOS.NETCore.dll (#11395) again (#11415)
authorMike McLaughlin <mikem@microsoft.com>
Fri, 5 May 2017 05:48:21 +0000 (22:48 -0700)
committerGitHub <noreply@github.com>
Fri, 5 May 2017 05:48:21 +0000 (22:48 -0700)
There was a simple msbuild property.

Issue #11381

src/ToolBox/SOS/NETCore/SOS.NETCore.csproj

index 8aab60c..44019bc 100644 (file)
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <NoStdLib>true</NoStdLib>
     <NoCompilerStandardLib>true</NoCompilerStandardLib>
+    <IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly>
     <UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
 
     <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two properties to any folder that exists to skip
          the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). -->
     <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories>
     <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths>
-    
   </PropertyGroup>
 
   <!-- Default configurations to help VS understand the options -->
   </PropertyGroup>
 
   <ItemGroup>
-    <AssemblyInfoLines Include="[assembly: AssemblyMetadata(&quot;.NETFrameworkAssembly&quot;, &quot;&quot;)]" />
-  </ItemGroup>
-
-  <ItemGroup>
     <Compile Include="SymbolReader.cs" />
   </ItemGroup>