diff options
author | crupest <crupest@outlook.com> | 2020-06-03 18:58:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-03 18:58:03 +0800 |
commit | 227e0855fc99f0d2f27891dca24fcec7eb4378f6 (patch) | |
tree | 399c79dfcdbcb7c30758dac7ec0e68e14d3c8dcc /Timeline/Timeline.csproj | |
parent | 80283a24c7401266e739d30b82b457fcd7c45ff0 (diff) | |
download | timeline-227e0855fc99f0d2f27891dca24fcec7eb4378f6.tar.gz timeline-227e0855fc99f0d2f27891dca24fcec7eb4378f6.tar.bz2 timeline-227e0855fc99f0d2f27891dca24fcec7eb4378f6.zip |
Fix #87 .
Diffstat (limited to 'Timeline/Timeline.csproj')
-rw-r--r-- | Timeline/Timeline.csproj | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Timeline/Timeline.csproj b/Timeline/Timeline.csproj index 8231cfa8..f918b2d6 100644 --- a/Timeline/Timeline.csproj +++ b/Timeline/Timeline.csproj @@ -52,20 +52,6 @@ <None Include="$(SpaRoot)**" Exclude="$(SpaRoot)node_modules\**" />
</ItemGroup>
- <Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)node_modules') ">
- <!-- 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." />
- <Exec Command="yarn --version" ContinueOnError="true">
- <Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
- </Exec>
- <Error Condition="'$(ErrorCode)' != '0'" Text="Yarn is required to build and run this project. To continue, please install yarn from https://yarnpkg.com/, and then restart your command prompt or IDE." />
- <Message Importance="high" Text="Restoring dependencies using 'yarn'. This may take several minutes..." />
- <Exec WorkingDirectory="$(SpaRoot)" Command="yarn" />
- </Target>
-
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn" />
|