diff --git a/external/dir.props b/external/dir.props
index 250e89c72f5c..800b9127e076 100644
--- a/external/dir.props
+++ b/external/dir.props
@@ -6,9 +6,6 @@
$(IntermediateOutputPath)$(ArchGroup)/
- $(MSBuildThisProjectDirectory)project.json.template
- $(IntermediateOutputPath)project.json
- $(IntermediateOutputPath)project.lock.json
$(RuntimeOS)-$(ArchGroup)
diff --git a/external/dir.targets b/external/dir.targets
index 84ddfc97ae11..0365aa74c726 100644
--- a/external/dir.targets
+++ b/external/dir.targets
@@ -1,4 +1,10 @@
+
+ $(MSBuildThisProjectDirectory)project.json.template
+ $(IntermediateOutputPath)project.json
+ $(IntermediateOutputPath)project.lock.json
+
+
@@ -16,7 +22,7 @@
diff --git a/external/netfx/Configurations.props b/external/netfx/Configurations.props
index 26837694bae8..07b0930eafa7 100644
--- a/external/netfx/Configurations.props
+++ b/external/netfx/Configurations.props
@@ -3,7 +3,12 @@
+ net45;
+ net451;
+ net46;
net461;
+ net462;
+ net463;
netcoreapp;
diff --git a/external/netfx/netfx.depproj b/external/netfx/netfx.depproj
index 4fe3b6227083..7e9bce2189bd 100644
--- a/external/netfx/netfx.depproj
+++ b/external/netfx/netfx.depproj
@@ -3,8 +3,17 @@
Reference
- .NETFramework,Version=v4.6.1
None
+ $(RefRootPath)/$(TargetGroup)
+
+
+
+ Microsoft.TargetingPack.NETFramework.v4.6.2
+
+
+
+ .NETFramework,Version=v4.6.1
+ Microsoft.TargetingPack.NETFramework.v4.6.1
$(NetFxRefPath)
diff --git a/external/netfx/project.json b/external/netfx/project.json
deleted file mode 100644
index cf1090db1295..000000000000
--- a/external/netfx/project.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "frameworks": {
- "net461": {
- "dependencies": {
- "Microsoft.TargetingPack.NETFramework.v4.6.1": "1.0.1"
- }
- }
- }
-}
diff --git a/external/netfx/project.json.template b/external/netfx/project.json.template
new file mode 100644
index 000000000000..4cc6dfed2d6b
--- /dev/null
+++ b/external/netfx/project.json.template
@@ -0,0 +1,9 @@
+{
+ "frameworks": {
+ "{TFM}": {
+ "dependencies": {
+ "{PackageId}": "1.0.1"
+ }
+ }
+ }
+}
diff --git a/external/netstandard/Configurations.props b/external/netstandard/Configurations.props
index c398e42e8994..2e14c5a1f6fb 100644
--- a/external/netstandard/Configurations.props
+++ b/external/netstandard/Configurations.props
@@ -2,6 +2,14 @@
+ netstandard1.0;
+ netstandard1.1;
+ netstandard1.2;
+ netstandard1.3;
+ netstandard1.4;
+ netstandard1.5;
+ netstandard1.6;
+ netstandard2.0;
netstandard;
diff --git a/external/netstandard/netstandard.depproj b/external/netstandard/netstandard.depproj
index 072ff0f3afc9..c3cca8af4f25 100644
--- a/external/netstandard/netstandard.depproj
+++ b/external/netstandard/netstandard.depproj
@@ -4,7 +4,8 @@
Reference
None
- $(NetStandardRefPath)
+ $(RefRootPath)/$(TargetGroup)
+ $(MSBuildProjectDirectory)\netstandard1.x\project.json.template
+
+
+
+ portable_net45+win8+sl5;
+ portable_net40+sl4+win8+wp8;
+
+
+
\ No newline at end of file
diff --git a/external/portable/portable.depproj b/external/portable/portable.depproj
new file mode 100644
index 000000000000..e079484cea74
--- /dev/null
+++ b/external/portable/portable.depproj
@@ -0,0 +1,11 @@
+
+
+
+
+ Reference
+ None
+ $(RefRootPath)/$(TargetGroup)
+
+
+
+
\ No newline at end of file
diff --git a/external/portable/project.json.template b/external/portable/project.json.template
new file mode 100644
index 000000000000..08936feb37fc
--- /dev/null
+++ b/external/portable/project.json.template
@@ -0,0 +1,9 @@
+{
+ "frameworks": {
+ "{TFM}": {
+ "dependencies": {
+ "{PackageId}": "1.0.0"
+ }
+ }
+ }
+}