diff options
author | Senthil <schellap@microsoft.com> | 2015-12-31 03:04:02 +0300 |
---|---|---|
committer | Senthil <schellap@microsoft.com> | 2015-12-31 03:04:02 +0300 |
commit | 451b0994afba8797b13f905f279a0238827e561d (patch) | |
tree | e6e58085719d33e90246585db6a3bf6e44cb1d93 /src/packaging | |
parent | d326164780a9b3cbdf9913497668f17df3f499a4 (diff) |
Include --native-subdirectory support
This should help in packaging for cross compilation. The CI should pass once https://github.com/dotnet/cli/pull/675 is ready to go.
Cc @gkhanna79
Diffstat (limited to 'src/packaging')
-rw-r--r-- | src/packaging/packages.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/packaging/packages.targets b/src/packaging/packages.targets index 427c949a8..0c2757613 100644 --- a/src/packaging/packages.targets +++ b/src/packaging/packages.targets @@ -254,7 +254,7 @@ <WriteLinesToFile File="$(Stage0ProjectJsonFile)" Lines="$(Stage0ProjectJsonLines)" Overwrite="true" /> <WriteLinesToFile File="$(Stage0ProjectDir)/Program.cs" Lines="class Program { public static void Main() { } }" Overwrite="true" /> <Exec Command=""$(DnuToolPath)" restore -s "$(ProductPackageDir)" $(DnuRestoreSource) "$(Stage0ProjectDir)" --runtime "$(NuPkgRid)"" /> - <Exec Command=""$(DnuToolPath)" publish "$(Stage0ProjectDir)" -o "$(Stage0PublishDir)" -f "dnxcore50" --runtime "$(NuPkgRid)"" /> + <Exec Command=""$(DnuToolPath)" publish "$(Stage0ProjectDir)" --native-subdirectory -o "$(Stage0PublishDir)" -f "dnxcore50" --runtime "$(NuPkgRid)"" /> <!-- =================== self-host ================= --> <!-- Use stage0 ilc.exe/corerun to compile stage1 runtime libs --> @@ -300,7 +300,7 @@ <WriteLinesToFile File="$(Stage1ProjectJsonFile)" Lines="$(Stage1ProjectJsonLines)" Overwrite="true" /> <WriteLinesToFile File="$(Stage1ProjectDir)/Program.cs" Lines="class Program { public static void Main() { } }" Overwrite="true" /> <Exec Command=""$(DnuToolPath)" restore -s "$(ProductPackageDir)" $(DnuRestoreSource) "$(Stage1ProjectDir)" --runtime "$(NuPkgRid)"" /> - <Exec Command=""$(DnuToolPath)" publish "$(Stage1ProjectDir)" -o "$(Stage1PublishDir)" -f "dnxcore50" --runtime "$(NuPkgRid)"" /> + <Exec Command=""$(DnuToolPath)" publish "$(Stage1ProjectDir)" --native-subdirectory -o "$(Stage1PublishDir)" -f "dnxcore50" --runtime "$(NuPkgRid)"" /> </Target> </Project> |