diff --git a/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/LanguageServices/Handlers/ProjectPropertiesItemHandler.cs b/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/LanguageServices/Handlers/ProjectPropertiesItemHandler.cs index d6493a0feae..515c5a55549 100644 --- a/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/LanguageServices/Handlers/ProjectPropertiesItemHandler.cs +++ b/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/LanguageServices/Handlers/ProjectPropertiesItemHandler.cs @@ -55,7 +55,7 @@ private bool TryHandleSpecificProperties(string name, string value, IProjectLogg // command-line argument and set via one of the other handlers, where as the latter is calculated via // the TargetPath property and explicitly set on the context. - if (StringComparers.PropertyNames.Equals(name, ConfigurationGeneral.TargetPathProperty)) + if (StringComparers.PropertyNames.Equals(name, LanguageService.TargetPathProperty)) { if (!string.IsNullOrEmpty(value)) {