We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DotNet.Cli can not restore projects with ConfigFile option.
ConfigFile
Target.create "restore:dotnet" (fun _ -> !! "**/*.*proj" |> Seq.iter (DotNet.restore (fun o -> { o with ConfigFile = Some "./Nuget.Config" })) )
It should execute dotnet restore "/path/to/xxxx.csproj" --configfile "./Nuget.Config"
Starting task 'DotNet:restore': /path/to/xxxx.csproj /usr/bin/dotnet restore "/path/to/xxxx.csproj" --configFile "./Nuget.Config" MSBUILD : error MSB1001: Unknown switch. Switch: --configFile
I think it is this line set a wrong argument name for ConfigFile option, so the workaround is using DotNet.exec` instead of `DotNet.restore
DotNet.exec` instead of `DotNet.restore
The text was updated successfully, but these errors were encountered:
So the issue is that fake emits --configFile instead of --configfile, correct?
--configFile
--configfile
Sorry, something went wrong.
33c028e
5.6.1 is released and should work
Yes, It works, thank you.
No branches or pull requests
Description
DotNet.Cli can not restore projects with ConfigFile option.
Repro steps
ConfigFile
option set:Expected behavior
It should execute dotnet restore "/path/to/xxxx.csproj" --configfile "./Nuget.Config"
Actual behavior
Known workarounds
I think it is this line set a wrong argument name for
ConfigFile
option, so the workaround is usingDotNet.exec` instead of `DotNet.restore
Related information
The text was updated successfully, but these errors were encountered: