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
Using the framework: auto-detect ability of paket.dependencies prevents the user from running paket simplify. The following error is produced:
C:\code\opus\Api.Tenant [master ≡ +2 ~0 -0 !]> .paket/paket simplify --verbose
Paket version 3.1.3.0
found: C:\code\opus\Api.Tenant\paket.dependencies
Parsing C:\code\opus\Api.Tenant\paket.dependencies
Paket failed with:
The framework restriction could not be determined.
StackTrace:
at Paket.Requirements.getRestrictionList(FrameworkRestrictions frameworkRestrictions)
at <StartupCode$Paket-Core>.$DependenciesFile.SimplifyFrameworkRestrictions@604.Invoke(DependenciesFile dependenciesFile, DependenciesGroup group)
at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState](FSharpFunc`2 folder, TState state, IEnumerable`1 source)
at Paket.Simplifier.simplify@68.Invoke(LockFile _arg1)
at Chessie.ErrorHandling.Trial.fSuccess@66-11[p,r,q](FSharpFunc`2 f, p x, FSharpList`1 msgs)
at <StartupCode$Paket-Core>.$PublicAPI.fSuccess@1-2(FSharpFunc`2 f, PaketEnv x, FSharpList`1 msgs)
at <StartupCode$Paket-Core>.$PublicAPI.Simplify@91.Invoke(Unit unitVar0)
at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc`2 action)
at Paket.Program.handler@418-15.Invoke(ParseResults`1 results)
at Paket.Program.processWithValidation[T](FSharpFunc`2 validateF, FSharpFunc`2 commandF, Command command, String[] args)
at Paket.Program.processCommand@61-1.Invoke(Command command, String[] args)
at Paket.Program.main()
Repro steps
Use framework: auto-detect in your paket.dependencies, then try to simplify.
Expected behavior
The framework to use is inferred from the projects in the solution pre-simplify.
Actual behavior
The exception above is presented.
Known workarounds
Specify the exact framework in the paket.dependencies file.
Related information
Win10
Master, paket 3.1.3.0
.NET Runtime 4.6.1
The text was updated successfully, but these errors were encountered:
Description
Using the
framework: auto-detect
ability of paket.dependencies prevents the user from runningpaket simplify
. The following error is produced:Repro steps
Use
framework: auto-detect
in your paket.dependencies, then try to simplify.Expected behavior
The framework to use is inferred from the projects in the solution pre-simplify.
Actual behavior
The exception above is presented.
Known workarounds
Specify the exact framework in the paket.dependencies file.
Related information
The text was updated successfully, but these errors were encountered: