I have a class library build in .net framework 4.0. i want to add it to an old project build in .net framework 3.5 .. is there any way to do it other than upgrading the old project? also it will be helpful if you could tell me how to downgrade my dll to 3.5
Share
You won’t be able to run the .NET 4.0 DLL in a .NET 3.5 process.
If you have the source code, then you can convert it to .NET 3.5 by changing the target framework of the project (either in Visual Studio or by hand). If the source code is relying on .NET 4.0 specific features then you will have to change it to work with .NET 3.5. Whether or not this is feasible depends on how heavily the code is relying on .NET 4.0 features and whether the same effect can be achieved using only .NET 3.5.