Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

.NET Framework 4.0 problem (Solved) - No bridge func

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

.NET Framework 4.0 problem (Solved) - No bridge func

Post by limbo »

OK i'm back with a solution (based on Andrew's config file)
Andrew wrote:OK. I have an solution from MS Connect:
There's not much we can do now about the runtime activation implementation in 4.0. It may be possible to work around the Windows behavior with a hack but given where we are in the product cycle this is very unlikely to happen.
However, if you don't mind running LCD Smartie managed plugins in .NET 4.0, you can configure the app so by adding the following config file (named LCDSmartie.exe.config):
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
</configuration>
I altered a bit this file and finally all plugins are loaded with out any problem... at least on my system (need more people to test it).
So LCDSmartie.exe.config file should contain the following:

Code: Select all

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
 <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>
this file should be placed in LCD Smartie directory.
You do not have the required permissions to view the files attached to this post.

twhyman
Posts: 19
Joined: October 20th, 2006, 8:10 am

Re: .NET Framework 4.0 problem

Post by twhyman »

Hi,

Thanks for the .config file it's working now on Windows 7 x64 :D

No more "Bridge Func" or exceptions.

Thank you :D

stephenord
Posts: 1
Joined: February 17th, 2008, 12:33 am

Re: .NET Framework 4.0 problem

Post by stephenord »

Hi,

Me too, All now working now on Windows 7 x64 again, had been wondering what had broken my setup!

No more "Bridge Func" or exceptions.

Thank you!

usling
Posts: 38
Joined: September 5th, 2008, 1:55 pm

Re: .NET Framework 4.0 problem

Post by usling »

thank you!

Lcdsmartie now works again on my win7 64bit version. I have lots of plugins, all seem to work again.

fb2805
Posts: 1
Joined: July 26th, 2010, 9:18 am

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by fb2805 »

Hello,

where do I copy the code? In the "LCDSmartie.cfg" or the "config.ini"?

Best regards,
fb2805

isacdan
Posts: 3
Joined: June 29th, 2010, 10:37 am
Location: Romania
Contact:

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by isacdan »

limbo wrote: this file should be placed in LCD Smartie directory.

Cnuut
Posts: 1
Joined: October 6th, 2008, 11:49 pm

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by Cnuut »

Nice! works fine for me :)

almamater
Posts: 2
Joined: August 11th, 2009, 9:58 am

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by almamater »

Thanks!!!! Works Perfect :D :D :D :D

DethMarine21
Posts: 2
Joined: March 25th, 2010, 9:41 pm

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by DethMarine21 »

Thanks for the fast fix :D

karicsek
Posts: 1
Joined: January 13th, 2010, 6:46 pm

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by karicsek »

Nagyon köszönöm. Így már ok.
Thanks.
Karicsek

Wormi
Posts: 1
Joined: March 23rd, 2009, 2:05 pm

Re: .NET Framework 4.0 problem (Solution Found) - No bridge func

Post by Wormi »

Thx! Works for me too (Win7 64bit) :D

ssurgey
Posts: 1
Joined: December 14th, 2010, 4:44 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by ssurgey »

sorted my machine out as well, windows 7 X64

hirkkak
Posts: 1
Joined: February 23rd, 2011, 11:38 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by hirkkak »

Thanks, finally is working.
Window 7 X64

dustbuster
Posts: 1
Joined: March 2nd, 2011, 7:09 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by dustbuster »

Maybe it sounds a little dumb but can you tell me how it suppose to be done?
This file is for download or I need to modify the old one (which one?)?
I just didn`t get it.

Regards

mister
Posts: 11
Joined: January 4th, 2011, 3:02 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by mister »

dustbuster wrote:Maybe it sounds a little dumb but can you tell me how it suppose to be done?
This file is for download or I need to modify the old one (which one?)?
I just didn`t get it.

Regards
+1

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by limbo »

dustbuster wrote:Maybe it sounds a little dumb but can you tell me how it suppose to be done?
This file is for download or I need to modify the old one (which one?)?
I just didn`t get it.
Regards
Just use the file attached. Unzip it and you have nothing more to do! :D
Config_file.zip
Unzip the file to your LCD Smartie directory (and cross your fingers) :)
(284 Bytes)

necoinside
Posts: 7
Joined: November 11th, 2007, 1:08 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by necoinside »

Hi, I use win7 x64 and my used programs keep updating .Net Framework version to V4.5.1 and I'm getting same error (no bridge func). If I uninstall v4.5 and install v4.0, LCD Smartie works perfectly.
Also when if I try to change LCDSmartie.exe.config file and write 4.5 or 4.5.1, LCDSmartie crashes when dll used screen comes.
How can I solve that problem and work normal with .NET Framework v4.5 ?

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by limbo »

Sorry i'm getting back to you late but can you please check the versions installed on your system and report it back here?
https://msdn.microsoft.com/en-us/librar ... 2147217396

necoinside
Posts: 7
Joined: November 11th, 2007, 1:08 pm

Re: .NET Framework 4.0 problem (Solved) - No bridge func

Post by necoinside »

Yes sure, here it is what I have as .Net Framework:
Image

If I try to install 4.0 it does not accept and says you have newer version. So I can install 4.0 after uninstalling 4.5 and than plugins work but some of my programs doesn't work with 4.0.

I don't know why it is not working with 4.5 and something lookslike strange on my registers. I think there need to be a new folder as v4.5 instead of v4.

Thanks for helping.

Post Reply