From 749153021fd38d12e8d00d7df797747a3ee57a75 Mon Sep 17 00:00:00 2001
From: Regalia <126194895+regalialong@users.noreply.github.com>
Date: Mon, 5 Aug 2024 01:06:38 +0200
Subject: [PATCH] Set EnableWindowsTargeting to true (#858)
This permits .NET to download the Windows targeting packs, which enables VRCX development on Linux.
It's not recommended to build the Windows apps with Linux though, so actual release builds should likely stick with Windows CI/CD, as per Microsoft:
> This property is currently recommended to allow development on non-Windows platforms. But when the application is ready to be released, it should be built on Windows. When building on a non-Windows platform, the output may not be the same as when building on Windows. In particular, the executable is not marked as a Windows application (which means that it will always launch a console window) and won't have an icon embedded.
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enablewindowstargeting
---
VRCX.csproj | 1 +
1 file changed, 1 insertion(+)
diff --git a/VRCX.csproj b/VRCX.csproj
index 5f25e603..056c13db 100644
--- a/VRCX.csproj
+++ b/VRCX.csproj
@@ -18,6 +18,7 @@
https://github.com/vrcx-team/VRCX
en
en-US;en
+ true