无法找到project.json

时间:2017-01-02 11:24:39

标签: asp.net-core

我在VS 2015更新3中对我的项目进行了一些更新,现在我遇到了这个错误:

Severity Code Description Project File Line Suppression State Error Unable to find project.json in 'C:\Users\Julius\Documents\Projects\School\Development\In Progress\ReportBook\ReportBook.Auth' ReportBook.Auth 1

以下是带有新更新的project.json文件。只是不确定框架部分是否在正确的位置。在任何情况下都是这样的。

{
    "buildOptions": {
        "emitEntryPoint": true,
        "preserveCompilationContext": true
    },
    "dependencies": {
        "AspNet.Security.OAuth.Introspection": "1.0.0-alpha2-final",
        "AspNet.Security.OAuth.Validation": "1.0.0-alpha2-final",
        "Microsoft.ApplicationInsights.AspNetCore": "1.0.2",
        "Microsoft.AspNet.WebApi.Client": "5.2.3",
        "Microsoft.AspNetCore.Http.Abstractions": "1.1.0",
        "Microsoft.AspNetCore.Routing": "1.1.0",
        "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
        "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
        "Microsoft.EntityFrameworkCore": "1.1.0",
        "Microsoft.EntityFrameworkCore.Design": {
            "type": "build",
            "version": "1.1.0"
        },
        "Microsoft.EntityFrameworkCore.DynamicLinq": "1.0.3.3",
        "Microsoft.EntityFrameworkCore.Relational": "1.1.0",
        "Microsoft.EntityFrameworkCore.SqlServer": "1.1.0",
        "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
        "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
        "Microsoft.Extensions.Configuration.Json": "1.1.0",
        "Microsoft.Extensions.Logging": "1.1.0",
        "Microsoft.Extensions.Logging.Console": "1.1.0",
        "Microsoft.Extensions.Logging.Debug": "1.1.0",
        "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
        "Microsoft.NETCore.App": {
            "version": "1.1.0",
            "type": "platform"
        },
        "Microsoft.NETCore.Platforms": "1.1.0",
        "NETStandard.Library": "1.6.1",
        "ReportBook.Data": "1.0.0-*",
        "ReportBook.Repository": "1.0.0-*",
        "ReportBook.Service": "1.0.0-*",
        "Repository.Pattern.EFCore": "1.0.0-*",
        "SimpleIdentityServer.Authentication.Common": "1.0.0",
        "System.Security.Cryptography.X509Certificates": "4.3.0"
    },
    "frameworks": {
        "netcoreapp1.0": {
            "imports": [
                "dotnet5.6",
                "portable-net45+win8"
            ]
        }
    },
    "publishOptions": {
        "include": [
            "wwwroot",
            "**/*.cshtml",
            "appsettings.json",
            "web.config"
        ]
    },
    "runtimeOptions": {
        "configProperties": {
            "System.GC.Server": true
        }
    },
    "scripts": {
        "postpublish": ["dotnet publish-iis --publish-folder %publish:OutputPath%   --framework %publish:FullTargetFramework%"]
    },
    "tools": {
        "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final",
        "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final"
    }
}

这是先前的工作直到我做了更新,

0 个答案:

没有答案