Skip to content

Commit

Permalink
Fix #493: Add WebSharperReference project item
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Nov 16, 2015
1 parent 58dc521 commit 8fa8cde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions msbuild/WebSharper.targets
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</PropertyGroup>
<UsingTask AssemblyFile="$(WebSharperTaskAssembly)" TaskName="WebSharper.MSBuild.WebSharperTask" />
<Target Name="WebSharperBundle" AfterTargets="Build">
<WebSharperTask Command="Bundle" ItemInput="$(TargetPath);@(ReferencePath)"
<WebSharperTask Command="Bundle" ItemInput="$(TargetPath);@(WebSharperReference);@(ReferencePath)"
Configuration="$(Configuration)"
DocumentationFile="$(DocumentationFile)"
EmbeddedResources="@(EmbeddedResource)"
Expand Down Expand Up @@ -56,7 +56,7 @@
WebSharperProject="$(WebSharperProject)" />
</Target>
<Target Name="WebSharperCompile" AfterTargets="CoreCompile">
<WebSharperTask Command="Compile" ItemInput="@(IntermediateAssembly);@(ReferencePath)"
<WebSharperTask Command="Compile" ItemInput="@(IntermediateAssembly);@(WebSharperReference);@(ReferencePath)"
Configuration="$(Configuration)"
DocumentationFile="$(DocumentationFile)"
EmbeddedResources="@(EmbeddedResource)"
Expand All @@ -71,7 +71,7 @@
WebSharperProject="$(WebSharperProject)" />
</Target>
<Target Name="WebSharperHtml" AfterTargets="Build">
<WebSharperTask Command="Html" ItemInput="$(TargetPath);@(ReferencePath)"
<WebSharperTask Command="Html" ItemInput="$(TargetPath);@(WebSharperReference);@(ReferencePath)"
Configuration="$(Configuration)"
DocumentationFile="$(DocumentationFile)"
EmbeddedResources="@(EmbeddedResource)"
Expand All @@ -87,7 +87,7 @@
WebSharperProject="$(WebSharperProject)" />
</Target>
<Target Name="WebSharperUnpack" AfterTargets="Build">
<WebSharperTask Command="Unpack" ItemInput="@(ReferencePath)"
<WebSharperTask Command="Unpack" ItemInput="@(WebSharperReference);@(ReferencePath)"
Configuration="$(Configuration)"
DocumentationFile="$(DocumentationFile)"
EmbeddedResources="@(EmbeddedResource)"
Expand Down

0 comments on commit 8fa8cde

Please sign in to comment.