Profile Picture

.NET 4.x

Posted By jcr 4 Years Ago
Message
jcr
Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)
Posted Tuesday July 09 2013
Hello,

I am trying to compile the R.NET library

http://rdotnet.codeplex.com/


As you can see, the library requires .NET framework 4, and in project properties the highest
target framework version is .NET 3.5.

Could you tell me how can I use the library???

Thanks
Posted Wednesday July 10 2013
http://www.rightedgesystems.com/forums/Topic12738-16-1.aspx#bm13011


jcr
Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)
Posted Wednesday July 10 2013
Thanks for the answer,
I had already seen the link.
It could be that I didn't make myself clear.

I don't want to create a plug-in.
From my project in RightEdge I have to use a 4.x library, which it makes necessary to compile the project in RightEdge with .NET 4.

Many thanks again
Posted Friday July 12 2013
If you do that then RE runs as .net 4.0 so any plugins or references that are in .net 4.0 wil work as well.


jcr
Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)Supreme Being (1,359 reputation)
Posted Friday July 12 2013
Thanks again,
but
when I compile from RightEdge with a reference to this library appears the following error:

Error   Assembly 'RDotNet, Version=1.5.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'      0

I understand that I am trying to compile a project with .NET 3.5 using a .NET 4 library. That's why I am getting an error.
I already configured RightEdge to run with .NET 4, but RightEdge is compiling in .NET 3.5, just like the target framework version says. And I cannot select my target framework version 4.0 in project properties, compiler tab.

Is there any way to configure RightEdge to compile, (not to run), in .NET 4?


Posted Friday July 12 2013
Right now there is not a way to do this from within RightEdge. You can do it in Visual Studio though, and RightEdge has commands to create a Visual Studio project from your trading system. Once you create it you can retarget it to .NET 4 in Visual Studio. Compile the system in Visual Studio before running it in RightEdge, and RightEdge should detect that the DLL is up-to-date and use that.

Thanks,
Daniel


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems