consulo-csharp icon indicating copy to clipboard operation
consulo-csharp copied to clipboard

COM Libraries

Open Sajito opened this issue 7 years ago • 8 comments

Hi,

is there any way to add COM Library dependencies without needing to add the .dll file? For example the Microsoft.Office.Interop library.

Thank you

Sajito avatar Jan 01 '18 09:01 Sajito

Hi. At current moment .NET plugin not provide library resolve paths to other libraries (than standard .NET libraries).

I am downloading VS 2017, for understanding this logic.

Thanks

VISTALL avatar Jan 01 '18 13:01 VISTALL

Hello, again.

Trying to add you library, and not found it in COM dependencies

Found it's here

Can you say correct library name ?

Thanks

VISTALL avatar Jan 01 '18 15:01 VISTALL

Hi,

yes, that's the correct library. I've used it in Visual Studio 2015 and there I found it under COM. Though that one was just as an example, since it was the library which made me think of it.

Sajito avatar Jan 01 '18 17:01 Sajito

Can you say your VS version? COM libraries placed in VS distribution directory

VISTALL avatar Jan 01 '18 18:01 VISTALL

Just checked again and I have that library under Assemblies. But still that library is not selectable in Consulo IDE. How do I add them in there?

Sajito avatar Jan 01 '18 18:01 Sajito

Depends to your VS version. My Office library was placed here

C:\Program Files (x86)\Microsoft Visual Studio\Shared\Visual Studio Tools for Office\PIA\Office15\Microsoft.Office.Interop.Excel.dll

I will understand correct this logic and show additional tab in UI.

Thanks

VISTALL avatar Jan 01 '18 18:01 VISTALL

Thank you for your help.

OT: I know it doesn't belong here, but I don't want to spam your issue trackers with issues you might already know. I'm having issues with importing projects created with VS. After importing the project I can't add libraries, because the standard library tab won't show anything. Also it won't recognize the methods in existing dependencies. Should I open a new Issue on this in the MSBuild repository?

Sajito avatar Jan 01 '18 18:01 Sajito

https://discuss.consulo.io/

:)

Show you project setup etc

VISTALL avatar Jan 01 '18 19:01 VISTALL