Skip to content

build(indicators): align Indicators.csproj with current Cross/Windows build structure#155

Open
AlbertoAmadorBelchistim wants to merge 1 commit intoAtasPlatform:Developfrom
AlbertoAmadorBelchistim:local/build/01-base
Open

build(indicators): align Indicators.csproj with current Cross/Windows build structure#155
AlbertoAmadorBelchistim wants to merge 1 commit intoAtasPlatform:Developfrom
AlbertoAmadorBelchistim:local/build/01-base

Conversation

@AlbertoAmadorBelchistim
Copy link
Copy Markdown
Contributor

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 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.

Replaces #154 (closed due to branch rename from local/build-baselocal/build/01-base).

… build structure.

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.
@AlbertoAmadorBelchistim AlbertoAmadorBelchistim force-pushed the local/build/01-base branch 3 times, most recently from ce86216 to aad31c1 Compare March 31, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant