Skip to content

Cannot publish single file.  #69

@elijah-potter

Description

@elijah-potter

I am attempting to publish my .net core 3.1 application single file including Colorful.Console and it is causing "Detecting package downgrade errors". This should be due to Colorful.Console not supporting certain newer libraries like System.Runtime.InteropServices v4.3. I have attached a copy paste from a publish command

C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: Detected package downgrade: System.Runtime.InteropServices from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.Console 4.0.0 -> runtime.win.System.Console 4.3.0 -> System.Runtime.InteropServices (>= 4.3.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.Runtime.InteropServices (>= 4.1.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Collections (>= 4.3.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.Collections (>= 4.0.11) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.Diagnostics.Debug (>= 4.0.11) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: Detected package downgrade: System.Runtime.Handles from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Runtime.Handles (>= 4.3.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.IO.FileSystem 4.0.1 -> System.Runtime.Handles (>= 4.0.1) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: Detected package downgrade: System.Runtime.InteropServices from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version. C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.IO.FileSystem 4.0.1 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Runtime.InteropServices (>= 4.3.0) C:\Users\siriu\source\repos\itemcoin-desktop\ProtocolBase.csproj : error NU1605: ProtocolBase -> Colorful.Console 1.2.9 -> System.Runtime.InteropServices (>= 4.1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions