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

Error: "Only names of public properties are allowed here"

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

    Error: "Only names of public properties are allowed here"

    Hello Ninja Team,

    Why am I getting this error inside Visual Studio 2022?

    Only names of public properties are allowed here

    Click image for larger version

Name:	image.png
Views:	143
Size:	66.5 KB
ID:	1254346
    Regards,

    #2
    Got it fixed, but thanks anyways, managed to fix it by removing
    "ResourceType = typeof(Custom.Resource)"

    As it is not needed for my custom properties.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Richozzy38, Yesterday, 01:06 PM
    6 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by alifarahani, 04-19-2024, 09:40 AM
    10 responses
    74 views
    0 likes
    Last Post alifarahani  
    Started by Zeezee, Today, 12:45 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by tomasak, Today, 12:54 PM
    0 responses
    1 view
    0 likes
    Last Post tomasak
    by tomasak
     
    Started by swjake, Today, 12:04 PM
    2 responses
    10 views
    0 likes
    Last Post swjake
    by swjake
     
    Working...
    X