diff --git a/TestAssets/TestPackages/dotnet-portable/Program.cs b/TestAssets/TestPackages/dotnet-portable/Program.cs
new file mode 100644
index 000000000..58d61b1bc
--- /dev/null
+++ b/TestAssets/TestPackages/dotnet-portable/Program.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace ConsoleApplication
+{
+ public class Program
+ {
+ public static void Main(string[] args)
+ {
+ Console.WriteLine("Hello Portable World!");
+ }
+ }
+}
diff --git a/TestAssets/TestPackages/dotnet-portable/project.json b/TestAssets/TestPackages/dotnet-portable/project.json
new file mode 100644
index 000000000..0f9d20ba9
--- /dev/null
+++ b/TestAssets/TestPackages/dotnet-portable/project.json
@@ -0,0 +1,18 @@
+{
+ "version": "1.0.0",
+ "compilationOptions": {
+ "emitEntryPoint": true
+ },
+
+ "frameworks": {
+ "netstandard1.5": {
+ "imports": [
+ "dnxcore50",
+ "portable-net45+win8"
+ ],
+ "dependencies": {
+ "Microsoft.NETCore.App": "1.0.0-rc2-23911"
+ }
+ }
+ }
+}
diff --git a/TestAssets/TestProjects/AppWithDirectAndToolDependency/project.json b/TestAssets/TestProjects/AppWithDirectAndToolDependency/project.json
index 7bcb08e63..c888180eb 100644
--- a/TestAssets/TestProjects/AppWithDirectAndToolDependency/project.json
+++ b/TestAssets/TestProjects/AppWithDirectAndToolDependency/project.json
@@ -17,8 +17,8 @@
},
"testRunner": "must-be-specified-to-generate-deps",
"tools": {
- "dotnet-hello": {
- "version": "2.0.0",
+ "dotnet-portable": {
+ "version": "1.0.0",
"target": "package"
}
}
diff --git a/TestAssets/TestProjects/AppWithToolDependency/project.json b/TestAssets/TestProjects/AppWithToolDependency/project.json
index 4628c7718..b25c0b2a3 100644
--- a/TestAssets/TestProjects/AppWithToolDependency/project.json
+++ b/TestAssets/TestProjects/AppWithToolDependency/project.json
@@ -12,8 +12,8 @@
}
},
"tools": {
- "dotnet-hello": {
- "version": "2.0.0",
+ "dotnet-portable": {
+ "version": "1.0.0",
"target": "package"
}
}
diff --git a/packaging/osx/Distribution-Template b/packaging/osx/Distribution-Template
deleted file mode 100644
index c220fa5ac..000000000
--- a/packaging/osx/Distribution-Template
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
- .NET CLI {VERSION}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- dotnet-osx-x64.{VERSION}.pkg
-
diff --git a/packaging/osx/clisdk/Distribution-Template b/packaging/osx/clisdk/Distribution-Template
new file mode 100644
index 000000000..7e3f3b7ad
--- /dev/null
+++ b/packaging/osx/clisdk/Distribution-Template
@@ -0,0 +1,33 @@
+
+
+ .NET CLI {VERSION}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.microsoft.dotnet.sharedframework.{SharedFrameworkNugetName}.{SharedFrameworkNugetVersion}.component.osx.x64.pkg
+ com.microsoft.dotnet.sharedhost.osx.x64.pkg
+ com.microsoft.dotnet.sdk.osx.x64.pkg
+
diff --git a/packaging/osx/scripts/postinstall b/packaging/osx/clisdk/scripts/postinstall
similarity index 86%
rename from packaging/osx/scripts/postinstall
rename to packaging/osx/clisdk/scripts/postinstall
index 0a649953a..428b79064 100755
--- a/packaging/osx/scripts/postinstall
+++ b/packaging/osx/clisdk/scripts/postinstall
@@ -12,7 +12,7 @@ INSTALL_DESTINATION=$2
chmod -R 755 $INSTALL_DESTINATION
# Add the installation bin directory to the system-wide paths
-echo $INSTALL_DESTINATION/bin | tee -a /etc/paths.d/dotnet
+echo $INSTALL_DESTINATION | tee -a /etc/paths.d/dotnet
exit 0
diff --git a/packaging/osx/package-osx.sh b/packaging/osx/package-osx.sh
deleted file mode 100755
index 819a7e1f6..000000000
--- a/packaging/osx/package-osx.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) .NET Foundation and contributors. All rights reserved.
-# Licensed under the MIT license. See LICENSE file in the project root for full license information.
-#
-
-SOURCE="${BASH_SOURCE[0]}"
-while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
- DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
- SOURCE="$(readlink "$SOURCE")"
- [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
-done
-DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
-
-help(){
- echo "Usage: $0 [--version ] [--input ] [--output