nuget-webtargets icon indicating copy to clipboard operation
nuget-webtargets copied to clipboard

Empty VSToolsPath property value not updated by MSBuild.Microsoft.VisualStudio.Web.targets.props

Open reubenrybnik opened this issue 7 years ago • 0 comments

The condition for setting property VSToolsPath in MSBuild.Microsoft.VisualStudio.Web.targets.props does not successfully compare with an empty string when the VSToolsPath property is empty. $(VSToolsPath) should be wrapped in single quotes as shown below:

<VSToolsPath Condition="'$(VSToolsPath)' == ''" >$(MSBuildThisFileDirectory)\..\tools\VSToolsPath</VSToolsPath>

reubenrybnik avatar Feb 09 '17 06:02 reubenrybnik