$ dotnet restore
Determining projects to restore...
/home/user/dotnet/sdk/7.0.402/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1100: To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true. [/home/user/TwitchDownloader/TwitchDownloaderWPF/TwitchDownloaderWPF.csproj]
Add any related files or extra information here
The CLI builds fine running the command directly, skip the restore step directly.
Checklist
Edition
Unsure
Describe your issue here
Download and install
dotnet-sdk-7.0.402-linux-x64.tar.gz
for linux according to instructions: https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-7.0.402-linux-x64-binariesthen clone and try to restore:
Add any related files or extra information here
The CLI builds fine running the command directly, skip the restore step directly.