In my case it was a project defined using Target Framework: “.NET Framework 4.0 Client Profile ” that tried to reference dll projects defined using Target Framework: “.NET Framework 4.0”.
Once I changed the project settings to use Target Framework: “.NET Framework 4.0” everything was built nicely.
Right Click the project->Properties->Application->Target Framework
Related Contents:
- MSBuild doesn’t copy references (DLL files) if using project dependencies in solution
- Break in Class Module vs. Break on Unhandled Errors (VB6 Error Trapping, Options Setting in IDE)
- How can I reference a dll in the GAC from Visual Studio?
- The located assembly’s manifest definition does not match the assembly reference
- Microsoft.ACE.OLEDB.12.0 provider is not registered
- How do I install a NuGet package .nupkg file locally?
- Visual Studio: How to break on handled exceptions?
- What are the differences between Visual Studio Code and Visual Studio?
- How do I diagnose and fix a Visual Studio (for example 2015, 2017) crash?
- What are the obj and bin folders (created by Visual Studio) used for?
- How do I add an existing directory tree to a project in Visual Studio?
- Difference between Rebuild and Clean + Build in Visual Studio
- Visual Studio opens the default browser instead of Internet Explorer
- Where does Visual Studio 2017 store its config?
- How do you count the lines of code in a Visual Studio solution?
- Call C standard library function from asm in Visual Studio
- Can you force Visual Studio to always run as an Administrator in Windows 8?
- How do I set a path in Visual Studio?
- How do I set specific environment variables when debugging in Visual Studio?
- Will installing Visual Studio 2010 side by side with VS2008 cause problems?
- Custom Intellisense Extension
- Error: Cannot access file bin/Debug/… because it is being used by another process
- Mercurial .hgignore for Visual Studio 2008 projects
- How do you default a new class to public when creating it in Visual Studio?
- Exclude files from web site publish in Visual Studio
- Why is Visual Studio 2010 not able to find/open PDB files?
- How to turn off CodeLens-References
- “Process with an Id of #### is not running” in Visual Studio
- Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging
- How do I “Add Existing Item” an entire directory structure in Visual Studio?
- Open a file in Visual Studio at a specific line number
- Has anyone had success with Visual Studio 6 on Windows 7?
- How does CMake specify “Platform Toolset” for a Visual Studio 2015 project?
- Adding a guideline to the editor in Visual Studio
- Visual Studio – Attach to process shortcut
- Visual Studio project type guids
- How to use Assembly Binding Redirection to ignore revision and build numbers
- Visual Studio 2015 installer hangs during install?
- Solution-wide pre-build event?
- What does “Register for COM Interop” actually do?
- How do I use Qt in my Visual Studio 2015 projects?
- How do I change the startup project of a Visual Studio solution via CMake?
- Assembly binding redirect does not work
- Avoiding “Press any key to continue” when running console application from Visual Studio
- Tool to view the contents of the Solution User Options file (.suo)
- Unblocking a DLL on a company machine. How?
- Open two instances of a file in a single Visual Studio session
- What does Visual Studio mean by normalize inconsistent line endings?
- CMake: Visual Studio 15 2017 could not find any instance of Visual Studio
- Visual Studio – how to find source of heap corruption errors