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 | f6efa149ee219a92065435a4a2ed240ab84162da (patch) | |
tree | 009d01b1be81108ec783ed2d225a626df6b76c42 /Timeline/Timeline.csproj | |
parent | d393e939282dc394c655e10ce6016725519dc3f9 (diff) | |
download | timeline-f6efa149ee219a92065435a4a2ed240ab84162da.tar.gz timeline-f6efa149ee219a92065435a4a2ed240ab84162da.tar.bz2 timeline-f6efa149ee219a92065435a4a2ed240ab84162da.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" />
|