Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug - Duplicates in Visual Studio Solution Explorer

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

    Bug - Duplicates in Visual Studio Solution Explorer

    NT Team,

    It would appear where a NinjaScript (e.g. SampleBoolSeriesStategy) is imported (in error) more than once, the NinjaScript Editor (NE) correctly replaces the already existing NinjaScript. However, it would appear the Visual Studio (VS) Solution Explorer holds duplicate scripts (screenshot attached). The error message is
    The item "Indicators\SampleBoolSeries.cs" was specified more than once in the "Sources" parameter. Duplicate items are not supported by the "Sources" parameter. NinjaTrader.Custom.
    In NE removing the offending script works as expected. Alternatively, in VS removing one of the duplicate scripts removes both and thus all trace.

    However, in NT8 re-importing the script results in duplicates once more.

    Regards
    Shannon
    Attached Files
    Last edited by Shansen; 07-30-2015, 02:25 PM.

    #2
    Hi Shannon,

    Thanks for your note.

    I am testing this on my end and I will let you know what I find.

    When you import the script this should recompile the custom file.

    Are you reloading the project in visual studio after the compile?

    If you restart Visual Studio and reload the project are you still seeing the duplicate?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      ChelseaB,

      Thanks for the follow up. In response to your questions:
      1) I am reloading the project in visual studio after the compile. In VS, I click "Reload all" in the File Modification Detected popup window.
      2) After restarting VS and reopening the project, the duplicates are still present. After several restarts of NT8 and VS the duplicates are still present. Please advise if your phase "reload the project" is different from reopening the project in this cased.

      Thanks again
      Shannon
      Attached Files

      Comment


        #4
        Hello Shannon,

        I was able to reproduce this behavior and I have submitted this to the NinjaTrader development department.

        Thank you for tracking this issue down. Please let me know if you find any other issues with NT8 you would like to submit to development.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mattbsea, Today, 05:44 PM
        0 responses
        2 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X