Commit Graph

121 Commits

Author SHA1 Message Date
mafiesto4 bea75f51bd Fix AOT libs cooking to avoid file dirtying for more accurate iterative cooking 2025-11-26 00:02:40 -08:00
Ari Vuollet 49918a1067 Fix Windows dotnet root path detection 2025-11-11 22:14:41 +02:00
Ari Vuollet 2841ac22df Bump the maximum supported .NET SDK version to 10 2025-10-25 22:35:48 +03:00
Ari Vuollet 0d140c4f39 Fix Windows dotnet version lookup without installed SDK
Having only x86 dotnet SDK installed while expecting x64 version fails
prematurely.
2025-10-24 23:27:17 +03:00
Ari Vuollet 32b4efc175 Add missing .NET installation architecture info to error messages 2025-10-24 23:27:17 +03:00
mafiesto4 826009c1b4 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Source/Engine/Scripting/Scripting.cpp
2025-08-25 23:48:08 +02:00
mafiesto4 751d179cdb Fix missing brace 2025-07-24 11:34:48 +02:00
mafiesto4 735d611de1 Fix AOT libs rebuild when corlib was modified to avoid version mismatch 2025-07-23 18:15:52 +02:00
Tryibion c8622d1801 Change method name from add to restore. 2025-06-20 15:26:58 -05:00
Tryibion 53761df85e Add utility methods for redundant code. 2025-06-19 22:07:28 -05:00
Tryibion ecaae2b458 Add downloading nuget package if needed. 2025-06-19 21:34:55 -05:00
Tryibion 28eaac37dc Initial work on nuget packages. 2025-06-11 18:17:19 -05:00
Wiktor Żurawik 8ce4d94a96 Refactor .NET version detection error reporting 2025-05-09 17:04:41 +02:00
mafiesto4 72a4e577c8 Merge branch 'dotnet_ver_check' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_ver_check 2025-04-12 22:25:28 +02:00
Ari Vuollet 8322e762df Fix DOTNET_ROOT path ignored on Windows 2025-04-10 23:59:22 +03:00
Ari Vuollet e6d7024a61 Fix error when no valid .NET SDKs were found 2025-04-10 23:59:19 +03:00
Ari Vuollet ac305b369d Fix .NET SDK detection when only the runtime is installed 2025-04-10 18:18:56 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 702564366d Merge branch 'dotnet_refasm_version_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_refasm_version_fix 2025-01-27 20:29:12 +01:00
mafiesto4 aabd70fbe7 Fix code project files generation to properly handle path slashes and ignore binary modules without exports
#3086
2025-01-27 19:35:27 +01:00
Ari Vuollet 428ebf7fd7 Fix .NET runtime and SDK compilation issues with newer runtime 2025-01-27 20:06:06 +02:00
Tryibion 7e0c0559dd Add the ability to ignore specific warnings during build. 2024-12-12 11:53:12 -06:00
GoaLitiuM dd894b510d Add support for .NET 9 SDK and runtime 2024-11-14 23:05:25 +02:00
GoaLitiuM 02d5609f66 Fix .NET runtime validity checks with daily runtime builds 2024-04-09 20:05:37 +03:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 9a70f698b9 Various improvements to building nethost 2024-01-12 13:44:50 +01:00
mafiesto4 fe711405ac Fix iOS build with dotnet8 on arm64 macOS 2023-12-22 11:21:29 +01:00
mafiesto4 74f5d14ec9 Merge remote-tracking branch 'origin/master' into 1.8 2023-12-08 11:23:06 +01:00
GoaLitiuM ef8bb33105 Compile C# scripts with latest detected C# language version 2023-11-26 20:27:54 +02:00
GoaLitiuM aab88a746d Use detected .NET and C# language version in generated project files 2023-11-26 20:27:54 +02:00
mafiesto4 06ad316f94 Update to .NET 8 2023-11-26 15:09:46 +01:00
mafiesto4 f4f49f63bc Remove debug logs from 3fc0a3dc84 2023-11-25 14:19:30 +01:00
mafiesto4 eaabd56cae Add manual dotnet versions search on windows 2023-11-25 13:03:22 +01:00
mafiesto4 3fc0a3dc84 Add test debug log for broken ci build debug 2023-11-25 12:46:21 +01:00
mafiesto4 40d6e18e7e Add -dotnet=ver command arg to Flax.Build to specify .NET SDK version to use for build 2023-11-25 12:16:13 +01:00
GoaLitiuM 017e7cbc60 Validate detected .NET SDK/runtime versions 2023-11-19 11:26:43 +02:00
GoaLitiuM 3f5c92e2fa Improve .NET 8 runtime and SDK detection
Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
2023-11-14 17:00:51 +02:00
GoaLitiuM 7014007362 Disable inheriting C# optimization level from dependency modules 2023-10-14 01:45:36 +03:00
Zode db8f721fa7 Fix build project generation under arch 2023-09-29 11:20:24 +03:00
Andrew Spiering 821c373ae2 Allow for better support for running on m1/2 machines
* So we need to account for 2 possible situations where you are running under and emulated process and a native process with a different target host in this case x64
2023-09-20 09:12:48 -07:00
mafiesto4 d9333018c2 Merge branch 'unix-dotnet-location' of https://github.com/Crawcik/FlaxEngine into Crawcik-unix-dotnet-location
# Conflicts:
#	Source/Tools/Flax.Build/Build/DotNet/DotNetSdk.cs
2023-09-19 22:00:36 +02:00
mafiesto4 b8a626c95d Merge branch 'dotnet8_compat_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_compat_fix 2023-09-18 17:27:02 +02:00
mafiesto4 79bf226fe1 Codestyle fix 2023-09-18 12:11:28 +02:00
Andrew Spiering 824ee9ec7f Fixing a typo :/ 2023-09-17 18:48:54 -07:00
Andrew Spiering 69e54d7f88 Fixing an issue if running an x64 machine already 2023-09-17 15:53:48 -07:00
Andrew Spiering 183ab7738f Fixing Flex Build issues on M1/2 macs
* This resolves some issues where if you are building the actual C# dlls you also need them to be x64 based if you are targeting an x64 based target. This is a little complicated here because we set all this up ahead of time assuming that all the targets are compatible but in this case they are not so, just following what other places in the code are doing around this specifically dotnet AOT.
2023-09-17 15:42:26 -07:00
GoaLitiuM 785943bef8 Add missing marshaller methods for compatibility 2023-09-16 16:00:12 +03:00
Crawcik 1dd7a27568 Checking for executable 2023-09-14 23:19:36 +02:00
Crawcik 64a5d895bd Better version checking 2023-09-14 23:18:12 +02:00