tam1gamer1
Decipat
- Katılım
- 11 Ağustos 2022
- Mesajlar
- 410
- Çözümler
- 19
Mono'yu kurup dene. Dotnet için Wine filan ile uğraşmana gerek yok. Zaten Wine kullanacaksan da içine Mono kurman gerekir.GitHub'dan indirdiğim bir .net Console App uygulamasını açmak istiyorum fakat bir türlü beceremedim.
Wine denedim fakat sonuç alamadım. (birlikte aç > Wine dedikten sonra veya Wine app_name.exe dediğim saman hiçbir sonuç elde etmiyorum)
Yarın temiz kurulum yaptıkdan sonra sonucu sizinle paylaşıcam hocamMono'yu kurup dene. Dotnet için Wine filan ile uğraşmana gerek yok. Zaten Wine kullanacaksan da içine Mono kurman gerekir.
Bu linkte kurulum talimatları var:
Ayrıca repo linkini verirsen daha iyi yardımcı olabiliriz.
Hocam sistem kurulumu bitti şimdi .net runtime kurucam kurulumdan sonra direk .exe açıyor muyuz kod ile mi açıcaz ?.Net zaten cross platform yani direkt .net runtime indirmen yeterli. console hangisiyle yazıldıysa bilmiyorum ama .net 3.1 ve üstüyse direkt çalışır.
Install .NET on Linux distributions - .NET
Learn about how to install .NET on Linux. .NET is not only available at package.microsoft.com, but also the official package archives for various Linux distributions.learn.microsoft.com
Yok hocam gene tepki vermiyor.Mono'yu kurup dene. Dotnet için Wine filan ile uğraşmana gerek yok. Zaten Wine kullanacaksan da içine Mono kurman gerekir.
Bu linkte kurulum talimatları var:
Ayrıca repo linkini verirsen daha iyi yardımcı olabiliriz.
Kodu çalıştıracaksın da build alınmış hali mi var githubda? buildi yoksa build alman lazım. dotnet run yaz çalışmazsa buildi yoktur build almak için dotnet sdk lazım. indirdikten sonra dotnet restore, dotnet build, dotnet runHocam sistem kurulumu bitti şimdi .net runtime kurucam kurulumdan sonra direk .exe açıyor muyuz kod ile mi açıcaz ?
Yok hocam gene tepki vermiyor.
Kodu çalıştıracaksın da build alınmış hali mi var githubda? buildi yoksa build alman lazım. dotnet run yaz çalışmazsa buildi yoktur build almak için dotnet sdk lazım. indirdikten sonra dotnet restore, dotnet build, dotnet run
$ dotnet run
You must install or update .NET to run this application.
App: /usr/share/dotnet/sdk/6.0.405/dotnet.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.13' (x64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
7.0.2 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.13&arch=x64&rid=ubuntu.22.04-x64
$ dotnet
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help Display help.
--info Display .NET information.
--list-sdks Display the installed SDKs.
--list-runtimes Display the installed runtimes.
path-to-application:
The path to an application .dll file to execute.
$ dotnet --info
You must install or update .NET to run this application.
App: /usr/share/dotnet/sdk/6.0.405/dotnet.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.13' (x64)
.NET location: /usr/share/dotnet/
The following frameworks were found:
7.0.2 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.13&arch=x64&rid=ubuntu.22.04-x64
Host:
Version: 7.0.2
Architecture: x64
Commit: d037e070eb
.NET SDKs installed:
6.0.405 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Evet hocam vardotnet --list-sdks yazar mısın orada .net 6 var mı?
$ dotnet --list-sdks
6.0.405 [/usr/share/dotnet/sdk]
Tamam. dotnet run dediğin zaman çalışıyor mu?Evet hocam var
Kod:$ dotnet --list-sdks 6.0.405 [/usr/share/dotnet/sdk]