From aad31c1dc73d61d5903f4dc2fa9f856e9c0558d2 Mon Sep 17 00:00:00 2001 From: AlbertoAmadorBelchistim Date: Mon, 16 Mar 2026 10:57:49 +0100 Subject: [PATCH] build(indicators): align Indicators.csproj with current Cross/Windows build structure. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the local-build project (Indicators.csproj) to better reflect the current build structure used by Indicators.Technical.csproj. Key changes: - Introduce platform-based split between Windows and Cross builds: - Windows → net10.0-windows with WPF enabled - Cross → net10.0 with CROSS_PLATFORM constant - Normalize assembly references using a platform-specific base path (ATAS installation vs ATAS X installation). - Add Avalonia references for Cross builds so that Avalonia.Input types used in GlobalUsings.cs resolve correctly. - Update System.Drawing.Common to 10.0.0 since three indicators still reference types such as Image and DashStyle (ExternalChart, Logo, TradesOnChart). - Ensure platform-specific source files are excluded appropriately: - *.Windows.cs and XAML files excluded from Cross builds The goal of this change is to keep Indicators.csproj usable for local external builds while aligning it with the Cross/Windows split already present in the technical project, without introducing internal GitLab project references. --- Technical/Indicators.csproj | 64 ++++++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 15 deletions(-) diff --git a/Technical/Indicators.csproj b/Technical/Indicators.csproj index 3795009b1..afcb696f2 100644 --- a/Technical/Indicators.csproj +++ b/Technical/Indicators.csproj @@ -7,49 +7,70 @@ true Debug;Release;Publish AnyCPU;Cross + + + + False + $(DefineConstants);CROSS_PLATFORM + net10.0 + + + True - net8.0-windows + net10.0-windows + $(NoWarn);CA1416 true + + C:\Program Files\ATAS X + + + + C:\Program Files (x86)\ATAS Platform + + - - C:\Program Files (x86)\ATAS Platform\Newtonsoft.Json.dll - - C:\Program Files (x86)\ATAS Platform\OFT.Attributes.dll + $(ATAS_BASE)\OFT.Attributes.dll - - C:\Program Files (x86)\ATAS Platform\OFT.Editors.dll + + $(ATAS_BASE)\OFT.Editors.dll - C:\Program Files (x86)\ATAS Platform\ATAS.DataFeedsCore.dll + $(ATAS_BASE)\ATAS.DataFeedsCore.dll - C:\Program Files (x86)\ATAS Platform\ATAS.Indicators.dll + $(ATAS_BASE)\ATAS.Indicators.dll - C:\Program Files (x86)\ATAS Platform\OFT.Rendering.dll + $(ATAS_BASE)\OFT.Rendering.dll - C:\Program Files (x86)\ATAS Platform\Utils.Common.dll + $(ATAS_BASE)\Utils.Common.dll - - C:\Program Files (x86)\ATAS Platform\Utils.Windows.dll + + $(ATAS_BASE)\Utils.Windows.dll - C:\Program Files (x86)\ATAS Platform\OFT.Localization.dll + $(ATAS_BASE)\OFT.Localization.dll + + + $(ATAS_BASE)\DevExpress.Data.v25.2.dll + + + $(ATAS_BASE)\Avalonia.Base.dll - + @@ -69,4 +90,17 @@ Resources.Designer.cs + + + + + + + + + + + + + \ No newline at end of file