Steps I followed:
- New (Empty) Visual Studio project: ASP.NET Web application
- Go to NuGet, install Dynamicweb.Admin 9.7.5.
- Fails with Roslyn error, as per documentation I run the 'Install-Package Dynamicweb.Admin -Version 9.7.5 –IncludePrerelease' command
- ReadMe.txt exists, pressed A for yes to all
- Wait
- Rebuild project
- Run project
- Get invalid web.config error ' Only one <configSections> element allowed. It must be the first child element of the root <configuration> element'
- Fixed error by moving the section
- Merged dynamicweb.web.config with web.config
- get error when running project: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
LoaderExceptions information: Could not load file or assembly 'Microsoft.Build, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
- ??
When downloading the project, Microsoft.Build.dll's are included, in the nugetpackage, they are not referred. Should I just merge the DLL's ? Looks to me that something essential is not being referred in the NuGet..
Attached: Web.config and packages.config