Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

VS keeps creating Web.config tho using MVC core 1.0.1 and Errors in Views classes #4186

Closed
wis opened this issue Feb 28, 2016 · 9 comments
Closed

Comments

@wis
Copy link

wis commented Feb 28, 2016

Project.json

`{
"webroot": "wwwroot",
"userSecretsId": "OIDD",

"commands": {
"ef": "Microsoft.EntityFrameworkCore.Commands",
"web": "OIDD"
},
"compilationOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},

"dependencies": {
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-rc2-16411",
"Microsoft.AspNetCore.Authentication.JwtBearer": "1.0.0-rc2-",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-
",
"Microsoft.AspNetCore.Hosting": "1.0.0-",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0-
",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-rc2-16281",
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-17119",
"Microsoft.AspNetCore.Mvc.Razor": "1.0.0-rc2-17119",
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0-rc2-17119",
"Microsoft.AspNetCore.Razor": "1.0.0-rc2-16282",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-16453",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-16290",
"Microsoft.AspNetCore.Tooling.Razor": "1.0.0-rc2-16160",
"Microsoft.EntityFrameworkCore": "1.0.0-rc2-16854",
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-",
"Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-rc2-16100",
"Microsoft.Extensions.Configuration.Json": "1.0.0-
",
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc2-16097",
"Microsoft.Extensions.Logging": "1.0.0-rc2-16120",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-
",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc2-16389",
"OpenIddict.Core": "1.0.0-",
"OpenIddict.EF": "1.0.0-
"
},
"exclude": [
"wwwroot",
"node_modules"
],
"frameworks": {
"dnx451": { }
},
"publishExclude": [
".user",
"
.vspscc"
],
"version": "1.0.0-*"

}
`

http://i.imgur.com/bCBHU1g.png
http://i.imgur.com/D60DYqJ.png

@wis wis changed the title VS keeps creating Web.config tho using MVC core 1.0.1 and a lot Errors in Views classes VS keeps creating Web.config tho using MVC core 1.0.1 and Errors in Views classes Feb 28, 2016
@Eilon
Copy link
Member

Eilon commented Feb 29, 2016

ASP.NET Core RC2 is not yet supported in VS - we are working on an update to VS2015 that supports the new dotnet-cli system and ASP.NET Core RC2.

@NTaylorMullen does that pretty much sum up these errors (in the pics)?

@wis
Copy link
Author

wis commented Feb 29, 2016

this aspnet/Announcements#154

@NTaylorMullen
Copy link
Member

@wesamco I don't quite follow the first part of your issue. Are you saying it's re-creating web.config over n over even though you delete it?

@wis
Copy link
Author

wis commented Feb 29, 2016

Yes.
but I also think it could be created by the Identity server OpenId library on project startup http://identityserver.github.io/Documentation/docs/configuration/overview.html

@NTaylorMullen
Copy link
Member

/cc @HaoK would this be caused by Identity OpenId lib?

@HaoK
Copy link
Member

HaoK commented Feb 29, 2016

That's actually not our identity, its a 3rd party lib, not sure what they do there.

@danroth27
Copy link
Member

@wesamco Why do you want to delete web.config? You need it to run behind IIS.

@BillHiebert @barrytang Does VS recreate a web.config file if it doesn't find one and you try to run on IIS Express?

@BillHiebert
Copy link

Yes. This is needed to enable the httpPlatformHandler.

@danroth27
Copy link
Member

We are working to release the RC2 tooling as quickly as possible. Closing this issue as there doesn't seem to be anything to do here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants