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 Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X