wine with grpc

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
dsdilip
Newbie
Newbie
Posts: 1
Joined: Tue Feb 06, 2024 12:14 pm

wine with grpc

Post by dsdilip »

I want to run a grpc server developed in dotnet 7.0 in windows using wine on a linux container.

I was able to run a empty wine with dotnet and asp.net 7.0 runtime installed. but when i gave CMD ["wine", "grpcserver.dll"] in dockerfile it is not running the grpc server inside the container. giving below error.

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=aasdasd79898asd' or one of its dependencies.

however $dotnet --list-runtimes show both runtimes are installed

Microsoft.AspNetCore.App 7.0.15 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.15 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

can someone please help here?
qwertymnb
Level 4
Level 4
Posts: 237
Joined: Sun Jan 17, 2016 4:36 pm

Re: wine with grpc

Post by qwertymnb »

Hi,

>Microsoft.AspNetCore.App 7.0.15 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]

This looks to me as if you installed it in Linux, not in wine? If so, then wine cannot find it /use it. Then try install it using wine.
Post Reply