views:

27

answers:

1

Hello,

I currently develop an application in C# with framework .NET 3.5 SP1.

In my app, I have satellite assemblies which are not in the same folder as the exe, and that causes me some trouble with FullTrust, as explained here.

In order to solve that problem, I wish to use .NET 4.0 whose Code Access Security Policy should allow my satellite assemblies to be FullyTrusted.

So my question is: is just installing the framework enough, or do I need to rebuild the solution with VS2010?

Thanks

+3  A: 

To use anything in .net 4.0 you need to recompile the application to use the .net 4.0 runtime environment. Remember the .net runtime environments run side by side, so a 3.5 application will still use it's runtime environment (2.0) and not the newest one.

Kevin
OK, thanks for the answer.
leo