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 }}
Repository navigation
Variables in ProjectReference include attribute should be parsed #1377
Paket should parse macro's/variables in the ProjectReference include attribute used. We have the following include path which is not accepted by Paket:
Paket gives the following error when parsing the csproj file:
Unable to parse C:\MySolution\Project1\$(SolutionDir)Subfolder\MyProject\MyProject.csproj:
Could not find a part of the path 'C:\MySolution\Project1\$(SolutionDir)Subfolder\MyProject\MyProject.csproj'.
For us it is good enough to just resolve the SolutionDir only. When accepted we can try to fix it ourself. Is there already a method which resolves macro's/variables available within the Paket source?
I can include the full log, but I think this is the most important path. I do not get much more error information when using -v:
Installing to C:\Work\ManagedCodeGit\CrossPoint.Service.CrossConnectServer\CrossPoint.Service.CrossConnectServerProxy\CrossPoint.Library.CrossConnectServerProxy.csproj
- Deleting Paket Reference nodes
Unable to parse C:\Work\ManagedCodeGit\CrossPoint.Service.CrossConnectServer\CrossPoint.Database\CrossPoint.Database\$(SolutionDir)CrossPoint.Library.Core\CrossPoint.Framework\CrossPoint.Framework.csproj:
Could not find a part of the path 'C:\Work\ManagedCodeGit\CrossPoint.Service.CrossConnectServer\CrossPoint.Database\CrossPoint.Database\$(SolutionDir)CrossPoint.Library.Core\CrossPoint.Framework\CrossPoint.Framework.csproj'.
Unable to parse C:\Work\ManagedCodeGit\CrossPoint.Service.CrossConnectServer\CrossPoint.Database\CrossPoint.Library.Core\CrossPoint.Framework\CrossPoint.Framework.csproj:
Could not find a part of the path 'C:\Work\ManagedCodeGit\CrossPoint.Service.CrossConnectServer\CrossPoint.Database\CrossPoint.Library.Core\CrossPoint.Framework\CrossPoint.Framework.csproj'.
Activity
forki commentedon Jan 12, 2016
can you please run the same command with -v and give the full error message?
ErwinSteffens commentedon Jan 12, 2016
I can include the full log, but I think this is the most important path. I do not get much more error information when using -v:
forki commentedon Jan 12, 2016
I was interested in the call stack from where this error is thrown.
ErwinSteffens commentedon Jan 12, 2016
It does not give a stacktrace, only the exception message. This method fails in the ProjectFile.fs on line 1116:
ErwinSteffens commentedon Jan 12, 2016
Here is the stacktrace:
forki commentedon Jan 12, 2016
please try with 2.42.4