-
Notifications
You must be signed in to change notification settings - Fork 867
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
"ResolveComReference" task error when using a new-style csproj #3777
Comments
Has anyone had a chance to look into this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. |
I got something similar, also happening with new SDK style projects and regarding ResolveComReference. But I think it startet with docfx version 2.44. The error I got is the following:
I have no idea why the error message is partly german. It states something like:
and the second part something like:
The error occurs, when a SDK-style project with COM references is added to the solution. |
DocFX Version Used:
docfx.console 2.40.4
withVS Pro 15.9.4
Template used:
default
Steps to Reproduce:
MSBuild.exe
.build.bat
in https://github.com/willson556/DocFXCOMReferenceBug repo.procexp.exe
and see several openMSBuild.exe
processes with Handle toDocFXComReferenceBug/ReferencedApp
.Expected Behavior:
.csproj
with a COM Reference.Actual Behavior:
Additional Notes:
This issue does not occur when using a old-style
.csproj
(withoutSdk
attribute).I'm not sure how much of this issue falls on MSBuild vs MSBuild.Sdk.Extras vs. DocFX's invocation of MSBuild. I filed the issue here because I figured the DocFX team was better placed than me to answer any follow-up questions the MSBuild team might have.
One other thing I did notice is that DocFX doesn't pass the
/nr:false
flag along to the MSBuild processes it creates -- we have to set theMSBUILDDISABLENODEREUSE=1
environment variable.Possibly Related Issues in other Microsoft Repos:
Thanks!
The text was updated successfully, but these errors were encountered: