I am getting an error box popup that says TargetFrameworkMoniker: value does not fall within the expected range. I am using VisualStudio 2012. This is a windows form application. I have searched around and have found hat this error shows up when an element in the form has a duplicate name, which my form does not. I have upgraded all other projects in my solution and this is the last one.
steps to reproduce:
Right click on the project and go to properties in the application tab
Change the Target framework from .NET Framework 4, to .NET Framework 4.5
Click Yes on the box that asks me if I am really sure.
Error Message pops up.
I am not sure how to find the real error with stacktrace.
Does anyone have any suggestions?