diff --git a/build.proj b/build.proj
index 89b46fb761..7014ea77b2 100644
--- a/build.proj
+++ b/build.proj
@@ -6,6 +6,9 @@
+
+ false
+
src\NuGet.config
Debug
AnyCPU
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 1fa393eccb..b1d427fd7b 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -80,12 +80,7 @@
true
-
-
-
-
-
-
+
@@ -95,6 +90,7 @@
+
diff --git a/tools/targets/RepositoryInfo.targets b/tools/targets/RepositoryInfo.targets
new file mode 100644
index 0000000000..c62efed34a
--- /dev/null
+++ b/tools/targets/RepositoryInfo.targets
@@ -0,0 +1,41 @@
+
+
+
+
+
+ false
+ false
+ false
+
+
+
+
+
+
+
+ true
+ <_TranslateUrlPattern>https://[^/]+/ADO.Net/_git/([^/-]+)-(.+)
+ <_TranslateUrlReplacement>https://github.com/dotnet/SqlClient
+
+
+
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace($(ScmRepositoryUrl), $(_TranslateUrlPattern), $(_TranslateUrlReplacement)))
+
+
+
+
+
+
+ $([System.Text.RegularExpressions.Regex]::Replace(%(SourceRoot.ScmRepositoryUrl),
+ $(_TranslateUrlPattern), $(_TranslateUrlReplacement)))
+
+
+
+
+