Merge branch 'rel/2.0.0-preview2' into dev

This commit is contained in:
Steve Sanderson
2017-06-10 14:36:36 +01:00
6 changed files with 36 additions and 0 deletions

View File

@@ -30,6 +30,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />

View File

@@ -25,6 +25,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />

View File

@@ -25,6 +25,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />

View File

@@ -30,6 +30,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />

View File

@@ -25,6 +25,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />

View File

@@ -25,6 +25,12 @@
<!--/-:cnd:noEmit --> <!--/-:cnd:noEmit -->
<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') "> <Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<!-- In development, the dist files won't exist on the first run or when cloning to <!-- In development, the dist files won't exist on the first run or when cloning to
a different machine, so rebuild them if not already present. --> a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." /> <Message Importance="high" Text="Performing first-run Webpack build..." />