Skip to content

Different versions dll in nuget #292

Closed
@KopIlya

Description

@KopIlya

Hello. When update nuget on 2.2.1.0 version. In folder packages in folders net40 and net45 have dll version 2.2.1.0. But in folder netstandard1.5 have dll version 2.0.275.0. This is a bug or feature?
When I debug .netFramework who referenced netstandard project with commandlineparser I have error:

=== Pre-bind state information ===
LOG: DisplayName = commandline, Version=2.0.275.0, Culture=neutral, PublicKeyToken=de6f01bd326f8c32
 (Fully-specified)
LOG: Appbase = file:///D:/path/
LOG: Initial PrivatePath = NULL
Calling assembly : NetStandardClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\path\NetFrameworkApp.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: commandline, Version=2.0.275.0, Culture=neutral, PublicKeyToken=de6f01bd326f8c32
LOG: Attempting download of new URL file:///D:/path/commandline.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

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