View unanswered posts | View active topics


Reply to topic  [ 3 posts ] 
Updating plugin for FD4 
Author Message
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Updating plugin for FD4
I'm updating my slimtimer plugin for fd4. I've managed to get it built and running fine in C# express debugging, however when I build for release, and copy into my working copy plugins folder I get the following error on running fd.

Code:
Could not load file or assembly 'file:///C:\Users\Phil\AppData\Local\FlashDevelop\Plugins\SlimTimer.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at FlashDevelop.Utilities.PluginServices.AddPlugin(String fileName)
   at FlashDevelop.Utilities.PluginServices.FindPlugins(String path)
   at FlashDevelop.MainForm.InitializeMainForm()


I get the same error if I copy in the built sample plugin.

_________________
http://www.quizmash.com


Fri Nov 04, 2011 12:03 am
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10745
Location: Paris, France
Post Re: Updating plugin for FD4
Is the plugin compiled for .NET 2?


Fri Nov 04, 2011 10:43 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: Updating plugin for FD4
No it was set to 4. I think C# express changes it all in it's "project upgrade" wizard.
Thanks for that Phillipe.

_________________
http://www.quizmash.com


Sat Nov 05, 2011 11:41 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.