aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 123 forks source link

VS 2017 RC "Edit WCF Configuration" Windows SDK installation error #954

Open scottaddie opened 7 years ago

scottaddie commented 7 years ago

Create a new ASP.NET Core 1.1 Web Application targeting .NET Core using the project template. Right-click the web.config file in Solution Explorer, and select Edit WCF Configuration from the context menu. The following error appears:

windows_sdk_error

mlorbetske commented 7 years ago

TFS#369185

dasetser commented 7 years ago

@scottaddie Thanks for reporting this.

Why do you want to edit the WCF Configuration of the web.config when you're using ASP.NET Core? I believe that web.config is only used to turn on the AspNetCoreModule in IIS. WCF clients using .NET core won't read from this config file, so I'm not aware of any scenario where you would need to do this.

I do see that the error message is unhelpful (and incorrect). We can look into giving an accurate error message or maybe removing this from the context menu, but I'm not sure why this would need to be supported.

scottaddie commented 7 years ago

@dasetser I was very surprised to see Edit WCF Configuration in the context menu. My recommendation would be to remove it.

dasetser commented 7 years ago

I agree that's the best way to handle it. I just wanted to confirm with you that you didn't have a scenario you expected this to be useful for. We'll look into removing it in a future release.