Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Compile with debug enabled fails

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

    Compile with debug enabled fails

    Hi guys,

    I'm getting following error when I enable debugging for indicator. Mentioned file exists on FS. Any ideas?

    I have VM Windows 11 running in Parallels, NT8, VS community 2019. Many Thanks



    UPDATE: I have to manually delete file, run compile again and it works. Then I need to repeat this process over and over again.
    Last edited by Jozef Neuschl; 02-08-2022, 02:57 AM.

    #2
    Hello Josef Neuschl,

    Thank you for your post.

    This can occur when trying to run the project from Visual Studio or building from Visual Studio instead of saving and running the compile in the NinjaScript Editor. When using Visual Studio if you do so there's a generated folder that gets created and that's what's causing the error. You should always compile from the Editor and not build the project in VS.

    Check in Documents > NinjaTrader 8 > bin > Custom >obj > Debug for a file named AssemblyAttributes.cs. If you find this file, delete the Debug folder and then compile in the NinjaScript editor.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thanks when I delete the folder it works fine.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TraderBCL, Today, 04:38 AM
      1 response
      5 views
      0 likes
      Last Post bltdavid  
      Started by martin70, 03-24-2023, 04:58 AM
      14 responses
      105 views
      0 likes
      Last Post martin70  
      Started by Radano, 06-10-2021, 01:40 AM
      19 responses
      606 views
      0 likes
      Last Post Radano
      by Radano
       
      Started by KenneGaray, Today, 03:48 AM
      0 responses
      4 views
      0 likes
      Last Post KenneGaray  
      Started by thanajo, 05-04-2021, 02:11 AM
      4 responses
      470 views
      0 likes
      Last Post tradingnasdaqprueba  
      Working...
      X