On NT 4.1.2
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
AssemblyAttributes files generated when editing indicator
Collapse
X
-
AssemblyAttributes files generated when editing indicator
Editing custom indicator results in multiple .NET4.8 AssemblyAttributes.cs files. No idea why it seems to be doing this every time I edit the file and compile all is fine after depleting the files and compiling, just seems unnecessary.
On NT 4.1.2Tags: None
-
Hello Conceptzx,
Thanks for your notes.
To clarify, do you mean you are using NinjaTrader Desktop version 8.1.2, not 4.1.2?
Are you editing and compiling the file in the NinjaScript Editor window? Or, are you using Visual Studio?
Please send us a screenshot of the behavior you are reporting and send us the exact steps and settings you are using to reproduce the behavior so we may investigate this matter further.- To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.
<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>
-
Hello Conceptzx,
Thanks for your notes.
The Solution was saved in Visual Studio or an attempt to compile was performed in VisualStudio and this causes Visual Studio to write an AssemblyAttribute.cs file.
Delete Documents\NinjaTrader 8\bin\Custom\obj folder to resolve the error.
Ensure you do not build or compile in Visual Studio to prevent this from occurring. Make sure to save the file in Visual Studio and only compile in the NinjaScript Editor window.
As noted in the Visual Studio Debugging help guide: "You can also use Visual Studio as editor for your NinjaScript files - for that open the project as in step 2 above and then use Visual Studio for editing and once done save the file (don't run or build the solution then in Visual Studio), preferably with the NinjaScript editor opened still at the same time, so changes would be auto compiled in then."
Visual Studio Debugging: https://ninjatrader.com/support/help...ing.htm<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
-
Hello Conceptzx,
Thanks for your notes.
First, delete the Documents\NinjaTrader 8\bin\Custom\obj folder to resolve the error.
Then, ensure Visual Studio is closed, modify a script using the NinjaScript Editor window, run a compile in the NinjaScript Editor window, and test to see if the behavior persists.
If the behavior persists, send us the exact steps and settings you are using to reproduce the behavior so we may investigate this matter 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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
55 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment