• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddOn Framework Example

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AddOn Framework Example

    I've successfully imported and run the AddOn Framework Example available here:
    http://ninjatrader.com/support/forum...hp?&linkid=763
    It compiles fine within NinjaTrader. However, in Visual Studio 2015 the NinjaTrader.Custom assembly no longer compiles;

    Code:
    1>------ Build started: Project: NinjaTrader.Custom, Configuration: Debug Any CPU ------
    1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "PresentationCore", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
    1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(268,9): error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'InfragisticsWPF4.v15.1, Version=15.1.20151.2055, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' 
    ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

    #2
    I solved this problem.
    In Visual Studio I added a reference to InfragisticsWPF4.v15.1.dll that I found in the NinjaTrader installation folder.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gemini42, Today, 01:53 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by asmmbillah, Today, 04:42 PM
    2 responses
    11 views
    0 likes
    Last Post asmmbillah  
    Started by JAtrades, Today, 02:44 PM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by mr_trade, Today, 01:32 PM
    1 response
    11 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by sgordet, Today, 10:44 AM
    1 response
    13 views
    0 likes
    Last Post bltdavid  
    Working...
    X