NuGet packages do not publish correctly with ReadyToRun option in version 3.1.2.
Since updating Noesis to version 3.1.2 it seems that Noesis.App.dll, Noesis.App.Theme.dll and Noesis.GUI.dll are publishing as version 3.1.1 when we publish using ReadyToRun. If we deselect the ReadyToRun option we get 3.1.2 dlls in the publish folder.
Noesis.dll is at 3.1.2 whether or not ReadyToRun is selected.
I assume this is a problem with the NuGet packages, since the only change on our end was changing the version number.
We are using Noesis.App, Noesis.App.Theme and Noesis.GUI NuGet packages, all set to 3.1.2.
Noesis.dll is at 3.1.2 whether or not ReadyToRun is selected.
I assume this is a problem with the NuGet packages, since the only change on our end was changing the version number.
We are using Noesis.App, Noesis.App.Theme and Noesis.GUI NuGet packages, all set to 3.1.2.
-
-
sfernandez
Site Admin
- Posts: 3367
- Joined:
Re: NuGet packages do not publish correctly with ReadyToRun option in version 3.1.2.
The nugets have the correct information in their .nuspec so I don't think the problem is there.
I've found this comment googling about ReadyToRun option: https://github.com/dotnet/sdk/issues/38 ... -648749178
I've found this comment googling about ReadyToRun option: https://github.com/dotnet/sdk/issues/38 ... -648749178
Could you try to delete the publish output folder so older libraries are not used?If I delete the obj\Release folder and rebuild I get the correct version DLL and the application runs. So it appears that dotnet publish PublishReadyToRun=true does not correctly update the obj\Release\netcoreapp3.1\linux-arm\R2R folder when a NuGet package DLL version changes.
Re: NuGet packages do not publish correctly with ReadyToRun option in version 3.1.2.
Ah, you are right. It seems that deleting the obj/bin folders and the dlls in the publish folder has solved the issue. Thank you!
-
-
sfernandez
Site Admin
- Posts: 3367
- Joined:
Re: NuGet packages do not publish correctly with ReadyToRun option in version 3.1.2.
Thanks for the update.
Who is online
Users browsing this forum: No registered users and 11 guests