- The information I gave you specifies the exact NT source file and line number causing the warning. Does that not meet your request for a source file exhibiting the issue?
- Visual Studio -- I am using the solution provide by NT when I clicked on the "Open project in Visual Studio" button in the NT source editor. Visual studio puts up warnings and errors as I type. I can also use the standard VS build commands to be sure I generate all warnings, even though the result cannot be run by NT. Also, if I have a build error in the NT editor VS will display the errors and warnings when I move the focus back to VS.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to get rid of this warning?
Collapse
X
-
Originally posted by NinjaTrader_JessicaP View Post
-
I believe it is likely something to do with the way the project is set up. It may be the case that zipping up a simple project surrounding a basic indicator or strategy, such as one of the ones NinjaTrader's wizards generate, may be the easiest solution.
My goal is to collect enough information that our developers will be able to reproduce the same warning and error messages you are seeing, or at least most of them. This message in particular is likely due to a symbol name in one of our source files being similar to a symbol name in one of our dlls.
If our developers can reproduce this on their end, they can resolve this query for a broad class of users, including yourself, using Visual Studio. We can not support Visual Studio directly; the NinjaTrader compiler is the only method of generating add-ons to NinjaTrader that we can fully document, that falls completely within the scope of our support. However, we do strive to make the user experience as terrific as we can for as many customers as possible.
Any information you can give us that will lead to our developers having a complete picture, that will let them see what you are seeing, will be appreciated.Jessica P.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_JessicaP View PostI believe it is likely something to do with the way the project is set up. It may be the case that zipping up a simple project surrounding a basic indicator or strategy, such as one of the ones NinjaTrader's wizards generate, may be the easiest solution.
My goal is to collect enough information that our developers will be able to reproduce the same warning and error messages you are seeing, or at least most of them. This message in particular is likely due to a symbol name in one of our source files being similar to a symbol name in one of our dlls.
If our developers can reproduce this on their end, they can resolve this query for a broad class of users, including yourself, using Visual Studio. We can not support Visual Studio directly; the NinjaTrader compiler is the only method of generating add-ons to NinjaTrader that we can fully document, that falls completely within the scope of our support. However, we do strive to make the user experience as terrific as we can for as many customers as possible.
Any information you can give us that will lead to our developers having a complete picture, that will let them see what you are seeing, will be appreciated.
Thanks for being so helpful. I'm trying to cooperate. I am just using the standard solution that NT provides when I go to VS from the NT editor. The only change I have made is to add my own indicator and addon files. I have made no other content changes and I have made no project/solution changes of any kind. Is there some further information that would help you to help us?
I agree that the large number of 0436 warnings is probably project setup. The 0618 warnings (only 4 of them) appear to be source file fixes needed -- the source is using obsolete functions -- scarcely a good example for developers who model after the provided indicators.Last edited by ETFVoyageur; 08-09-2016, 09:10 AM.
Comment
-
Originally posted by NinjaTrader_JessicaP View PostThat should be everything we need. I'll follow up with you as soon as we are able to reproduce and confirm this behavior, and again as we progress toward a solution.
Comment
-
Hello ETFVoyageur, one last question I had,
Originally posted by ETFVoyageur View PostI am just using the standard solution that NT provides when I go to VS from the NT editor.Jessica P.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_JessicaP View PostHello ETFVoyageur, one last question I had,
I am unsure what the standard solution you are referring to here is. Do you have any web resources bookmarked, or file locations in a standard Ninja installation, that I can use as a starting point?
Does that help?
Comment
-
Originally posted by NinjaTrader_JessicaP View PostHello ETFVoyageur, one last question I had,
I am unsure what the standard solution you are referring to here is. Do you have any web resources bookmarked, or file locations in a standard Ninja installation, that I can use as a starting point?
Warning CS0436 893 The type 'TextPosition' in 'Documents\NinjaTrader 8\bin\Custom\DrawingTools\@Text.cs' conflicts with the imported type 'TextPosition' in 'NinjaTrader.Vendor, Version=8.0.0.12, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'Documents\NinjaTrader 8\bin\Custom\DrawingTools\@Text.cs'. Documents\NinjaTrader 8\bin\Custom\DrawingTools\@Text.cs
Comment
-
Thank you, Jessica. It will be really nice to not have all of those NT warnings, so my own stand out immediately.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Trader146, 03-29-2024, 01:22 PM
|
4 responses
24 views
0 likes
|
Last Post
by Trader146
Today, 09:53 PM
|
||
Started by elirion, Today, 09:48 PM
|
0 responses
2 views
0 likes
|
Last Post
by elirion
Today, 09:48 PM
|
||
Started by set2win, 08-04-2021, 09:23 AM
|
39 responses
1,001 views
0 likes
|
Last Post Today, 08:20 PM | ||
Started by md4866, Today, 08:15 PM
|
0 responses
8 views
0 likes
|
Last Post
by md4866
Today, 08:15 PM
|
||
Started by mjbatts91, Yesterday, 04:48 PM
|
2 responses
23 views
0 likes
|
Last Post
by mjbatts91
Today, 07:52 PM
|
Comment