-
Notifications
You must be signed in to change notification settings - Fork 866
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
Assertion failure in 2.5.2 #719
Comments
Hmm. I'll try with the zip files from each of the releases then (2.4.0, 2.5.0, 2.5.1) to see where it came from. I was using DNX for 2.4.0, so I don't know whether there's a significant difference in the code there... |
Okay, the zip file for 2.4.0 doesn't work for me because it doesn't handle project.json files, but 2.5.0 fails in the same way as the original post :( |
We found something wrong in project.json: "Release": {
"buildOptions": {
"define": [ "DEBUG", "TRACE" ],
"optimize": true
}
} @qinezh Release build should not contain |
The issue should be fixed in latest release DocFX, could you have a try? |
Nope, I'm afraid I still get the same assertion failure with 2.5.3 :( |
I have reproducible sample here. For me, issue reproduces when I have interface method with template. Steps to reproduce:
docfx.json:
add to IInterface.cs:
Implementation.cs:
2.5.3 version. The assertion that fails is I tried to create unit test with repro, but the The test is at https://github.com/nothrow/docfx/commit/26787fd579a0c1625d3c2940075d6bfdc38637df |
The issue may caused by that |
New release updated |
Hooray - this does seem to have fixed it, thanks. |
Just one comment: I think that the fix in v2.5.4 just hides the issue. It was not regression, I reproduced the issue even before v2.5.2, when compiled with My .02$ advice would be - don't use |
This is using 2.5.2 from the zip file, against a dotnet cli project. (It's not fully clear to me whether that's supported, but at least the result could be prettier...)
Running
docfx metadata -f path/to/docfx.json
I get a Watson screen as below:Two problems:
The same project works fine in 2.4, btw.
The text was updated successfully, but these errors were encountered: