We have moved to GitHub Issues
Created by Nathan Skidmore 19 Jul 2018, 09:31:05 Updated by Sebastiaan Janssen 19 Jul 2018, 09:36:17
In Visual Studio 2017, I first choose to create a .NET Empty Project and select the option - Add folders and core references for 'MVC'. My project is created for the .NET Framework 4.7.2.
I then install Umbraco via the Nuget package manager. The install is successful and the application runs/installs on the database just fine. I also install 'The Starter Kit' for good measure. However all is not fine. The Views/web.config file contains two host sections. This causes the application to fail as there can only be one. If you click the Home node created by The Starter Kit you will see an error.
The problem code is here in Views/web.config:
I suspect this is related to me including MVC folders and references in my new project. Can the Nuget build be modified to check for any conflicts and fix it on install as part of its dependency handling?
Make sure to follow the installation instructions (https://our.umbraco.com/documentation/Getting-Started/Setup/Install/install-umbraco-with-nuget) to start with a completely empty project, no MVC references, then everything will be set up automatically and correctly for you.
Also make sure to choose .net 4.5, there are unfortunately known issues with localization if your web.config has the httpRuntime set to anything higher than 4.5.2 (this is a separate problem that we're working on).
Backwards Compatible: True
Affected versions: 7.11.1
Due in version: