Just a reminder beta 8 for ASP .NET is out:
If you don’t install this tooling, you will get an error (see below), when manual upgrading from beta 5 to 8 in the project.json file.
Don’t forget to set the Solution DNX SDK version of your project to 1.0.0-beta8.
Also make sure you set the default document, when using only static files and target the .NET Core runtime.
Server Error in ‘/’ Application.
Could not load file or assembly ‘Microsoft.Dnx.Host.Clr’ or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Dnx.Host.Clr’ or one of its dependencies. The system cannot find the file specified.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly ‘Microsoft.Dnx.Host.Clr’ could not be loaded.
=== Pre-bind state information === LOG: DisplayName = Microsoft.Dnx.Host.Clr (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: Microsoft.Dnx.Host.Clr | Domain ID: 3 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///C:/Users/roel/.dnx/runtimes/dnx-clr-win-x22.214.171.124-beta5/bin LOG: Initial PrivatePath = NULL Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Configuration file C:\Program Files (x86)\IIS Express\iisexpress.exe.config does not exist. LOG: No application configuration file found. LOG: Using host configuration file: C:\Users\roel\Documents\IISExpress\config\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Users/roel/.dnx/runtimes/dnx-clr-win-x126.96.36.199-beta5/bin/Microsoft.Dnx.Host.Clr.DLL. LOG: Attempting download of new URL file:///C:/Users/roel/.dnx/runtimes/dnx-clr-win-x188.8.131.52-beta5/bin/Microsoft.Dnx.Host.Clr/Microsoft.Dnx.Host.Clr.DLL. LOG: Attempting download of new URL file:///C:/Users/roel/.dnx/runtimes/dnx-clr-win-x184.108.40.206-beta5/bin/Microsoft.Dnx.Host.Clr.EXE. LOG: Attempting download of new URL file:///C:/Users/roel/.dnx/runtimes/dnx-clr-win-x220.127.116.11-beta5/bin/Microsoft.Dnx.Host.Clr/Microsoft.Dnx.Host.Clr.EXE.
[FileNotFoundException: Could not load file or assembly 'Microsoft.Dnx.Host.Clr' or one of its dependencies. The system cannot find the file specified.] [TypeLoadException: The domain manager specified by the host could not be instantiated.] System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +303 [HttpException (0x80004005): The domain manager specified by the host could not be instantiated.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9922864 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:18.104.22.168