Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Variable used in AdditionalReferences.txt when exporting (Agile.NET protected)

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

    Variable used in AdditionalReferences.txt when exporting (Agile.NET protected)

    Hi,

    when exporting an indicator (using Agile.NET for protecting plus adding some DLL references there) NT8 adds the AdditionalReferences.txt file to the exported zip file.

    Can I influence which 'variable' is used in this AdditionalReferences.txt file?
    Because now every line in the AdditionalReferences.txt file starts with
    Code:
    *UserProfile*\Documents\NinjaTrader 8\bin\Custom\....
    Every person which installed win11/onedrive 'with default behaviour' ends up having their Documents folder inside their OneDrive folder and the indicator zip files which have such *UserProfile*\Documents lines in the AdditionalReferences.txt file can't be installed.

    What I have to do now is open that AdditionalReferences.txt file and change all *UserProfile*\Documents to *MyDocuments* and now also above mentioned users which have their documents folder inside the OneDrive folder are able to import the indicator zip file.

    So
    1) can I influence by any setting that *MyDocuments* should be used when I export something or
    2) if not shouldn't NT8 itself use *MyDocuments* per default (instead of *UserProfile*\Documents)?

    Thanks
    Last edited by Heart; 12-11-2022, 06:54 AM.

    #2
    Hello Heart,

    Thanks for your post.

    We are currently researching this topic and we will reach out to you as soon as further information is available.

    I look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hello Heart,

      Thanks for your patience.

      Unfortunately, it would not be possible to influence which 'variable' is used in this AdditionalReferences.txt file during export.

      I have reported this issue to our Development team and will follow up as soon as they have looked into this issue and more information is available. The ID number for this reported issue QA-5934.

      Please let me know if you have further questions.
      Last edited by NinjaTrader_BrandonH; 12-12-2022, 10:12 AM.
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      646 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      367 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X