- ago

Error CS1705 Assembly 'WealthLab.Backtest' with identity 'WealthLab.Backtest, Version=7.0.1.0, Culture=neutral, PublicKeyToken=null' uses 'System.Drawing.Primitives, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Drawing.Primitives' with identity 'System.Drawing.Primitives, Version=4.0.2.0, Culture=neutral,

Thank you
0
982
5 Replies

Reply

Bookmark

Sort
- ago
#1
What is the context?
Are you using Visual Studio to develop compiled strategies?
0
- ago
#2
I wanted to test a compiled strategy using VS. So I just copied one of the sample stratiegs into VS. Then added needed references and set target framework to .NET 4.6.2 .
During compiling I get the error on statements like:
source = new Highest(bars.High, 50);
Plot(source, Color.FromArgb(255, 0, 0, 0));
0
- ago
#3
WL7 is built on .NET Core 3.1
WL6 uses .NET 4.6.2. (or ..NET 4.8 for 6.9.24)
0
- ago
#4
Got it. Do you have a tutorial on the topic of creating a compiled dll in VS for WL7?
0
- ago
#5
Not yet

https://www.wealth-lab.com/Discussion/New-instruction-for-using-Visual-Studio-for-strategies-5494
0

Reply

Bookmark

Sort