Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cannot compile after computer crash and reboot - sad face

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

    Cannot compile after computer crash and reboot - sad face

    Hey, so I unfortunately had a hard crash while coding in VS2022 in the Ninjatrader custom solution. When I reboot the computer first of all the indicator I was working on is gone from the solution (it's there in the folder though), and when I run the compiler in the NinjaScript editor I get this error:
    Click image for larger version

Name:	image.png
Views:	115
Size:	234.2 KB
ID:	1244606​Anyone have any ideas what I could do to fix this?

    #2
    Solved it by following the first steps from this post:

    Hey everyone. I've been working on both indicators and addon projects using VisualStudio 2019. Been working great for months but now I don't know what I've done, but I can't get anything to compile anymore. Error = CS0579 "Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute." NinjaScript

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 09:41 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Today, 02:41 AM
    0 responses
    6 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, Yesterday, 11:44 PM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    32 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    31 views
    0 likes
    Last Post CarlTrading  
    Working...
    X