I have had the same problem, and I had to set the “Target Framework” of all the projects to be the same. Then it built fine. On the Project menu, click ProjectName Properties. Click the compile tab. Click Advanced Compile Options. In the Target Framework, choose your desired framework.
More Related Contents:
- Shared AssemblyInfo for uniform versioning across the solution
- VS2010 – How to automatically stop compile on first compile error
- streamWriter rewrite the file or append to the file
- How to make a tabbed window as in the picture using Visual C# (Studio 2010)
- Display lines number in Stack Trace for .NET assembly in Release mode
- Can’t view designer when coding a form in C#
- What is the difference between Debug and Release in Visual Studio?
- Detect target framework version at compile time
- Why we have both jagged array and multidimensional array?
- The name ‘ConfigurationManager’ does not exist in the current context
- How do I fix a .NET windows application crashing at startup with Exception code: 0xE0434352?
- Parsing Visual Studio Solution files
- Combining multiple Attributes to a single Attribute – Merge Attributes
- Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug
- Request.UrlReferrer null?
- Visual Studio 2013 doesn’t discover unit tests
- Enable SSL in Visual Studio
- No Source available
- Writing to output window of Visual Studio
- How can we change the background color of all other forms from one form?
- How do I generate a constructor from class fields using Visual Studio (and/or ReSharper)?
- Why does TestInitialize get fired for every test in my Visual Studio unit tests?
- Getter and Setter declaration in .NET [duplicate]
- Symbol file not loading for debugging custom project in Visual Studio 2012
- How can I make implementation of an interface produce an auto property instead of NotImplementedException?
- Get types used inside a C# method body
- Service Reference Error: Failed to generate code for the service reference
- F5 or Start Debugging Button is Greyed Out for Winform application?
- WCF, Interface return type and KnownTypes
- Custom Color Palette in Visual Studio Color Property Editor