aspnet / Mvc

[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
5.62k stars 2.14k forks source link

Open API Analyzers behave different from VSCode -> VSforMac -> VS17 #8783

Closed rspaulino closed 5 years ago

rspaulino commented 5 years ago

Is this a Bug or Feature request?:

Bug

Steps to reproduce (preferably a link to a GitHub repo with a repro project):

create a new WebAPI project, add Open API Analyzers and open it on VSCode, VSforMac, VS17

Description of the problem:

VS17 give expected behavior of the feature which are squiggles line and Quick fixes options. VSforMac give you only warning messages but not Quick fixes options. VSCode give you none.

Version of Microsoft.AspNetCore.Mvc or Microsoft.AspNetCore.App or Microsoft.AspNetCore.All:

netcoreapp2.2
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Api.Analyzers" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
<PackageReference Include="NSwag.AspNetCore" Version="12.0.5" />
screen shot 2018-12-09 at 10 04 34 am screen shot 2018-12-09 at 10 04 14 am screen shot 2018-12-09 at 10 03 53 am
mkArtakMSFT commented 5 years ago

Thanks for contacting us, @rspaulino. The behavior your're seeing is by design. We have no control over how much support for analyzers different IDE-s provide. You can provide your feedback to VSCode and/or VS for Mac if you wish.