hello, sorry i should have added more resources to clarify my question, first i am adding an image showing the exact error i get
If its not legible (i chose that font size so i could add full script to the image) the exact error is:
The Class that is giving issues is for example: “Newton.Json.JsonIgnoreAtribute” and others “Newton.Json.X” classes
Thanks for pointing out the multiple using issue, but i indeed made sure that i wasnt adding multiple using statement, but to make sure here is a link to the apiaisdk github library that is using the namespace Newtonsoft.Json (from fastJSON) and here is a link to the rosharp library using that same namespace but from the Netwonsoft.Json dll.
into the extern alias issue i have added the alias to make sure i was using the correct Newtonsoft.Json class here is the resulted code, without showing any errors,
extern alias test2;
using test2::Newtonsoft.Json;
namespace RosSharp.RosBridgeClient.MessageTypes.Sensor
{
public class SetCameraInfoResponse : Message
{
[JsonIgnore]
public const string RosMessageName = "sensor_msgs/SetCameraInfo";
public bool success;
// True if the call succeeded
public string status_message;
// Used to give details about success
public SetCameraInfoResponse()
{
this.success = false;
this.status_message = "";
}
public SetCameraInfoResponse(bool success, string status_message)
{
this.success = success;
this.status_message = status_message;
}
}
}
but when unityeditor compiles the code it returns the next error:
so i searched and found about the smcs.rsp, i tried several times, without success, and when googling the error i found this
so i imagined that was simply not supported in newer versions (i am using 2019) and my next approach was to come to unity forum in case someone could give me an advice
Sorry for the lack of details i was in a hurry i should not have upload the question like this.
@Bunny83 thanks for your time any advice, even if its to simply stop trying to find a solution and write my own library is appreciated.
Mario.