Commit Graph

866 Commits

Author SHA1 Message Date
mafiesto4 c7a449fe1c Fix marshaling custom type array to C# with MarshalAs used 2024-02-15 18:28:51 +01:00
mafiesto4 43f344ee13 Simplify bindings code for object refs 2024-02-15 10:54:33 +01:00
mafiesto4 f730657518 Add support for using pointer in MarshalAs in scripting types 2024-02-15 10:47:45 +01:00
mafiesto4 196a4ffe49 Add warning on not implemented generic type network serializer (need better codegen)
#1988
2024-02-10 18:17:29 +01:00
mafiesto4 4a19657e75 Fix crash when replicating C# object with NetworkReplicated attribute on derived generic class
#1988
2024-02-10 17:26:10 +01:00
mafiesto4 2042525e92 Add pooling to some StringBuilder objects in build tool 2024-02-07 18:53:09 +01:00
mafiesto4 8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
mafiesto4 5a50ec592f Add clickable parsing errors in build tool 2024-02-06 16:01:49 +01:00
mafiesto4 b2621ff799 Codestyle fix for #2214 2024-02-06 11:13:00 +01:00
mafiesto4 756a991c2c Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes 2024-02-06 11:10:30 +01:00
NoriteSC af8e1e527f Update BindingsGenerator.Cpp.cs 2024-01-29 15:33:14 +01:00
z1dev ee19bca7e4 Fixing skipped static and other fields generating "else if" without "if" first. 2024-01-26 09:07:02 +01:00
GoaLitiuM 9fd7a231ca Fix invalid Visual Studio solution folder nesting
Fixes fatal error when loading generated solution files with Rider, also
fixes folders with identical names getting mapped to same folder
(Plugins folders within plugin projects).
2024-01-08 20:45:39 +02:00
GoaLitiuM a8913d89ac Fix C++ Intellisense not working with latest version of Rider
Project `IncludePath` doesn't seem to include NMake include paths
anymore in Rider, populate the property with same paths to work around
the issue.
2024-01-01 17:47:04 +02:00
GoaLitiuM 84249b3b57 Skip building main C#-project in VS solution when C++-project is present
Flax.Build is invoked twice, once for C++-project and one more time for
C#-project. Skip the C#-project by using the custom .targets file to not
break Rider's solution analysis feature.
2023-12-16 14:48:21 +02:00
GoaLitiuM d614232f8d Fix VS build issues with C# projects when engine path has spaces 2023-12-16 14:45:28 +02:00
mafiesto4 d3a77c7a55 Fix regressions 2023-11-28 17:38:06 +01:00
mafiesto4 0aeac36f09 Fix __cplusplus macro on MSVC and add logging C++ version used during compilation 2023-11-28 15:55:34 +01:00
mafiesto4 17dca8c5c7 Fix invalid codegen for array reference passed as output parameter in scripting interface method 2023-11-28 11:21:29 +01:00
mafiesto4 8ffc86ef88 Fix missing output parameters conversion when calling interface implementation in scripting
#1992
2023-11-28 11:20:07 +01:00
GoaLitiuM c577c78f3f Fix running Flax.Build with .NET 8 runtime 2023-11-26 20:47:54 +02: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
GoaLitiuM e5b1a10d34 Fix VSCode intellisense not finding generated C# bindings definitions 2023-11-26 20:27:53 +02:00
mafiesto4 71f30f18a6 Add support for including global configs in engine configuration options 2023-11-25 18:08:34 +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
mafiesto4 d99a92fd13 Fix generic types including to be recursive in C++ bindings codegen
#1966
2023-11-23 13:46:43 +01:00
GoaLitiuM 017e7cbc60 Validate detected .NET SDK/runtime versions 2023-11-19 11:26:43 +02:00
GoaLitiuM 4eaac4ab2f Fix building Flax.Build with .NET 8 SDK 2023-11-19 11:26:40 +02:00
mafiesto4 3a59cfcf20 Change Globals.BuildErrors into BuildException #1673 2023-11-15 11:57:53 +01:00
mafiesto4 e7ef3ebef2 Merge branch 'csharp_vs_build' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-csharp_vs_build 2023-11-15 11:44:42 +01: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
mafiesto4 6fd34bf5cc Fix compilation regression 2023-11-14 12:15:51 +01:00
mafiesto4 4e2ee897bc Fix missing codesign for macOS game binaries 2023-10-31 15:22:14 +01:00
mafiesto4 d9b0e99b9c Add support for using Revision number in projects version 2023-10-26 15:20:35 +02:00
mafiesto4 ab49457944 Add log for build command invoke in deployer 2023-10-21 12:44:25 +02:00
mafiesto4 770d21566a Add macOS disk image notarization 2023-10-19 23:13:05 +02:00
mafiesto4 418e220c00 Add proper codesigning for the Editor app for macOS 2023-10-19 22:40:42 +02:00
mafiesto4 2bb8c82329 Add support for packaging editor with bundled platform data 2023-10-19 19:09:06 +02:00
mafiesto4 6c45141ef9 Add dmg file building for macOS Editor deployment 2023-10-18 22:10:46 +02:00
mafiesto4 5181db8a0e Fix vscode default build task to favor current architecture (eg. arm64 for Editor on macOS) 2023-10-18 21:51:36 +02:00
GoaLitiuM bcdd6c0551 Fix FlaxEngine C#-project getting built twice in engine solution 2023-10-15 16:16:53 +03:00
GoaLitiuM ff7e6d82f8 Hide exception when build errors occurs in referenced targets 2023-10-15 16:16:53 +03:00
GoaLitiuM 5b3e09baec Build C# projects in VS/Rider solution configurations
Rider's solution wide analysis does not work properly when projects
are not included in the active configuration for build.
2023-10-15 16:16:53 +03:00
GoaLitiuM 0d7e7c30ca Run Flax.Build when building main C# project 2023-10-15 16:16:53 +03:00
mafiesto4 37e3a91b73 Merge branch 'vscode_launch_tasks' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vscode_launch_tasks 2023-10-14 16:30:57 +02:00
GoaLitiuM dc1be86db7 Only generate one set of C++/C# launch tasks for VSCode
Proper fix for b9c6dcd4c7
2023-10-14 03:45:37 +03:00