-
Notifications
You must be signed in to change notification settings - Fork 23
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
ArgumentNullException when parsing project file #76
Comments
By process of elimination, I was able to figure out that the exception is caused by this section of the
|
I have opened an issue with the Cake.XmlDocMarkdown project to fix their csproj file, but it would probably be a good idea to ensure the project parser in Cake.Incubator is capable of handling this content. |
Seeing as the empty references are meaningless, I'm not going to handle this as the project files could just be updated to remove the empty tags |
I was also under the impression these references were meaningless but turns out that’s not the case. If you look at the issue I previously linked, you’ll see an explanation from the Cake.XmlMarkdown author. At the very least, I would think that a more descriptive error message would make it easier to identify this situation. |
Ah, didn't know there was a catch all...another day, another piece of MSBuild trivia! I'll try and cater for this global fallback in the next release. In the meantime the worksaround appears to be explicit for each reference. |
I am trying to parse the content of this project file but I am getting an
ArgumentNullException
.The exception is:
The stack trace is:
I am currently investigating what could be causing this exception but I an opening this issue in case somebody can help me figure this out.
The text was updated successfully, but these errors were encountered: