hi folks,
I am using visual studio 2017. I am getting error message when i run scaffolding and its failed when model class with context database is in dependency.
Here is my .csproj
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>netcoreapp1.1</TargetFramework><PackageTargetFallback>portable-net45+win8</PackageTargetFallback></PropertyGroup><ItemGroup><Folder Include="Controller\" /><Folder Include="wwwroot\" /></ItemGroup><ItemGroup><PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" /><PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" /><PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="1.1.2" /><PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" /><PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" /><PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.2" /><PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.2" /><PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.2" /><PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.1.1" /><PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" /><PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.2" /><PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="1.1.1" /></ItemGroup><ItemGroup><DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" /></ItemGroup><ItemGroup><ProjectReference Include="..\xxxx\xxx.csproj" /></ItemGroup></Project>
How to fix it?
I am waiting for your response.
Thanks in advance