<link>http://www.ncryptoki.com/forum.aspx</link> <description /> <docs>http://www.rssboard.org/rss-specification</docs> <generator>mojoPortal Forum module</generator> <item> <title>Re: NCryptoki in .NET 4 Hi Mark,

to use NCryptoki in a .NET 4 application you have to add this lines to your app.config file under <configuration> tag:

<startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
</startup>

 

Regards,

Ugo Chirico
http://www.ugochirico.com

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=3~-1#post4 Mark1 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Tue, 21 Sep 2010 10:03:03 GMT NCryptoki in .NET 4 Hi,

I'm trying to use NCryptoki in my .NET 4 application but when I run the application I get the following exception:

"FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."

How can I use NCryptoki in my .NET 4 app?

Mark

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=3~-1#post3 Mark1 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Tue, 21 Sep 2010 09:56:42 GMT