I am trying to upgrade the following template project to ASP.NET Core 1.1: https://github.com/wilanbigay/aspnet-core-aurelia-typescript-starter
After migrating dotnet, the project.json file was deleted in favor of the new csproj file.
Using Visual Studio Code and the Nuget4Code extension, I upgraded all components to ASP.NET Core 1.1.
Now CsProj contains the following entries:
<ItemGroup> <PackageReference Include="Microsoft.NET.Sdk"> <Version>1.0.0-alpha-20161104-2</Version> <PrivateAssets>All</PrivateAssets> </PackageReference> <PackageReference Include="Microsoft.NET.Sdk.Web"> <Version>1.0.0-alpha-20161104-2</Version> <PrivateAssets>All</PrivateAssets> </PackageReference> <PackageReference Include="Microsoft.NETCore.App"> <Version>1.1.0</Version> </PackageReference> <PackageReference Include="Microsoft.AspNetCore.Mvc"> <Version>1.1.0</Version> </PackageReference>
However, I have compilation issues. The AspNetCore namespace seems to be impossible to find. I get an error
Error CS0234: The type or namespace name "AspNetCore" does not exist in the pace names "Microsoft" (do you miss the assembly reference?)
I'm not sure how I can check links, as before, in Visual Studio in the links section. How can i solve this?
source share