mafiesto4
b79335c920
Fix compiling C# scripts that use nuget package to properly resolve it on 1st build
2026-04-19 21:30:16 +02:00
mafiesto4
9c9e17a9d9
Fix warning when building C# lib with newer .NET than base version used on deps
2026-02-12 18:26:43 +01:00
mafiesto4
ecfd03f79c
Fix restoring NuGet packages for target with multiple projects
...
Fix restoring `NuGet` packages to run before project build to ensure files are downloaded
#3900
2026-01-22 18:49:47 +01: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
mafiesto4
9c3fd052cd
Remove copyright year from source files and update to 2025
2025-04-07 19:22:21 +02: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
Tryibion
7e0c0559dd
Add the ability to ignore specific warnings during build.
2024-12-12 11:53:12 -06:00
mafiesto4
859c420d76
Update year in copyright note
2024-02-26 19:00:48 +01:00
GoaLitiuM
ef8bb33105
Compile C# scripts with latest detected C# language version
2023-11-26 20:27:54 +02: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
7014007362
Disable inheriting C# optimization level from dependency modules
2023-10-14 01:45:36 +03:00
mafiesto4
79bf226fe1
Codestyle fix
2023-09-18 12:11:28 +02: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
3df044d07b
Add build option to change code optimization level in C# modules
2023-08-13 21:29:38 +03:00
GoaLitiuM
735b2e30f0
Output generated .NET source generator files to Intermediate folder
...
Mostly useful for debugging source generators, VS doesn't seem to
utilize these files in any way.
2023-07-30 21:58:16 +03:00
GoaLitiuM
13e11091fc
Support user defined .NET analyzers/source generators in Flax.Build
2023-07-30 21:58:11 +03:00
mafiesto4
5f756a6ceb
Add TargetFrameworkAttribute to compiled C# assembly
2023-07-03 22:00:38 +02:00
mafiesto4
5d9e6b7364
Fix C# building to properly use reference assemblies for .NET 7
2023-07-03 22:00:23 +02:00
GoaLitiuM
b82f19a0df
Support changing C# nullable references context build option
2023-06-19 19:33:13 +03:00
mafiesto4
e3ceaa3f9a
Update Flax deployment scripts for dotnet7
2023-04-18 18:17:47 +02:00
mafiesto4
d925c8dab8
Fixes for Android
2023-03-28 17:21:27 +02:00
mafiesto4
1096daaeb7
Dont assume path ends with directory slash in dotnet root
2023-02-19 14:30:42 +01:00
mafiesto4
c18cefbb0b
Add support for dotnet7 on macOS
2023-02-19 13:03:12 +01:00
mafiesto4
38fcfee9a4
Merge branch '1.5' into dotnet7
2023-01-23 14:47:12 +01:00
mafiesto4
e2e7facad0
Fix using dependency module from nested referenced build in C#
2023-01-18 11:53:30 +01:00
mafiesto4
eebc4951de
Merge branch '1.5' into dotnet7
...
# Conflicts:
# Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
# Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
# Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
# Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
# Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
# Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
# Source/Platforms/DotNet/NUnit/nunit.engine.dll
# Source/Platforms/DotNet/NUnit/nunit3-console.exe
# Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
# Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
# Source/Tools/Flax.Build/Deps/Downloader.cs
# Source/Tools/Flax.Stats/CodeFrame.cs
# Source/Tools/Flax.Stats/CodeFrameNode.cs
# Source/Tools/Flax.Stats/Flax.Stats.Build.cs
# Source/Tools/Flax.Stats/Languages.cs
# Source/Tools/Flax.Stats/Program.cs
# Source/Tools/Flax.Stats/TaskType.cs
# Source/Tools/Flax.Stats/Tools.cs
# Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
mafiesto4
a7e428a21c
Merge branch 'master' into 1.5
...
# Conflicts:
# Content/Shaders/GI/DDGI.flax
# Content/Shaders/GI/GlobalSurfaceAtlas.flax
# Content/Shaders/TAA.flax
# Content/Shaders/VolumetricFog.flax
# Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
# Source/Engine/Core/Config/GraphicsSettings.cpp
# Source/Engine/Engine/PostProcessEffect.cs
# Source/Engine/Graphics/GPUResourcesCollection.cpp
# Source/Engine/Graphics/GPUResourcesCollection.h
# Source/Engine/Graphics/PostProcessBase.h
# Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4
9626e9bbb6
Update copyright year
2023-01-10 15:29:37 +01:00
mafiesto4
4e4f4e700b
Updates for dev with dotnet on linux
2023-01-08 20:27:28 +01:00
mafiesto4
0b8d4850f0
Use manual pdb file loading for debug symbols in C#
2023-01-04 09:56:58 +01:00
mafiesto4
26f8e5aa9e
Use embedded debug information for C# dll to have proper stack trace information on game scripts exceptions
2023-01-03 18:38:44 +01:00
mafiesto4
3f172442be
Add DotNetSdk to simplify using it
2022-12-21 14:13:00 +01:00
mafiesto4
b2beeb653b
Remove unused using statement
2022-12-21 11:04:13 +01:00
mafiesto4
84a68c5977
Update Newtonsoft.Json to 13.0.2 and .Net 7
2022-12-17 13:38:30 +01:00
GoaLitiuM
4e4fb91a6f
Prevent optimizing C#-projects in Development builds for better debugging
2022-11-29 21:18:42 +02:00
GoaLitiuM
89ac54520a
Add Linux support for nethost module, build tool and build scripts
2022-11-26 23:19:46 +02:00
GoaLitiuM
c4be764f61
Add nethost module and EngineConfiguration for .NET runtime
2022-11-26 13:50:32 +02:00
GoaLitiuM
5e6fcc9669
Prepare Flax.Build project for .NET 7
...
Add .NET SDK project generator and upgrade Flax.Build project files
2022-11-26 13:50:31 +02:00
mafiesto4
76b14af7ec
Add various improvements
2022-10-18 15:03:56 +02:00
mafiesto4
66d1015399
Simplify build options merging
2022-07-18 18:09:11 +02:00
mafiesto4
b67649dfbd
Add ExternalModules to game modules for custom scripting binaries linking
2022-07-18 18:09:10 +02:00
mafiesto4
a9d66d6535
Various fixes for scripting runtime
2022-04-07 22:03:42 +02:00
mafiesto4
c9a779fea9
Disable caching for dotnet target build with msbuild
2022-01-14 15:04:15 +01:00
mafiesto4
d032f18b71
Add DotNet targets building
2022-01-14 14:19:46 +01:00
mafiesto4
8c2241c6dc
Update copyright year
2022-01-14 13:31:12 +01:00
mafiesto4
ca62cd2661
Mac impl progress
2022-01-03 13:59:52 +01:00
mafiesto4
a1ef7ddcf7
Mac support progress
2021-12-28 17:07:18 +01:00