-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Incorrect COMReference entries when including Office interop #796
Comments
@JohnyL Is this a run time or build time error? It seems like a run time error and is because of the missing types. The fix would be to deploy the PIA or add the |
@AaronRobinsonMSFT Yes, it's run time error. Adding |
@rainersigwald I don't have access to the MSBuild repo, but I think this work might need to happen there. I believe that contains the logic for adding the @Pilchie Does VS handle the updating of the |
I'm not on the project system team anymore, so tagging @jjmew, but you can use https://github.com/dotnet/project-system for issues there. |
This can be closed in lieu of dotnet/project-system#5735 |
@drewnoakes Thanks! |
To include Excel interop libraries, I do the following:
Dependencies -> Add Reference -> COM -> Microsoft Excel 14.0 Object Library
. When I do this, I get the followingItemGroup
:However, I get the following error:
In order to work, I have created .NET Framework app, added COM reference there and copied its COMReference - and it works:
The text was updated successfully, but these errors were encountered: