-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Explicit DocumentationFile=path instead of GenerateDocumentationFile=true leads to build race #1599
Milestone
Comments
This was referenced Sep 20, 2017
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jun 7, 2022
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jun 7, 2022
…e name characters
GangWang01
pushed a commit
to GangWang01/sdk
that referenced
this issue
Jul 11, 2022
@vlada-shubina, did you close this by mistake? d8bb6c2 seems to relate to dotnet/templating#1599 and not to this #1599. |
yes, it was incorrectly closed. I will check what else might be affected shortly |
JL03-Yue
pushed a commit
that referenced
this issue
Mar 19, 2024
…505.2 (#1599) [main] Update dependencies from dotnet/arcade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Previously, C# projects would set an explicit intermediate path for the documentation file. This leads to using the same intermediate path for different TFMs that are built in parallel. We implemented GenerateDocumentationFile=true, but users porting existing projects might not know about it.
While the fix is simple (use GenerateDocumentationFile), the error is intermittent and doesn't at all hint at the fix: "cannot write to obj\Debug\Something.xml: already in use".
We should detect when the DocumentationFile is going to be written to the intermediate output path minus TFM in a multi-targeted project and issue an error. Alternatively, we could implement a fixup to insert the TFM in to the DocumentationFile path.
See also:
The text was updated successfully, but these errors were encountered: