Hi developer,
I am using ASP.Net 5 and behind a proxy. I created dnx.exe.config (for with proxy) in .......\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta7\bin.
<configuration><system.net><defaultProxy useDefaultCredentials="true" enabled="true"><proxy usesystemdefault="True"/></defaultProxy></system.net></configuration>
Here is my DNVM list:
So i run DNU restore for the packages and it seems ok
I Build it and no warning(s) and no error(s) which mean build succeeded but then i run IIS Express or Web. I am getting error message on page and it says:
here is Default code:
Global.json:
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-beta7",
"runtime": "clr",
"architecture": "x86"
}
}
Project.json:{
"webroot": "wwwroot",
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNet.Diagnostics": "1.0.0-beta5",
"Microsoft.AspNet.Mvc": "6.0.0-beta5",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta5",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta5",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta5",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5",
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta5",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5",
"Microsoft.Framework.Logging": "1.0.0-beta5",
"Microsoft.Framework.Logging.Console": "1.0.0-beta5",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta5"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --config hosting.ini"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"publishExclude": [
"node_modules",
"bower_components",
"**.xproj",
"**.user",
"**.vspscc"
],
"scripts": {
"prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]
}
}
I am trying google it from 2-3 hours continuously still i have no clue. Any idea?
Thanks in advance