Convert a project.json to a csproj without using Visual Studio

后端 未结 1 987
再見小時候
再見小時候 2021-02-19 06:02

As of preview3 dotnet new produces a csproj, and both dotnet restore and dotnet build fail against a project.json and/or an xproj.

1条回答
  •  离开以前
    2021-02-19 06:18

    There is a dotnet migrate command.

    The dotnet migrate command will migrate a valid Preview 2 project.json based project to a valid Preview 3 csproj project.

    We can find detailed help on this command by running dotnet migrate -h (even though dotnet -h does not list the command).

    0 讨论(0)
提交回复
热议问题