Skip to content

Commit

Permalink
Fix return value of GetTargetPath target
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Oct 30, 2015
1 parent 1b3c01f commit 5add31d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Nodejs/Product/Nodejs/Microsoft.NodejsTools.targets
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,23 @@
<Target
Name="GetTargetPath"
DependsOnTargets="CoreCompile"
Returns="@(ScriptAndWebDeployFiles)"
Returns="@(ScriptAndWebDeployFilesWithoutMetadata)"
>
<ItemGroup>
<NodejsBinFiles Include="bin\**\*" Exclude="bin\Microsoft.NodejsTools.WebRole.dll"/>
<ScriptAndWebDeployFiles Include="@(NodejsBinFiles->'%(RootDir)%(Directory)%(Filename)%(Extension)')"/>
<ScriptAndWebDeployFiles Include="@(FilesCopiedToIntermediate->'%(RootDir)%(Directory)%(Filename)%(Extension)')" />
</ItemGroup>
<Message Text="ScriptAndWebDeployFiles=@(ScriptAndWebDeployFiles)" Importance="low"/>

<PropertyGroup>
<ScriptAndWebDeployFileList>@(ScriptAndWebDeployFiles)</ScriptAndWebDeployFileList>
</PropertyGroup>

<ItemGroup>
<ScriptAndWebDeployFilesWithoutMetadata Include="$(ScriptAndWebDeployFileList)" />
</ItemGroup>

<Message Text="ScriptAndWebDeployFilesWithoutMetadata=@(ScriptAndWebDeployFilesWithoutMetadata)" Importance="low"/>
</Target>
<Target Name="WatGetTargetFrameworkDirectories" Returns="" />
<Target Name="BuiltProjectOutputGroupDependencies" Returns="" />
Expand Down

0 comments on commit 5add31d

Please sign in to comment.