TrixxTraxx
❔ Project breaks after migrating to docker
I migrated my Project to docker and it starts but then throws this exception and I cant find a Solution anywhere:
Unhandled exception. System.IO.DirectoryNotFoundException: /.nuget/packages/mudblazor/6.2.3/staticwebassets/
2023-05-14T12:14:59.843191516Z at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
2023-05-14T12:14:59.843196606Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.<UseStaticWebAssetsCore>b__1_0(String contentRoot)
2023-05-14T12:14:59.843200323Z at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
2023-05-14T12:14:59.843203499Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
2023-05-14T12:14:59.843206625Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
2023-05-14T12:14:59.843209740Z at Microsoft.AspNetCore.Hosting.BootstrapHostBuilder.RunDefaultCallbacks()
2023-05-14T12:14:59.843212776Z at Microsoft.AspNetCore.Builder.WebApplicationBuilder..ctor(WebApplicationOptions options, Action`1 configureDefaults)
2023-05-14T12:14:59.843216002Z at Microsoft.AspNetCore.Builder.WebApplication.CreateBuilder(String[] args)
2023-05-14T12:14:59.843219008Z at Program.Main(String[] args) in /home/trixxtraxx/RiderProjects/GMS/GMS/Program.cs:line 20
Unhandled exception. System.IO.DirectoryNotFoundException: /.nuget/packages/mudblazor/6.2.3/staticwebassets/
2023-05-14T12:14:59.843191516Z at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
2023-05-14T12:14:59.843196606Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.<UseStaticWebAssetsCore>b__1_0(String contentRoot)
2023-05-14T12:14:59.843200323Z at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
2023-05-14T12:14:59.843203499Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
2023-05-14T12:14:59.843206625Z at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
2023-05-14T12:14:59.843209740Z at Microsoft.AspNetCore.Hosting.BootstrapHostBuilder.RunDefaultCallbacks()
2023-05-14T12:14:59.843212776Z at Microsoft.AspNetCore.Builder.WebApplicationBuilder..ctor(WebApplicationOptions options, Action`1 configureDefaults)
2023-05-14T12:14:59.843216002Z at Microsoft.AspNetCore.Builder.WebApplication.CreateBuilder(String[] args)
2023-05-14T12:14:59.843219008Z at Program.Main(String[] args) in /home/trixxtraxx/RiderProjects/GMS/GMS/Program.cs:line 20
66 replies
❔ Dotnet 7.0 install not found
Can anyone help me fix this...
/home/trixxtraxx/RiderProjects/GMS/GMS/bin/Debug/net7.0/GMS
You must install .NET to run this application.
App: /home/trixxtraxx/RiderProjects/GMS/GMS/bin/Debug/net7.0/GMS
Architecture: x64
App host version: 7.0.1
.NET location: Not found
Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=pop.22.04-x64&apphost_version=7.0.1
Process finished with exit code 131.
/home/trixxtraxx/RiderProjects/GMS/GMS/bin/Debug/net7.0/GMS
You must install .NET to run this application.
App: /home/trixxtraxx/RiderProjects/GMS/GMS/bin/Debug/net7.0/GMS
Architecture: x64
App host version: 7.0.1
.NET location: Not found
Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=pop.22.04-x64&apphost_version=7.0.1
Process finished with exit code 131.
dotnet --info
.NET SDK:
Version: 7.0.101
Commit: bb24aafa11
Runtime Environment:
OS Name: pop
OS Version: 22.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/7.0.101/
Host:
Version: 7.0.1
Architecture: x64
Commit: 97203d38ba
.NET SDKs installed:
7.0.101 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/lib/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
dotnet --info
.NET SDK:
Version: 7.0.101
Commit: bb24aafa11
Runtime Environment:
OS Name: pop
OS Version: 22.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/7.0.101/
Host:
Version: 7.0.1
Architecture: x64
Commit: 97203d38ba
.NET SDKs installed:
7.0.101 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/lib/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
6 replies