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
Private = forceGetInnerText n "Private"|> bool.Parse }]
) the function tries to read a node named Private. It also (due to the use of the forceGetInnerText function) throws an exception when this node is not found.
I checked, (and even tried to re-add the reference) but this node is not created in my project files.
Is there any reason for not reading this node in a more soft manner, IE: If it is present, read it. If not assume False ?
The text was updated successfully, but these errors were encountered:
Need to catch the bus home soon, I'll see what I can do in the evening.
I did load up one of the test files used in the tests of this feature, and found that all the projectreference nodes there had the private sub node, but VS underlined them and gave a warning that it was an invalid child elemen "Private" so not sure it should even be there.
I suppose making the parsing soft is a safe step anyway, then we can remove it later if it has no use.
Vidarls
pushed a commit
to Vidarls/Paket
that referenced
this issue
Dec 12, 2014
I just took over a project from another team and wanted to put it into our buildsystem (using Project Scaffolding as the base).
I noticed a strange failure when creating nuget packages (using the code from fsprojects/ProjectScaffold#116).
Part of what is done in this code is to calculate interproject dependencies of libary output projects and adding them as nuget dependencies.
For this I use
ProjectFile.GetInterProjectDependencies()
which failed with the messageunable to parse ProjectReference
After reading the code of this function I found that on line 269 (
Paket/src/Paket.Core/ProjectFile.fs
Line 269 in 9c48e20
Private
. It also (due to the use of theforceGetInnerText
function) throws an exception when this node is not found.I checked, (and even tried to re-add the reference) but this node is not created in my project files.
Is there any reason for not reading this node in a more soft manner, IE: If it is present, read it. If not assume
False
?The text was updated successfully, but these errors were encountered: