Brand new project in VS2017, 4.6.2 framework, empty ASP.Net application (just as the documentation outlines). Project successfully builds, but when you try to run....
Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.
Source Error:
Line 1: <%@ Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
Line 2:
Have spent 2 days trying to get Umbraco running, using the documented instructions for NuGet console deploy. It just will not run using VS2017Pro full install, fully patched (.Net 4.7).
Downloaded the 7.6.5 zip and copied to local IIS, runs fine.
Word of warning, when things go south, and you are starting over (over, and over, and over) because the project isn't working.......DO NOT call the next attempt then same project name!
VS2017 freaks, and remembers previous settings (somehow, must be the force) making future attempts fail.
Also, and somehow I knew this but forgot, always always always run VS in elevated mode. Makes life easier.
Parser Error on new project
Brand new project in VS2017, 4.6.2 framework, empty ASP.Net application (just as the documentation outlines). Project successfully builds, but when you try to run....
Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.
Source Error:
Line 1: <%@ Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %> Line 2:
Source File: /global.asax Line: 1
Any idea what the cause is?
Have spent 2 days trying to get Umbraco running, using the documented instructions for NuGet console deploy. It just will not run using VS2017Pro full install, fully patched (.Net 4.7).
Downloaded the 7.6.5 zip and copied to local IIS, runs fine.
NuGet deploy IS BROKEN! Giving up.
Just in case anyone cares, dev environment.....
Hyper-V VM (4 dedicated cores, 64GB dedicated mem) running Win10 Enterprise VS 2017 Pro (version 15.3.2, .Net 4.7.02046) MSSQL Developer 2016
Project types attempted: Empty C# 4.5, 4.5.2, 4.6, Empty VB.Net 4, 4.5, 4.5.2, 4.6), MVC C# 4.5, 4.6, MVC VB.Net 4.5, 4.6 all using NuGet install of 7.6.4 and 7.6.5 from console. Tried NuGet Manager (UI) with same result.
IIS file copy of downloaded 7.6.5 works, but when converted to project, does not.
OK....I'm really hating VS2017!!!
Word of warning, when things go south, and you are starting over (over, and over, and over) because the project isn't working.......DO NOT call the next attempt then same project name!
VS2017 freaks, and remembers previous settings (somehow, must be the force) making future attempts fail.
Also, and somehow I knew this but forgot, always always always run VS in elevated mode. Makes life easier.
7.6.5 now running in VS2017.
Taking the day off.
is working on a reply...