Interop.Microsoft.Office.*.dll missing on publish
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/InteropMicrosoft-missing-on-publish/1108259)._
---
I am using Visual Studio Enterprise 2019 16.6.3.
In a .NET Core 3.1 WPF solution there are libraries that use MS Office COM references. When I publish a WPF application via FolderProfile that references such a library, the Interop.Microsoft.Office.*.dll is missing in the publish directory. However, it is available in the build directory of the library.
I have attached a small example. Just call
msbuild Exe\Exe.csproj /t:restore /t:publish /p:Configuration=Release /p:Platform=x64 /p:PublishProfile=FolderProfile
---
### Original Comments
#### Wolfgang Kordts on 7/9/2020, 11:33 PM:
(private comment, text removed)
#### Feedback Bot on 7/10/2020, 10:39 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
#### Feedback Bot on 10/30/2020, 02:25 PM:
I detected that this issue hasn’t received a lot of activity, votes, or comments in the past 90 days. Based on this, the issues severity and affected area, it’s my experience that this issue is unlikely to get fixed. To improve the situation, consider following best practices for quality problem reports, and giving us more details on how this issue is impacting you.
#### Mila Zhou[MSFT] on 11/3/2020, 05:02 PM:
Thank you for taking the time to log this issue! Did you still reproduce this issue in the latest stable version of Visual Studio installed from https://visualstudio.microsoft.com/downloads ?
If so, in order for us to investigate this further, could you please provide repro steps, a more detailed description of the faulty behavior and the actions you were taking when the issue appeared to help us better understand this scenario?
We look forward to hearing from you!
#### Wolfgang Kordts on 11/4/2020, 02:49 PM:
I added a replicate example a long time ago. So it can be reproduced.
In the meantime, in cooperation with another Microsoft employee, we have come to the conclusion that the Interop Dlls are not required in the delivery in order to run correctly.
#### Feedback Bot on 12/3/2020, 01:29 AM:
Thank you for reporting this issue to us. We have changed the title to better describe the problem so others can find and engage with it.
---
### Original Solutions
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.