I'm trying to upgrade my project to 1.1. I installed SDK from official page.
Using ASP.Net Core Web Application (.NET Framework)
Error:
PATH=.\node_modules.bin;D:\Programs\Visual Studio 14.0\Web\External;%PATH%;D:\Programs\Visual Studio 14.0\Web\External\git
C:\Program Files\dotnet\dotnet.exe restore "F:\WebApplication1.vs\restore.dg"
log : Restoring packages for F:\WebApplication1\project.json...
log : Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in F:\WebApplication1\project.json...
error: Package Microsoft.DotNet.ProjectModel.Loader 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.ProjectModel.Loader 1.0.0-preview2-003121 supports: netstandard1.6 (.NETStandard,Version=v1.6)
error: Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 supports:
error: - net451 (.NETFramework,Version=v4.5.1)
error: - netstandard1.6 (.NETStandard,Version=v1.6)
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0.
log : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in F:\WebApplication1\project.json...
error: Package Microsoft.DotNet.ProjectModel 1.0.0-rc3-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.ProjectModel 1.0.0-rc3-003121 supports:
error: - net451 (.NETFramework,Version=v4.5.1)
error: - netstandard1.6 (.NETStandard,Version=v1.6)
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0.
log : Restoring packages for tool 'Microsoft.EntityFrameworkCore.Tools.DotNet' in F:\WebApplication1\project.json...
error: Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 supports:
error: - net451 (.NETFramework,Version=v4.5.1)
error: - netstandard1.6 (.NETStandard,Version=v1.6)
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0.
log : Restoring packages for tool 'Microsoft.Extensions.SecretManager.Tools' in F:\WebApplication1\project.json...
log : Restoring packages for tool 'Microsoft.VisualStudio.Web.CodeGeneration.Tools' in F:\WebApplication1\project.json...
error: Package Microsoft.VisualStudio.Web.CodeGeneration 1.1.0-preview4-final is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.VisualStudio.Web.CodeGeneration 1.1.0-preview4-final supports:
error: - net451 (.NETFramework,Version=v4.5.1)
error: - netstandard1.6 (.NETStandard,Version=v1.6)
error: One or more packages are incompatible with .NETCoreApp,Version=v1.0.
info : Committing restore...
log : Lock file has not changed. Skipping lock file write. Path: F:\WebApplication1\project.lock.json
log : F:\WebApplication1\WebApplication1.xproj
log : Restore failed in 3010ms.
Errors in F:\WebApplication1\WebApplication1.xproj
Package Microsoft.DotNet.ProjectModel.Loader 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.ProjectModel.Loader 1.0.0-preview2-003121 supports: netstandard1.6 (.NETStandard,Version=v1.6)
Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 supports:
net451 (.NETFramework,Version=v4.5.1)
netstandard1.6 (.NETStandard,Version=v1.6)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
Package Microsoft.DotNet.ProjectModel 1.0.0-rc3-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.ProjectModel 1.0.0-rc3-003121 supports:
net451 (.NETFramework,Version=v4.5.1)
netstandard1.6 (.NETStandard,Version=v1.6)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121 supports:
net451 (.NETFramework,Version=v4.5.1)
netstandard1.6 (.NETStandard,Version=v1.6)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
Package Microsoft.VisualStudio.Web.CodeGeneration 1.1.0-preview4-final is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package Microsoft.VisualStudio.Web.CodeGeneration 1.1.0-preview4-final supports:
net451 (.NETFramework,Version=v4.5.1)
netstandard1.6 (.NETStandard,Version=v1.6)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.
NuGet Config files used:
C:\Users\admin\AppData\Roaming\NuGet\NuGet.Config
C:\ProgramData\nuget\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
https://api.nuget.org/v3/index.json
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
Hi,
I'm trying to upgrade my project to 1.1. I installed SDK from official page. Using ASP.Net Core Web Application (.NET Framework)
Error:
project.json:
What can be wrong?
Thanks