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

  • Jozef Neuschl
    replied
    Thanks when I delete the folder it works fine.

    Leave a comment:


  • NinjaTrader_Kate
    replied
    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.

    Leave a comment:


  • Jozef Neuschl
    started a topic Compile with debug enabled fails

    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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by inanazsocial, Today, 01:15 AM
1 response
5 views
0 likes
Last Post NinjaTrader_Jason  
Started by rocketman7, Today, 02:12 AM
0 responses
10 views
0 likes
Last Post rocketman7  
Started by dustydbayer, Today, 01:59 AM
0 responses
1 view
0 likes
Last Post dustydbayer  
Started by trilliantrader, 04-18-2024, 08:16 AM
5 responses
23 views
0 likes
Last Post trilliantrader  
Started by Davidtowleii, Today, 12:15 AM
0 responses
3 views
0 likes
Last Post Davidtowleii  
Working...
X