I see stated on the logs screen, that i can run 7,8,9 when i try to run a process build in version 10?
i have a dll file created with .net core 10.0, and i upped the version on my developer pc, and it works, but when i try to run it on a standard instance, it states that 10 is not in the list of supported “frameworks”.
Is it easy to enable .net core 10?
I don’t have a screenshot at the moment, but i can get it later if you would like it.
I found that i was trying on wrong agent, doing it on a dotnet6 agent i get this error (i got it in a version 9):
Yeah, that is on me… Most .NET workloads I worked with were running on the serverless platform, so the Docker image never got updated and only support dotnet 6. (This is the Dockerfile that is currently used: nodeagent/Dockerfiledotnet at main · openiap/nodeagent · GitHub)
It should be pretty straightforward for me to update the FROM image to .NET 9 or .NET 10 and push it. I will try to get that done tomorrow.
I have built and pushed openiap/dotnetagent:0.0.114-3, which uses .NET 10. I tested it quickly by pushing a hello world app targeting .NET 10, and it worked for me.
Open the Config page in Opencore and update agent_images to use openiap/dotnetagent:0.0.114-3 for .NET agents to test yourself. If you have never edited this field, first click on ‘new’ at the top to copy the default text next to agent_images into Notepad, edit it, paste it into the textarea next to agent_images, and click save. Reload the webpage, and you can now stop the agent, change the image, and start it again.