[GH-ISSUE #98] [HATA] LİNUX İÇİN COMPİLİNG YAPILIRKEN HATA #93

Open
opened 2026-03-02 03:19:39 +03:00 by kerem · 3 comments
Owner

Originally created by @Win1876 on GitHub (Oct 26, 2025).
Original GitHub issue: https://github.com/cagritaskn/SplitWire-Turkey/issues/98

git clone ile projeyi çektim ondan sonra bu script ile:
https://dot.net/v1/dotnet-install.sh
dotnet indirdim sonra dotnet build -c Release komudunu çalıştırdım ve sonuç:

MSBuild version 17.8.36+03e28d165 for .NET

 Determining projects to restore...

/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]

/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]

 All projects are up-to-date for restore.

/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1355,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]


Build FAILED.


/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]

/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]

/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1355,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj]

   2 Warning(s)

   1 Error(s) 

.csproj dosyasını düzenledim bu satırı ekledim:
<EnableWindowsTargeting>true</EnableWindowsTargeting>
sonra dotnet build -c Release komudunu tekrardan çalıştırdım bir sorun yoktu ama
dotnet run komudunu çalıştırınca bu hatayı verdi:

You must install or update .NET to run this application.

App: /home/leg/SplitWire-Turkey/src/SplitWireTurkey/bin/Debug/net8.0-windows/SplitWire-Turkey
Architecture: x64
Framework: 'Microsoft.WindowsDesktop.App', version '8.0.0' (x64)
.NET location: /home/leg/.dotnet

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=fedora.42
Originally created by @Win1876 on GitHub (Oct 26, 2025). Original GitHub issue: https://github.com/cagritaskn/SplitWire-Turkey/issues/98 git clone ile projeyi çektim ondan sonra bu script ile: `https://dot.net/v1/dotnet-install.sh` dotnet indirdim sonra `dotnet build -c Release` komudunu çalıştırdım ve sonuç: ``` MSBuild version 17.8.36+03e28d165 for .NET Determining projects to restore... /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] All projects are up-to-date for restore. /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1355,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] Build FAILED. /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] /usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1355,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/8.0.120/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/leg/SplitWire-Turkey/src/SplitWireTurkey/SplitWireTurkey.csproj] 2 Warning(s) 1 Error(s) ``` .csproj dosyasını düzenledim bu satırı ekledim: `<EnableWindowsTargeting>true</EnableWindowsTargeting>` sonra `dotnet build -c Release` komudunu tekrardan çalıştırdım bir sorun yoktu ama dotnet run komudunu çalıştırınca bu hatayı verdi: ``` You must install or update .NET to run this application. App: /home/leg/SplitWire-Turkey/src/SplitWireTurkey/bin/Debug/net8.0-windows/SplitWire-Turkey Architecture: x64 Framework: 'Microsoft.WindowsDesktop.App', version '8.0.0' (x64) .NET location: /home/leg/.dotnet No frameworks were found. Learn more: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=fedora.42 ```
Author
Owner

@Ramazanenescik04 commented on GitHub (Oct 29, 2025):

.NET 8'i kurman lazım.

<!-- gh-comment-id:3460511956 --> @Ramazanenescik04 commented on GitHub (Oct 29, 2025): .NET 8'i kurman lazım.
Author
Owner

@alimali54 commented on GitHub (Nov 14, 2025):

Programı Linux için hadi kurdun diyelim arayüzü açtın, içindeki programlar Windows sürümleri. Yani boşa kürek çekiyorsun direkt ilgili programların Linux sürümlerini kullan.

<!-- gh-comment-id:3532533445 --> @alimali54 commented on GitHub (Nov 14, 2025): Programı Linux için hadi kurdun diyelim arayüzü açtın, içindeki programlar Windows sürümleri. Yani boşa kürek çekiyorsun direkt ilgili programların Linux sürümlerini kullan.
Author
Owner

@teberzin commented on GitHub (Jan 2, 2026):

Linux versiyonu hala yok değil mi?

<!-- gh-comment-id:3706138741 --> @teberzin commented on GitHub (Jan 2, 2026): Linux versiyonu hala yok değil mi?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SplitWire-Turkey#93
No description provided.