-1
Hello, I’m starting to develop a web application with . Net CORE. have installed the . Net Core SDK 2.2.103 and when I open my project, I have some errors in the dependencies as shown below:
This is my package design code:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
</Project>
Somebody give me a hand with that ?
EDIT 1: When trying to build, the following errors appear:
Opens the Package Manager Console and runs the dotnet Restore command, see what happens.
– Rafael
Just build the project.
– Jéf Bueno
I was going to say that now, I believe that a build Solution solves
– Patrick Perdigão
Hello, I did what you said and when I did dotnet Store, it disappeared the error from the last file, but remains in the others
– Samuel Machado
and I am unable to build, always gives an error: "error : Found invalid data while Decoding."
– Samuel Machado