I have made a simple WPF app that uses cefSharp.wcf. I am trying to create a deployment package, but I cannot get the package to build. When I try and build the package I get the following errors :
The primary reference "C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.netcore\x64\Debug\netcoreapp3.1\win-x64\CefSharp.MinimalExample.Wpf.netcore.dll" could not be resolved because it has an indirect dependency on the assembly "CefSharp.Wpf, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5.1". 1>The primary reference "C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.netcore\x64\Debug\netcoreapp3.1\win-x64\CefSharp.MinimalExample.Wpf.netcore.dll" could not be resolved because it has an indirect dependency on the assembly "CefSharp.BrowserSubprocess.Core, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5.1". 1>The primary reference "C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.netcore\x64\Debug\netcoreapp3.1\win-x64\CefSharp.MinimalExample.Wpf.netcore.dll" could not be resolved because it has an indirect dependency on the assembly "CefSharp, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5.1". 1>The primary reference "C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.MinimalExample.Wpf\bin.netcore\x64\Debug\netcoreapp3.1\win-x64\CefSharp.MinimalExample.Wpf.netcore.dll" could not be resolved because it has an indirect dependency on the assembly "CefSharp.Core, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5.1". 1>C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\MakePri.exe New -ProjectRoot C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.Wpf.Package\ -ConfigXml obj\x64\Debug\priconfig.xml -OutputFile C:\Users\paulc\source\repos\CefSharp.MinimalExample\CefSharp.Wpf.Package\bin\x64\Debug\resources.pri -IndexName e803bf3e-cc50-4fe6-b39b-7e06457e1413 -Verbose -Overwrite
Can anybody explain how I can get past this or add a dependency to .net framework 4.5.2 so that I can create the package?