-
Notifications
You must be signed in to change notification settings - Fork 55
Error with SourceLink with BouncyCastle #175
Comments
I'm hoping to get others involved. Troubleshooting this should be pretty easy. The error message shows To reproduce, do the checkout that AppVeyor shows:
Then simply set |
The underlying error is produced with this Create-SourceLink.ps1
If you comment out the last line 898, it works. Looks like we've hit a limitation in the args length. Any official documentation on this limit? I created that script with this one: open System.IO
let create() =
use sw = new StreamWriter "Create-SourceLink.ps1"
fprintfn sw "dotnet sourcelink-git create `"
fprintfn sw "-f \"obj\\Debug\\net4\\sourcelink.json\" `"
fprintfn sw "-u \"https://raw.githubusercontent.com/onovotny/bc-csharp/{commit}/*\" `"
let files = Directory.GetFiles(".", "*.cs", SearchOption.AllDirectories) |> List.ofSeq
printfn "%d files" files.Length
for f in files do
fprintfn sw "-s \"%s\" `" f
create() |
@ctaggart We've hit that all over the place...the only real answer is to write the args to a response file and suck them in as a parameter. For example, in Refit: https://github.com/paulcbetts/refit/blob/master/Refit/targets/refit.targets#L19 That's the real reason most of the compiler tool chain takes .rsp files as args. |
Getting an error here with the 2.0.2 version:
https://ci.appveyor.com/project/onovotny/bc-csharp/build/1.8.2-beta.30.build.30#L343
No idea...?
The text was updated successfully, but these errors were encountered: