Ich habe eine DotNet Core-Konsolenanwendung, die ich als Webjob in Azure ausführen möchte. Wenn es versucht, auszuführen, sehe ich in den ProtokollenAzure WebJob mit DotNet Core-Targeting erstellen Net Standard schlägt mit Fehler fehl
Fehler: Assembly in der Abhängigkeiten Manifest angegebenen wurde nicht gefunden - Paket: 'Microsoft.DotNet.InternalAbstractions', Version: '1.0.0', Pfad: 'lib/netstandard1.3/Microsoft.DotNet.InternalAbstractions.dll‘
Meine project.json sieht aus wie dieses
{
"buildOptions": {
"emitEntryPoint": true,
"copyToOutput": [ "appsettings.json", "run.cmd" ]
},
"dependencies": {
"Helga.Core": "1.0.0-*",
"Helga.UpdateParkings": "1.0.0-*",
"Microsoft.Extensions.Configuration": "1.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
}
},
"publishOptions": {
"include": [
"appsettings.json",
"run.cmd"
]
},
"version": "1.0.0-*"
}
aber in project.lock.json ich sehe
"Microsoft.DotNet.InternalAbstractions/1.0.0": {
"type": "package",
"dependencies": {
"System.AppContext": "4.1.0",
"System.Collections": "4.0.11",
"System.IO": "4.1.0",
"System.IO.FileSystem": "4.0.1",
"System.Reflection.TypeExtensions": "4.1.0",
"System.Runtime.Extensions": "4.1.0",
"System.Runtime.InteropServices": "4.1.0",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0"
},
"compile": {
"lib/netstandard1.3/Microsoft.DotNet.InternalAbstractions.dll": {}
},
"runtime": {
"lib/netstandard1.3/Microsoft.DotNet.InternalAbstractions.dll": {}
}
},
Bitte Beratung.
Ich habe seit einiger Zeit damit zu kämpfen und sehr froh, dass ich das gefunden habe. Danke, dass Sie Ihre Frage beantwortet haben, nachdem Sie die Antwort gefunden haben! – lettucemode