Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-01-14 17:16:31 +0300
committerGitHub <noreply@github.com>2019-01-14 17:16:31 +0300
commit311d1952af4f86d67d0d0339b213298ae3b65d39 (patch)
treed4da09c6b2b51ed8e1b632b222075f404a28134e /msvc
parentb2ec37efde56b202659759e08fb6b62e73c434f5 (diff)
[bcl] Embed Source Link information (#12403)
Source Link allows IDEs/debuggers to retrieve a source file from a remote location like GitHub when the local file isn't available. Specification: https://github.com/dotnet/designs/blob/e55c517a1e7f8dc35b092397058029531209d610/accepted/diagnostics/source-link.md For now we only embed info about mono, cecil, corefx and corert since that covers 99% of what you usually want to debug and doesn't need fancy logic that reads git submodules and figures out their URLs. Should enable use cases like https://twitter.com/jlaban/status/1084248087802060801
Diffstat (limited to 'msvc')
-rwxr-xr-xmsvc/scripts/genproj.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs
index 2e1056d0bcb..ee1518a0b5d 100755
--- a/msvc/scripts/genproj.cs
+++ b/msvc/scripts/genproj.cs
@@ -713,6 +713,9 @@ public class MsbuildGenerator {
case "/features":
return true;
+
+ case "/sourcelink":
+ return true;
}
Console.Error.WriteLine ($"// Failing with : {arg}");