Skip to content

build(indicators): make Indicators.csproj build against current ATAS installs - #179

Open
AlbertoAmadorBelchistim wants to merge 2 commits into
AtasPlatform:Developfrom
AlbertoAmadorBelchistim:fix/devexpress-data-version
Open

AlbertoAmadorBelchistim wants to merge 2 commits into
AtasPlatform:Developfrom
AlbertoAmadorBelchistim:fix/devexpress-data-version

Conversation

@AlbertoAmadorBelchistim

Copy link
Copy Markdown
Contributor

Title: build(indicators): make Indicators.csproj build against current ATAS installs

Building Technical/Indicators.csproj against a current ATAS install (tested with Alpha 8.0.16) fails in two places:

  1. MC1000 in the WPF markup compiler. The project references DevExpress.Data.v25.2 unconditionally, but Alpha/Beta ship and reference v26.1:
   error MC1000: Could not find assembly 'DevExpress.Data.v26.1, Version=26.1.3.0 ...'

The first commit picks the newest DevExpress.Data found in ATAS_BASE (installers keep older versions next to the new one), falls back to v25.2, and can be forced with -p:DevExpressDataVersion=vXX.Y.

  1. MSB4018 in GenerateDepsFile:
   error MSB4018: ... An item with the same key has already been added. Key: ATAS.Indicators.Technical

Reference resolution reaches the platform's own ATAS.Indicators.Technical.dll through OFT.Editors → OFT.Platform.Core → ATAS.Strategies. That DLL has the same name as this project's output. The second commit removes it from the resolved dependencies, so it is neither written to the deps file nor copied over the built assembly.

Configurations, platforms and ATAS_BASE are unchanged. With both commits the project builds against Alpha 8.0.16 and ATAS X Alpha 8.0.16.

…platform

Indicators.csproj referenced DevExpress.Data.v25.2 unconditionally. Current
ATAS builds ship newer DevExpress versions (the Alpha/Beta installs use v26.1),
and their assemblies reference that version, so building the public project
against them fails in the WPF markup compiler:

  error MC1000: Could not find assembly 'DevExpress.Data.v26.1, Version=26.1.3.0 ...'

Select the newest DevExpress.Data found in ATAS_BASE (installers keep older
versions next to the new one), falling back to v25.2. The value can still be
forced with -p:DevExpressDataVersion=vXX.Y.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01474y4c64ouxmxfuvhhvqdn
…om dependencies

Building Indicators.csproj against an ATAS install fails in GenerateDepsFile:

  error MSB4018: ... An item with the same key has already been added. Key: ATAS.Indicators.Technical

ResolveAssemblyReferences walks OFT.Editors -> OFT.Platform.Core ->
ATAS.Strategies and picks up the platform's own ATAS.Indicators.Technical.dll
from ATAS_BASE, which has the same name as this project's output. Remove that
dependency after reference resolution so it is neither written to the deps
file nor copied over the freshly built assembly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01474y4c64ouxmxfuvhhvqdn
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