Update the License to MIT for coreclr repo (#11482)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 10 May 2017 15:38:20 +0000 (08:38 -0700)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 15:38:20 +0000 (08:38 -0700)
dir.props
src/.nuget/dir.targets

index 4968884..915468c 100644 (file)
--- a/dir.props
+++ b/dir.props
 
   <!-- Packaging properties -->
   <PropertyGroup>
+    <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
     <PreReleaseLabel>preview2</PreReleaseLabel>
     <PackageDescriptionFile>$(SourceDir).nuget/descriptions.json</PackageDescriptionFile>
     <PackageLicenseFile>$(SourceDir).nuget/dotnet_library_license.txt</PackageLicenseFile>
index 8628a0d..a488694 100644 (file)
     </ItemGroup>
   </Target>
 
+  <!-- OverrideLicenseUrl is temporary till we update the buildtools to v2 -->  
+  <Target Name="OverrideLicenseUrl" BeforeTargets="GenerateNuSpec">
+    <PropertyGroup>
+      <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
+    </PropertyGroup>
+  </Target>
+
   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)\.., dir.targets))\dir.targets" />
 </Project>