Orchard.proj: Fixing that BuildViews should be able to run without running Compile first

This commit is contained in:
Lombiq 2019-02-28 17:46:45 +01:00 committed by Benedek Farkas
parent 5c21b72793
commit 3c4de528c4

View File

@ -139,6 +139,12 @@
</Target>
<Target Name="BuildViews">
<!-- To make sure that Roslyn tools are available, even if the Compile task was not called before this. -->
<MSBuild
Projects="$(OrchardWebFolder)\Orchard.Web.csproj"
Targets="CopyRoslynFilesToOutputFolder"
Properties="Configuration=$(Configuration)" />
<!-- The actual compilation with views also compiled. -->
<MSBuild
Projects="$(Solution)"
Targets="Build"