Skip to content

Commit

Permalink
NuGet: Use a more general RID's (#6674)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taritsyn authored Apr 3, 2021
1 parent 1eb36c8 commit 8a8ceba
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Build/NuGet/Windows.DotNet.All/Items.props
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition=" '$(TargetFramework)' == '' Or '$(TargetFramework.TrimEnd(`0123456789`))' == 'net' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win7-x86\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Link>x86\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win7-x64\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Link>x64\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win8-arm\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-arm\native\*.*" Condition=" '$(Platform)' == 'AnyCPU' ">
<Link>arm\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</Content>

<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win7-x86\native\*.*" Condition=" '$(Platform)' == 'x86' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\*.*" Condition=" '$(Platform)' == 'x86' ">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win7-x64\native\*.*" Condition=" '$(Platform)' == 'x64' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\*.*" Condition=" '$(Platform)' == 'x64' ">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win8-arm\native\*.*" Condition=" '$(Platform)' == 'ARM' ">
<Content Include="$(MSBuildThisFileDirectory)..\runtimes\win-arm\native\*.*" Condition=" '$(Platform)' == 'ARM' ">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
Expand Down
6 changes: 3 additions & 3 deletions Build/NuGet/Windows.DotNet.All/Primary.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<files>
<file src="Items.props" target="build\$id$.props" />

<file src="..\..\VcBuild\bin\x86_release\ChakraCore.dll" target="runtimes\win7-x86\native" />
<file src="..\..\VcBuild\bin\x64_release\ChakraCore.dll" target="runtimes\win7-x64\native" />
<file src="..\..\VcBuild\bin\arm_release\ChakraCore.dll" target="runtimes\win8-arm\native" />
<file src="..\..\VcBuild\bin\x86_release\ChakraCore.dll" target="runtimes\win-x86\native" />
<file src="..\..\VcBuild\bin\x64_release\ChakraCore.dll" target="runtimes\win-x64\native" />
<file src="..\..\VcBuild\bin\arm_release\ChakraCore.dll" target="runtimes\win-arm\native" />

$CommonFileElements$
</files>
Expand Down
6 changes: 3 additions & 3 deletions Build/NuGet/Windows.DotNet.All/Symbols.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<files>
<file src="Items.props" target="build\$id$.props" />

<file src="..\..\VcBuild\bin\x86_release\ChakraCore.pdb" target="runtimes\win7-x86\native" />
<file src="..\..\VcBuild\bin\x64_release\ChakraCore.pdb" target="runtimes\win7-x64\native" />
<file src="..\..\VcBuild\bin\arm_release\ChakraCore.pdb" target="runtimes\win8-arm\native" />
<file src="..\..\VcBuild\bin\x86_release\ChakraCore.pdb" target="runtimes\win-x86\native" />
<file src="..\..\VcBuild\bin\x64_release\ChakraCore.pdb" target="runtimes\win-x64\native" />
<file src="..\..\VcBuild\bin\arm_release\ChakraCore.pdb" target="runtimes\win-arm\native" />

$CommonFileElements$
</files>
Expand Down
6 changes: 3 additions & 3 deletions Build/NuGet/package-data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<package id="Microsoft.ChakraCore.X86" nuspecFile="Windows.DotNet.Arch\Primary.nuspec">
<properties>
<platformArchitecture>x86</platformArchitecture>
<runtimeIdentifier>win7-x86</runtimeIdentifier>
<runtimeIdentifier>win-x86</runtimeIdentifier>
</properties>
<preprocessableFiles>
<file src="Windows.DotNet.Arch\Items.props.mustache"
Expand All @@ -39,7 +39,7 @@
<package id="Microsoft.ChakraCore.X64" nuspecFile="Windows.DotNet.Arch\Primary.nuspec">
<properties>
<platformArchitecture>x64</platformArchitecture>
<runtimeIdentifier>win7-x64</runtimeIdentifier>
<runtimeIdentifier>win-x64</runtimeIdentifier>
</properties>
<preprocessableFiles>
<file src="Windows.DotNet.Arch\Items.props.mustache"
Expand All @@ -49,7 +49,7 @@
<package id="Microsoft.ChakraCore.ARM" nuspecFile="Windows.DotNet.Arch\Primary.nuspec">
<properties>
<platformArchitecture>arm</platformArchitecture>
<runtimeIdentifier>win8-arm</runtimeIdentifier>
<runtimeIdentifier>win-arm</runtimeIdentifier>
</properties>
<preprocessableFiles>
<file src="Windows.DotNet.Arch\Items.props.mustache"
Expand Down

0 comments on commit 8a8ceba

Please sign in to comment.