4
4Space
I'm trying to write a plugin for visual studio, but I've hit a snag with a
property that should be there, but kind of isn't.
private bool IsProjectThemed( EnvDTE.Project project )
{
try
{
if ( project.Globals.get_VariableExists( m_themedFlagName ) )
{
return ( project.Globals.VariableValue( m_themedFlagName ) ==
true );
}
else
{
return false;
}
}
catch ( Exception )
{
return false;
}
}
But apparently...
'EnvDTE.Globals' does not contain a definition for 'VariableValue'
But according to MSDN, it should be there. Any suggestions?
Cheers,
4Space
property that should be there, but kind of isn't.
private bool IsProjectThemed( EnvDTE.Project project )
{
try
{
if ( project.Globals.get_VariableExists( m_themedFlagName ) )
{
return ( project.Globals.VariableValue( m_themedFlagName ) ==
true );
}
else
{
return false;
}
}
catch ( Exception )
{
return false;
}
}
But apparently...
'EnvDTE.Globals' does not contain a definition for 'VariableValue'
But according to MSDN, it should be there. Any suggestions?
Cheers,
4Space