I just simple create new project with NET CORE 5.0 and your library (I have a lot of similar linux console project) and immediately receive error:
{
"version": 3,
"targets": {
"net5.0": {
"Docker.DotNet/3.125.5": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "12.0.3",
"System.Buffers": "4.5.1",
"System.Threading.Tasks.Extensions": "4.5.4"
},
"compile": {
"lib/netstandard2.0/Docker.DotNet.dll": {}
},
"runtime": {
"lib/netstandard2.0/Docker.DotNet.dll": {}
}
},
"Docker.DotNet.BasicAuth/3.125.3": {
"type": "package",
"dependencies": {
"Docker.DotNet": "3.125.3"
},
"compile": {
"lib/netstandard2.0/Docker.DotNet.BasicAuth.dll": {}
},
"runtime": {
"lib/netstandard2.0/Docker.DotNet.BasicAuth.dll": {}
}
},
"Newtonsoft.Json/12.0.3": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
},
"System.Buffers/4.5.1": {
"type": "package",
"compile": {
"ref/netcoreapp2.0/_._": {}
},
"runtime": {
"lib/netcoreapp2.0/_._": {}
}
},
"System.Threading.Tasks.Extensions/4.5.4": {
"type": "package",
"compile": {
"ref/netcoreapp2.1/_._": {}
},
"runtime": {
"lib/netcoreapp2.1/_._": {}
}
}
}
},
"libraries": {
"Docker.DotNet/3.125.5": {
"sha512": "1tClPIBzz/7HP1XejCdTiRMviVRtS14omyRhHD0R6086woRRBCh61hJeVrpL6CVTnsRui4X9qaI8wO8xOCqKkQ==",
"type": "package",
"path": "docker.dotnet/3.125.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE",
"docker.dotnet.3.125.5.nupkg.sha512",
"docker.dotnet.nuspec",
"icon.png",
"lib/netstandard2.0/Docker.DotNet.dll",
"lib/netstandard2.0/Docker.DotNet.pdb"
]
},
"Docker.DotNet.BasicAuth/3.125.3": {
"sha512": "oEuf3732V94E+l21WEPWAar+fCxfayOA23qsn4I1jq3nymPrXY+s/kq2izvBh0TY3A1pmvvrURaRwkIg5GXE3A==",
"type": "package",
"path": "docker.dotnet.basicauth/3.125.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"docker.dotnet.basicauth.3.125.3.nupkg.sha512",
"docker.dotnet.basicauth.nuspec",
"lib/net45/Docker.DotNet.BasicAuth.dll",
"lib/net46/Docker.DotNet.BasicAuth.dll",
"lib/netstandard1.6/Docker.DotNet.BasicAuth.dll",
"lib/netstandard2.0/Docker.DotNet.BasicAuth.dll"
]
},
"Newtonsoft.Json/12.0.3": {
"sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
"type": "package",
"path": "newtonsoft.json/12.0.3",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
"newtonsoft.json.12.0.3.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"System.Buffers/4.5.1": {
"sha512": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
"type": "package",
"path": "system.buffers/4.5.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Buffers.dll",
"lib/net461/System.Buffers.xml",
"lib/netcoreapp2.0/_._",
"lib/netstandard1.1/System.Buffers.dll",
"lib/netstandard1.1/System.Buffers.xml",
"lib/netstandard2.0/System.Buffers.dll",
"lib/netstandard2.0/System.Buffers.xml",
"lib/uap10.0.16299/_._",
"ref/net45/System.Buffers.dll",
"ref/net45/System.Buffers.xml",
"ref/netcoreapp2.0/_._",
"ref/netstandard1.1/System.Buffers.dll",
"ref/netstandard1.1/System.Buffers.xml",
"ref/netstandard2.0/System.Buffers.dll",
"ref/netstandard2.0/System.Buffers.xml",
"ref/uap10.0.16299/_._",
"system.buffers.4.5.1.nupkg.sha512",
"system.buffers.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Threading.Tasks.Extensions/4.5.4": {
"sha512": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
"type": "package",
"path": "system.threading.tasks.extensions/4.5.4",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.Threading.Tasks.Extensions.dll",
"lib/net461/System.Threading.Tasks.Extensions.xml",
"lib/netcoreapp2.1/_._",
"lib/netstandard1.0/System.Threading.Tasks.Extensions.dll",
"lib/netstandard1.0/System.Threading.Tasks.Extensions.xml",
"lib/netstandard2.0/System.Threading.Tasks.Extensions.dll",
"lib/netstandard2.0/System.Threading.Tasks.Extensions.xml",
"lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll",
"lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/netcoreapp2.1/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"system.threading.tasks.extensions.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
"net5.0": [
"Docker.DotNet >= 3.125.5",
"Docker.DotNet.BasicAuth >= 3.125.3"
]
},
"packageFolders": {
"C:\\Users\\Mini\\.nuget\\packages\\": {},
"J:\\VsShared\\NuGetPackages": {},
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\Projects\\CryptoChestMax\\DockerDotNetWrapper\\DockerDotNetWrapper\\DockerDotNetWrapper.vbproj",
"projectName": "DockerDotNetWrapper",
"projectPath": "E:\\Projects\\CryptoChestMax\\DockerDotNetWrapper\\DockerDotNetWrapper\\DockerDotNetWrapper.vbproj",
"packagesPath": "C:\\Users\\Mini\\.nuget\\packages\\",
"outputPath": "E:\\Projects\\CryptoChestMax\\DockerDotNetWrapper\\DockerDotNetWrapper\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"J:\\VsShared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
],
"configFilePaths": [
"C:\\Users\\Mini\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"Docker.DotNet": {
"target": "Package",
"version": "[3.125.5, )"
},
"Docker.DotNet.BasicAuth": {
"target": "Package",
"version": "[3.125.3, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.303\\RuntimeIdentifierGraph.json"
}
}
}
}
I just simple create new project with NET CORE 5.0 and your library (I have a lot of similar linux console project) and immediately receive error:
System.IO.FileLoadException
HResult=0x80131040
Message=Could not load file or assembly 'Docker.DotNet, Version=3.125.3.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
Source=
StackTrace:
this is binding of my project