Search code examples
.netvisual-studioumbraco

Unrecognized configuration section <configSections> when running clean Umbraco 7.5.8


I'm using Visual Studio for Mac (preview 3). I started a new, empty ASP.NET project and installed Umbraco CMS via NuGet.

The project builds with a warning of:

Warning: Target 'CopyAllFilesToSingleFolderForMsdeploy', not found in the project

It then tries to run but throws an exception:

[ERROR] FATAL UNHANDLED EXCEPTION: System.Configuration.ConfigurationErrorsException: Unrecognized configuration section

I've tried running a normal MVC project and it builds and runs fine so I'm guessing that there's something up with Umbraco?


Solution

  • See comment above.

    Umbraco 7 is based on .NET 4.0 but Visual Studio for Mac only supports the newer .NET Core.