internal string EvaluateParameterAsString(DTE dte, string parameterName)
 {
   try
   {
     IDictionaryService serviceToAdapt = (IDictionaryService)this.GetService(typeof(IDictionaryService));
     ServiceAdapterDictionary serviceAdaptor = new ServiceAdapterDictionary(serviceToAdapt);
     ExpressionEvaluationService2 expressionService2 = new ExpressionEvaluationService2();
     object evaluatedValue = expressionService2.Evaluate(parameterName, serviceAdaptor);
     if (evaluatedValue == null || string.IsNullOrEmpty(evaluatedValue.ToString()))
     {
       return "";
     }
     return evaluatedValue.ToString();
   }
   catch (NullReferenceException)
   {
   }
   return "";
 }
 /// <summary>
 /// takes a parameter like "$(FeatureName)$(NameSeparator)$(ID)" and returns the current value "FeatureX_34"
 /// </summary>
 /// <param name="parameterName"></param>
 /// <returns></returns>
 internal string EvaluateParameterAsString(DTE dte, string parameterName)
 {
     try
     {
         IDictionaryService           serviceToAdapt     = (IDictionaryService)this.GetService(typeof(IDictionaryService));
         ServiceAdapterDictionary     serviceAdaptor     = new ServiceAdapterDictionary(serviceToAdapt);
         ExpressionEvaluationService2 expressionService2 = new ExpressionEvaluationService2();
         string evaluatedValue = expressionService2.Evaluate(parameterName, serviceAdaptor).ToString();
         if (string.IsNullOrEmpty(evaluatedValue))
         {
             return("");
         }
         return(evaluatedValue);
     }
     catch (NullReferenceException)
     {
     }
     return("");
 }