diff --git a/build.fsx b/build.fsx index 107fc51d4..1b6cf75ce 100644 --- a/build.fsx +++ b/build.fsx @@ -52,7 +52,8 @@ Target "BuildRelease" (fun _ -> DotNetCli.Build (fun p -> { p with - Project = "FsAutoComplete.netcore.sln" }) + Project = "FsAutoComplete.netcore.sln" + AdditionalArgs = [ "/p:SourceLinkCreate=true" ] }) ) let integrationTests = diff --git a/paket.dependencies b/paket.dependencies index ef7412f1f..6d49f523d 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -32,7 +32,6 @@ group Netcore nuget System.Collections.Immutable nuget OptimizedPriorityQueue - group Build framework: net45 source https://www.nuget.org/api/v2/ @@ -57,3 +56,10 @@ group IntegrationTests nuget Http.fs nuget Newtonsoft.Json nuget System.Net.WebSockets.Client + +group SourceLink + storage: none + source https://www.nuget.org/api/v2/ + nuget SourceLink.Create.CommandLine 2.6.1 + nuget SourceLink.Embed.PaketFiles 2.6.1 + \ No newline at end of file diff --git a/paket.lock b/paket.lock index 162a75b86..2ff16fdd9 100644 --- a/paket.lock +++ b/paket.lock @@ -914,6 +914,13 @@ NUGET GITHUB remote: Microsoft/visualfsharp src/fsharp/FSharp.Build/Fsc.fs (cc1b137bc17f401a0cc669ff8fc598714d0fe652) +GROUP SourceLink +STORAGE: NONE +NUGET + remote: https://www.nuget.org/api/v2 + SourceLink.Create.CommandLine (2.6.1) + SourceLink.Embed.PaketFiles (2.6.1) + GROUP Test RESTRICTION: == net45 NUGET diff --git a/src/FsAutoComplete.Core.VerboseSdkHelper.netcore/FsAutoComplete.Core.VerboseSdkHelper.fsproj b/src/FsAutoComplete.Core.VerboseSdkHelper.netcore/FsAutoComplete.Core.VerboseSdkHelper.fsproj index 6a1f19ce6..013ac5505 100644 --- a/src/FsAutoComplete.Core.VerboseSdkHelper.netcore/FsAutoComplete.Core.VerboseSdkHelper.fsproj +++ b/src/FsAutoComplete.Core.VerboseSdkHelper.netcore/FsAutoComplete.Core.VerboseSdkHelper.fsproj @@ -6,6 +6,8 @@ + + diff --git a/src/FsAutoComplete.Core.netcore/FsAutoComplete.Core.fsproj b/src/FsAutoComplete.Core.netcore/FsAutoComplete.Core.fsproj index 05ecc2dc2..a03b17570 100644 --- a/src/FsAutoComplete.Core.netcore/FsAutoComplete.Core.fsproj +++ b/src/FsAutoComplete.Core.netcore/FsAutoComplete.Core.fsproj @@ -40,6 +40,8 @@ + + diff --git a/src/FsAutoComplete.netcore/FsAutoComplete.fsproj b/src/FsAutoComplete.netcore/FsAutoComplete.fsproj index d36b4a650..faf87e8a7 100644 --- a/src/FsAutoComplete.netcore/FsAutoComplete.fsproj +++ b/src/FsAutoComplete.netcore/FsAutoComplete.fsproj @@ -23,6 +23,8 @@ + +