I made a program in Visual Studio 2010 that targeted .NET 4.0 originally. However, now I need to target .NET 3.5 instead of 4.0. How can I change my target framework version to compile with an earlier version of .NET?
If your code is compilable with C# 3.5 (depends on what you used), right click on your project and press on properties, then in application tab change target framework to 3.5.
Your project will be reloaded and you may now compile it
This article explains you what you should have not used if you want compile code on 3.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With