Hi,
I've been building some indicators which are working well. Now I'm trying to move the code into a separate repo and build in them in isolation. I am getting the following error:
C:\Users\xxxx\GitHub\NinjaTrader\Strategies\xxxx\M odelB.cs(25,22): error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
C:\Users\xxxx\\GitHub\NinjaTrader\Indicators\xxxx\ ModelV.cs(723,16): error CS0246: The type or namespace name 'Brush' could not be found (are you missing a using directive or an assembly reference?)
I'm referencing the NinjaTrader Core dll in the csproj file as follows:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="NinjaTrader.Core">
<HintPath>references\NinjaTrader.Core.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
I'm just using a standard dotnet build command to build.
I'd really like to get an automated build using GitHub actions.
Please can you help?
Comment