Can't add controller in Visual Studio 2017
Hey guys, i'm having a really weird issue where at first I did not have the option to create a controller in my projects. I've since done research and found solutions that worked with VS 2015 and older versions but for me personally, all I have now is the option to create a controller ... but it does not actually do anything.
I've updated all my NuGet packages and I manually added references in my csproj. Alas, no bueno.
<ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0-msbuild3-final"/> <DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.0-msbuild3-final" /> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.0-msbuild3-final" /> </ItemGroup>
Here are the threads that I used to troubleshoot.
https://stackoverflow.com/questions/32901637/add-controller-option-is-missing-in-visual-studio-2015
Any advice would be greatly appreciated. I'm still fairly new with visual studio (it's been 3 months).
0 comments:
Post a Comment