Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

How to reference CSharpBinding.dll (Debug build)

$
0
0

Hello,

I am trying to write an addin that references the CSharpBinding.Dll.

I have included the following Import tag in my addin

<Import assembly="$ICSharpCode.CSharpBinding/CSharpBinding.dll" />

However, unless I place a copy of the dll in my own addin's folder  SD is unable to find the dll.

Is the above import tag the correct way to reference the CSharpBinding.dll?

I have also tried adding an App.config redirect but it just seems to be ignored.

Looking forrward to any assistance you can provide.

Regards

pianoboy

Upon further investigation I have discovered that this is only a problem when using a debug build of sharpdevelop 4.4. If using a release build there is no problem and in fact no import tag is required. In fact looking further into the debug build even though it displays the "Cannot Load" error for the csharpbinding, if you click on OK the addin is loaded and works as normal and can in fact is referencing the csharpbinding.dll.

pianoboy



Viewing all articles
Browse latest Browse all 1764

Trending Articles