Yeah there is something dodgy about Amazon.Lambda.Core. I created a class library in Fire and visual studio. I added Amazon.Lambda.Core v2.1.0 from nuget to both and opened the assemblies in dotnet peek. It shows the version as 1.0.0.0
The file version is 1.0.0.0 but the product version is 2.1.0
Did you manage to finish this ? Im still generating anycpu so I was going to try generating x64, fixing the deps.json and seeing if that made a difference.
the support for appending the RuntimeIdentifier to the name is in .2803. This will not use the architecture field (because that doesnāt give you the ālinux-ā part), if anything does at all. For your case, set RuntimeIdentifiers to one value, ālinux-x64ā.
.2803 also exposes that project setting in Fire/Water (not in VS yet, need to merge that over).
.2803 also filters the runtimes by (crudely) checking if the runtime matches at least one of the specified RuntimeIndentifiers (if any); in your case, this should leave runtimes empty, for Linux, according to the test case you sent (which had only windows and browser runtimes).
The latest .2804 build on firehose should have the fix for bringing back the assemblyVersion/fileVersion on the reference.
Thanks very much. Iāll give everything a try. The RuntimeIdentifier only seems to appear if you select binary type as exe, could you make it so that it works with library as well ?
serviceable - a boolean indicating if the library can be serviced (only for package-typed libraries)
sha512 - SHA-512 hash of the package file (package-typed libraries).
lol. what does that mean ? There isnt really an explanation of what anything is used for.
Ok, thatās what Iāve done now, will be in the next build.
Indeed. i suppose to could calculate it fresh, but then why doesnāt
have it too?
As for Serviceable, maybe Iām assuming the wring default, and no value is supposed to lead to true? idk⦠As I said, I donāt think either of these two should have any effectā¦
itās also odd (and maybe wrong) that āAmazon.Lambda.Core.dllā is listed under runtime for ours, but no for dotnet. (Echoes.dll is of course an expected difference).
aws lambda is using dotnet 6.4 and as far as I can workout the 7.x microsoft extension nugets are intended for dotnet 7 and 6.x for 6 so thats why the elements one has 6.
My more complex project still isnt loading so I can try removing Amazon.Lambda.Core from runtimes and see if it makes a difference