3

using Microsoft.Owin;に行を追加中にプロジェクトをコンパイルできませんでしたStartup.cs。VS がエラーをスローします: ASP.NET Core 5.0 error CS0234: The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) ここに私のproject.jsonファイルがあります:

{
    "webroot": "wwwroot",
    "version": "1.0.0-*",
    "dependencies": {
        "Microsoft.AspNet.Mvc": "6.0.0-beta3",
        "Microsoft.AspNet.Server.IIS": "1.0.0-beta3",
        "Microsoft.Owin": "3.0.1",
        "Microsoft.Owin.Security": "3.0.1",
        "Microsoft.Owin.Security.OAuth": "3.0.1",
        "Microsoft.Owin.Security.Cookies": "3.0.1"
    },
    "frameworks": {
        "aspnetcore50": {}
    },
    "bundleExclude": [
        "node_modules",
        "bower_components",
        "**.kproj",
        "**.user",
        "**.vspscc"
    ],
    "exclude": [
        "wwwroot",
        "node_modules",
        "bower_components"
    ]
}

何か不足していますか?

前提条件: Visual Studio 2015 CTP バージョン 14.0.22609.0 D14REL、空の ASP.NET 5 プレビュー テンプレート

4

2 に答える 2