PockyBum522 / template-inventor-core-addin

.NET 6 Add-In template for AutoDesk Inventor
MIT License
10 stars 1 forks source link

Microsoft.VisualStudio.Interop #1

Open patrickiel opened 1 year ago

patrickiel commented 1 year ago

Hello, could you tell me why do you reference the "Microsoft.VisualStudio.Interop.dll"? Thanks! :)

PockyBum522 commented 1 year ago

If I remember correctly, that is the interop into visual basic, and not a DLL for doing interop with other applications from visual basic.

I believe that DLL can get selected when you need to do some things in WPF and it's interchangeable with several nuget packages that have since replaced that functionality.

I would say delete the line and see what breaks, or if you want I can look at what is using it and what replaces that but it'll probably be a few days.

On Sat, Apr 8, 2023, 2:32 AM patrickiel @.***> wrote:

Hello, could you tell me why do you reference the "Microsoft.VisualStudio.Interop.dll"? Thanks! :)

— Reply to this email directly, view it on GitHub https://github.com/PockyBum522/template-inventor-core-addin/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPBGD2CBPU76QFEDJDJ6W3XAEBANANCNFSM6AAAAAAWXIYGTA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

patrickiel commented 1 year ago

Thanks for the answer! According to the documentation (https://learn.microsoft.com/en-us/visualstudio/extensibility/visual-studio-sdk?WT.mc_id=visualstudio_extensibility_aka_VSExtensibility&view=vs-2022)

Visual Studio interop assemblies allow managed applications to access the COM interfaces that provide Visual Studio extensibility.

It looks to me like it is not relevant and can be deleted. I have now deleted this reference, starts without problems, we will see if it stays that way ... :)