Skip to content

dotnet restore fails #1

@a-stankevich

Description

@a-stankevich

dotnet restore fails with weird error message:

C:\doc\dev\electron.net-musicplayer-sample\MyElectronMusicPlayer\MyElectronMusicPlayer.csproj : error NU1202: Package ElectronNET.CLI 0.0.11 is not compatible
 with netcoreapp2.1 (.NETCoreApp,Version=v2.1). Package ElectronNET.CLI 0.0.11 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) / any [C:\doc\dev\electron.n
et-musicplayer-sample\MyElectronMusicPlayer.sln]
C:\doc\dev\electron.net-musicplayer-sample\MyElectronMusicPlayer\MyElectronMusicPlayer.csproj : error NU1212: Invalid project-package combination for Electron
NET.CLI 0.0.11. DotnetToolReference project style can only contain references of the DotnetTool type  [C:\doc\dev\electron.net-musicplayer-sample\MyElectronMu
sicPlayer.sln]

dotnet sdk installed on machine: 2.1.500, 2.1.504, 2.2.104.
dotnet version 2.1.500 is selected for this specific build by using global.json file.

Any ideas how to get this working?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions