We start a new project today ;-) using version 8.4.1.19 (stable). I see a few changes with additional .dlls. So I ran up a new install and created a VS Solution with 2 projects and all is good as a basic install running on .Net Framework 4 as normal. Now I wanted to add a class library to my solution because we will be handling some web services and some outboard data bases too. We need some DW .dll references which are referenced directly from the Application bin folder. So now my solution wont build, problem is my new library (running on Framework 4):
using Dynamicweb;
Error 31 The type or namespace name 'Dynamicweb' could not be found (are you missing a using directive or an assembly reference?) C:\Projects\Medilink\MedilinkWeb.Library\Data\SqlData.cs 1 7 MedilinkWeb.Library
Warning 15 The primary reference "Dynamicweb" could not be resolved because it was built against the ".NETFramework,Version=v4.5.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". MedilinkWeb.Library
Warning 16 The primary reference "Dynamicweb" could not be resolved because it has an indirect dependency on the assembly "Dynamicweb.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.5.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". MedilinkWeb.Library
So I physically copy all (about 14 dlls) to my library bin folder and include in project - still the same.
So I change the Library Target framework to 4.5.1 in the Library - and all is good. I delete all the .dlls from the library bin folder - all is good (dlls seem to be re-created?)
So what has changed in this version re Framework target 4.5.1? What is your best advice? running the solution with some projects in 4 and others in 4.5.1 - Should I be worried? (Upgrades etc)