C # works on old .net version

I recently wrote a C # program in framework 4, before implementing all the work of company 3.5.

This is a problem mainly due to the support of charting.

My question is: is it possible to simply embed DLLs that will be missing from the application? So .net is on the machine, just some parts that are packaged with the application are missing.

Thanks for any feedback!

+4
source share
3 answers

Yes, you can. Just consider the new features of the .NET Framework 4 as a third-party graphics library. But make sure that (1) you have used all the necessary DLLs. (2) you did not use other new .net 4 features other than graphs.

+1
source

You will have problems with this since .NET 4 works with the new version of the CLR runtime.

I think your best and safest bet would be to try and compile a project for Framework 3.5. Of course, this depends on the size and features you used, but I don’t think you should have a lot of problems with the conversion. Of course, if you rely heavily on new features, such as dynamic ones, this may not be so simple.

+3
source

Are you using any .NET code? If not, you can simply rebuild the application and configure .NET 3.5, we will consider its simple change of settings in the project properties here:

http://msdn.microsoft.com/en-us/library/bb398202.aspx

+1
source

All Articles