-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
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
Regression: VCProj failed with "Unable to parse ProjectReference" #1657
Comments
|
can you send me such a broken csproj file? |
|
Hi it's not necessary c# project. Seems that paket cannot parse the project reference. Here is a sample repo. |
|
I can't reproduce with the zip. What do I need to do exactly? |
|
Typically "Paket Install" was crashing. We figured undocumented (?) --Verbose option, and it gives us call stack at the time of the crash. What else can we do to get more specific information about the caus of the problem? |
|
How can I reproduce that with the zip? install works for me |
|
New repro created (attached). I think the culprit is that referenced project is a static library. |
|
I don't know what Paket is trying to do with the Project reference, but in this case it is used solely to establish project build order and I believe may be safely ignored by paket. Just don't crash on it. |
|
I can reproduce. thanks |
Description
Please provide a succinct description of your issue.
We updated to 2.63.2.0 from 2.54.0.0 and our vcproj with references to boost is failing to parse.
Paket failed with:
unable to parse ProjectReference
StackTrace:
at Paket.ProjectFileModule.forceGetInnerText@1061-5.Invoke(String message)
at Paket.ProjectFileModule.getInterProjectDependencies@1063.GenerateNext(IEnumerable
1& next) at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase1.MoveNextImpl()at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable
1 source) at Paket.InstallProcess.dependencies@206-11[a](GroupName groupName, FSharpFunc2 findDependencies, Dictionary2 projectCache, Dictionary2 dependencyGraph, Dictionary2 referenceFiles, ProjectFile projectFile) at Paket.InstallProcess.applyBindingRedirects@223-3.Invoke(ProjectFile projectFile) at Paket.BindingRedirects.applyBindingRedirectsToFolder@166.Invoke(ProjectFile projectFile) at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc2 action, IEnumerable1 source) at Paket.InstallProcess.InstallIntoProjects(InstallerOptions options, Boolean forceTouch, DependenciesFile dependenciesFile, LockFile lockFile, FSharpList1 projectsAndReferences)at Paket.UpdateProcess.SmartInstall(DependenciesFile dependenciesFile, UpdateMode updateMode, UpdaterOptions options)
at <StartupCode$Paket-Core>.$PublicAPI.Install@170.Invoke(Unit unitVar0)
at Paket.Utils.RunInLockedAccessMode[a](String rootFolder, FSharpFunc
2 action) at Paket.Program.handler@340-11.Invoke(ParseResults1 results)at Paket.Program.processWithValidation[T](FSharpFunc
2 validateF, FSharpFunc2 commandF, Command command, String[] args)at Paket.Program.processCommand@61-1.Invoke(Command command, String[] args)
at Paket.Program.main()
Repro steps
Please provide the steps required to reproduce the problem
Expected behavior
paket install to run correctly
Actual behavior
Error on paket install that "Unable to parse ProjectReference"
Known workarounds
Go back to the older version
Related information
Windows 10
.net 4.6
The text was updated successfully, but these errors were encountered: