FileNotFoundException for System.Runtime, Version=6.0.0.0 #120

Open
opened 2026-01-29 16:30:01 +00:00 by claunia · 0 comments
Owner

Originally created by @GeneAllen on GitHub (Jul 15, 2022).

I've been trying to build a deb file forever using Linux with no luck, probably because I'm not a linux guy.
When I ran across this git, I got SOOO excited.

Anyway, when I attempt to use it, I get a FileNotFound exception, which is strange because I do have .net 6.0 installed.

PS C:\test\debTest> dotnet deb install
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

I downloaded the actual project and it builds and appears to run correctly save the error saying I need to run 'dotnet deb install'.

Any ideas?

Originally created by @GeneAllen on GitHub (Jul 15, 2022). I've been trying to build a deb file forever using Linux with no luck, probably because I'm not a linux guy. When I ran across this git, I got SOOO excited. Anyway, when I attempt to use it, I get a FileNotFound exception, which is strange because I do have .net 6.0 installed. PS C:\test\debTest> dotnet deb install Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. I downloaded the actual project and it builds and appears to run correctly save the error saying I need to run 'dotnet deb install'. Any ideas?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#120