less than 1 minute read

If you are building a Windows Forms project (regardless of the target version of the .NET Framework) and it fails to compile on another machine that does not have Visual Studio 2015 Update 1 RC installed, here is a simple trick to fix the issue.

Delete every obj folder at the root of each of your projects. If you have multiple projects in your solution, you can use the methods described in this Stack Overflow post to delete them all at once.

Once all obj folders are deleted, clean the solution and press F5 to run the project. It should build and run without any issues.

Smile