A set of .NET Framework managed libraries for developing graphical user interfaces.
If possible share the error screenshot will understand more about it.
In the mean time you just try below solutions
- Go to Build -> clean solution -> and rebuild.
- From solution explorer -> clean and re build.
- Suppose you incorporated any add-ons or DLL its not supported framework. so check the add-ons or DLL frame work requirement and convert your project to that framework.
- In this case create new project and test it's working or not. may be old project only having this issue. Thanks.