Severity | Code | Description | Project | File | Line | Suppression State |
Error | CS0579 | Duplicate 'global::System.Runtime.Versioning.TargetFramework Attribute' attribute | NinjaTrader.Custom | C:\Users\someone\Documents\NinjaTrader 8\bin\Custom\obj\x64\Debug\.NETFramework,Version=v 4.5.AssemblyAttributes.cs | 4 | Active |
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!
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
NinjaTrader
Error when building NinjaTrader 8 custom project
Collapse
X
-
Error when building NinjaTrader 8 custom project
Hi all, I am getting the below error. Am I using the wrong version of .Net Framework?
Tags: None
-
Never mind. I deleted the obj folder for this and it got rid of the problem. Strange that clean and rebuild all did not do the same thing.
-
-
Hello NeverDownMoney,
Do you have the .NET 4.8 SDK installed?
https://dotnet.microsoft.com/downloa...edium=referral
Have you attempted to build NinjaTrader from Visual Studio instead of compiling from the NinjaScript Editor?
(edit)
If so, within 'Documents\NinjaTrader 8\bin\Custom\' delete the 'obj' folder.Last edited by NinjaTrader_ChelseaB; 09-15-2022, 08:01 AM.Chelsea B.NinjaTrader Customer Service
- Likes 2
Comment
-
Hello NeverDownMoney. Thanks for solving the problem.
I have .NET 4.8 SDK installed and used the NT8 debugger but did not compile (may be accidentally with F5) the NT8 indicator in VS. I tried the following without success:
1. remove all occurrences of AssemblyAttributes.cs
2. deleting Documents\NinjaTrader 8\bin\Custom\bin folder
.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
10 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
4 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
45 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
6 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
Comment