ASP.NET 5 (vNext) web project: library conflict upgrading from beta4 to beta6

前端 未结 2 1535
故里飘歌
故里飘歌 2021-01-18 10:31

I upgraded DNVM with dnvm upgrade -Unstable. Running dnvm list shows this to be active: 1.0.0-beta6-12120.

I created a new project using t

2条回答
  •  难免孤独
    2021-01-18 11:19

    beta6-*

    In your project.json file(s), try using beta6-* instead of just beta6. That means it will reference the most recent build of it.

    ~.dnx\runtimes

    Check what runtime directories are in C:\Users\MyUser\.dnx\runtimes. Mine include the following:

    dnx-clr-win-x86.1.0.0-beta6          <-- I made this one via a rename.
    dnx-clr-win-x86.1.0.0-beta6-12085
    dnx-clr-win-x86.1.0.0-beta6-12120
    

    In my global.json file, which is in the same directory as the *.sln, I make sure to reference one of the runtimes like this:

    {
        "projects": [ "src", "test" ],
        "sdk": {
            "version": "1.0.0-beta6-12120"
        }
    }
    

提交回复
热议问题