I get this error now when loading my old PB profile, the code is suppose to grab settings from another PB profile.. can tip $20 paypal for solution.. Thanks in advance.
Err: Declaration
private void LoadCharacterSettings()
{
string CharacterSettingsPath = Path.Combine(Logging.ApplicationPath,
string.Format("Settings\\ProfessionBuddy\\{0}[{1}-{2}].xml", "turtlefarm",
Me.Name,
Lua.GetReturnVal<string>("return GetRealmName()", 0)));
if (File.Exists(CharacterSettingsPath))
{
using (System.Xml.XmlReader reader = System.Xml.XmlReader.Create(CharacterSettingsPath))
{
try
{
var serializer = new System.Runtime.Serialization.DataContractSerializer(typeof(Dictionary<string, object>));
MSettings = (Dictionary<string, object>)serializer.ReadObject(reader);
}
catch (Exception ex)
{
slog(ex.ToString());
}
}
}
}
)
Compile Error : 'Styx.Common.Logging' does not contain a definition for 'ApplicationPath'
Err: Declaration
private void slog(string format, params object[] args)
{
Logging.Write(Color.Crimson, "[UF]: " + format, args);
})
Compile Error : 'System.Windows.Media.Color' does not contain a definition for 'Crimson'
Err: Declaration

{
string CharacterSettingsPath = Path.Combine(Logging.ApplicationPath,
string.Format("Settings\\ProfessionBuddy\\{0}[{1}-{2}].xml", "turtlefarm",
Me.Name,
Lua.GetReturnVal<string>("return GetRealmName()", 0)));
if (File.Exists(CharacterSettingsPath))
{
using (System.Xml.XmlReader reader = System.Xml.XmlReader.Create(CharacterSettingsPath))
{
try
{
var serializer = new System.Runtime.Serialization.DataContractSerializer(typeof(Dictionary<string, object>));
MSettings = (Dictionary<string, object>)serializer.ReadObject(reader);
}
catch (Exception ex)
{
slog(ex.ToString());
}
}
}
}
)
Compile Error : 'Styx.Common.Logging' does not contain a definition for 'ApplicationPath'
Err: Declaration

{
Logging.Write(Color.Crimson, "[UF]: " + format, args);
})
Compile Error : 'System.Windows.Media.Color' does not contain a definition for 'Crimson'