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 Kylemcfar57x, 01-27-2023, 12:06 PM
      16 responses
      168 views
      0 likes
      Last Post Kylemcfar57x  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      28 responses
      2,041 views
      2 likes
      Last Post oldporkchops  
      Started by tkaboris, Yesterday, 10:29 AM
      2 responses
      48 views
      0 likes
      Last Post bltdavid  
      Started by tannermcelvany34, Yesterday, 10:53 PM
      0 responses
      28 views
      0 likes
      Last Post tannermcelvany34  
      Started by GoldBands, Yesterday, 10:23 PM
      1 response
      41 views
      0 likes
      Last Post GoldBands  
      Working...
      X