You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2020. It is now read-only.
I'm a bit confused why there is a document with a blank guid showing up.
2 Documents with errors:
00000000-0000-0000-0000-000000000000 fsharp C:\Users\CameronTaggart\fs\Paket\src\Paket.Core\unknown
https://raw.githubusercontent.com/fsprojects/Paket/76f174ba5f033f63237cebc7f70211e65c582f29/src/Paket.Core/unknown
error: url failed NotFound: Not Found
43344be7465a330ca6145cf1f6064a2f md5 fsharp C:\Users\CameronTaggart\fs\Paket\paket-files\fsharp\FAKE\src\app\FakeLib\Globbing\Globbing.fs
https://raw.githubusercontent.com/fsprojects/Paket/76f174ba5f033f63237cebc7f70211e65c582f29/paket-files/fsharp/FAKE/src/app/FakeLib/Globbing/Globbing.fs
error: url failed NotFound: Not Found
sourcelink test failed
I worked around a MSBuild 15 bug with restore by referencing Microsoft.NuGet.Build.Tasks.Workaround. I worked around dotnet tools not working with F# projects by creating and using SourceLink.Create.CommandLine instead of SourceLink.Create.GitHub. These are both in Directory.Build.props:
SourceLink.Create.GitHub embeds files not in the repository automatically, but SourceLink.Create.CommandLine can't do that. To get the source files from paket-files embedded in the pdb, I created an EmbedPaketFiles target that gets automatically run using Directory.Build.targets:
nuget install paket.core -pre
dotnet sourcelink test .\Paket.Core.5.0.0-alpha013\Paket.Core.5.0.0-alpha013.nupkg
dotnet sourcelink test .\Paket.Core.5.0.0-alpha013\lib\net45\Paket.Core.pdb
dotnet sourcelink print-json .\Paket.Core.5.0.0-alpha013\lib\net45\Paket.Core.pdb
Source Link JSON not found in file: .\Paket.Core.5.0.0-alpha013\lib\net45\Paket.Core.pdb
Activity
ctaggart commentedon Mar 26, 2017
Solved the uknown file with #183.
ctaggart commentedon Apr 1, 2017
The pull request is working. Here are some notes. I switched the AppVeyor build to VS 2017 in
appveyor.yml:I added the equivalent of
msbuild /t:Restoreinbuild.fsx:I worked around a MSBuild 15 bug with restore by referencing
Microsoft.NuGet.Build.Tasks.Workaround. I worked around dotnet tools not working with F# projects by creating and using SourceLink.Create.CommandLine instead of SourceLink.Create.GitHub. These are both inDirectory.Build.props:SourceLink.Create.GitHub embeds files not in the repository automatically, but SourceLink.Create.CommandLine can't do that. To get the source files from
paket-filesembedded in thepdb, I created anEmbedPaketFilestarget that gets automatically run usingDirectory.Build.targets:I wish F# would have been consistent with the C# MSBuild targets by using
@(EmbeddedFiles)too and not requiring full paths.ctaggart commentedon May 6, 2017
This is in Packet.Core
fsprojects/Paket@4ca52a4
first tag is 5.0.0-alpha013
Added the pdb files to the nupkg:
fsprojects/Paket#2313
ctaggart commentedon May 6, 2017
Going to need to
We should add a test to the build.
ctaggart commentedon May 18, 2017
fsprojects/Paket#2313 shows how to add the portable pdb files to nuget package using both paket pack and dotnet pack. The dotnet pack uses an MSBuild ItemGroup labeled
dotnet pack instructionsas described in https://docs.microsoft.com/en-us/dotnet/articles/core/tools/extensibility.Paket.Core.fsproj