Hi,
when using the new 1.5.1 assemblies (build 90130) from my .net 4.0 application I receive a NotSupportedExeption "The invoked member is not supported in a dynamic assembly." when calling
var app = new NetOffice.ExcelApi.Application();
I don't know why, because the examples in
\Examples\Misc\C#\Examples\MiscExamples
don't throw this exception.
After some investigation I found
http://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx
(<loadFromRemoteSources> Element)
and after setting it in my app.config it works fine.
I have my project sources and assemblies all stored on a local drive somewhere under c:\ !
Prior to this I used version 1.3 and I didn't receive this exception!
So I enabled DebugConsole.Mode to Trace and receive the attached exception infos
when using the new 1.5.1 assemblies (build 90130) from my .net 4.0 application I receive a NotSupportedExeption "The invoked member is not supported in a dynamic assembly." when calling
var app = new NetOffice.ExcelApi.Application();
I don't know why, because the examples in
\Examples\Misc\C#\Examples\MiscExamples
don't throw this exception.
After some investigation I found
http://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx
(<loadFromRemoteSources> Element)
and after setting it in my app.config it works fine.
I have my project sources and assemblies all stored on a local drive somewhere under c:\ !
Prior to this I used version 1.3 and I didn't receive this exception!
So I enabled DebugConsole.Mode to Trace and receive the attached exception infos