From 311d1952af4f86d67d0d0339b213298ae3b65d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 14 Jan 2019 15:16:31 +0100 Subject: [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 --- msvc/scripts/genproj.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'msvc') 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}"); -- cgit v1.2.3