-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRosterWebApp.csproj
107 lines (96 loc) · 5.55 KB
/
RosterWebApp.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE</DefineConstants>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<None Remove="ClientApp\components\absence\createabsence.ts" />
<None Remove="ClientApp\components\absence\editabsence.ts" />
<None Remove="ClientApp\components\admin\createholiday.ts" />
<None Remove="ClientApp\components\admin\createsite.ts" />
<None Remove="ClientApp\components\admin\editholiday.ts" />
<None Remove="ClientApp\components\admin\editsite.ts" />
<None Remove="ClientApp\components\employee\createemployee.ts" />
<None Remove="ClientApp\components\employee\editemployee.ts" />
<None Remove="ClientApp\components\navmenu\navmenu.ts" />
<None Remove="ClientApp\components\session\createsession.ts" />
<None Remove="ClientApp\components\session\editsession.ts" />
<None Remove="ClientApp\components\session\rostersession.ts" />
<None Remove="ClientApp\components\team\createteam.ts" />
<None Remove="ClientApp\components\team\editteam.ts" />
<None Remove="ClientApp\models\absence.ts" />
<None Remove="ClientApp\models\employee.ts" />
<None Remove="ClientApp\models\holiday.ts" />
<None Remove="ClientApp\models\session.ts" />
<None Remove="ClientApp\models\sessionemployee.ts" />
<None Remove="ClientApp\models\site.ts" />
<None Remove="ClientApp\models\team.ts" />
<None Remove="ClientApp\models\teammember.ts" />
<None Remove="ClientApp\models\teamsite.ts" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Dapper" Version="1.50.5" />
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
</ItemGroup>
<ItemGroup>
<TypeScriptCompile Include="ClientApp\components\absence\createabsence.ts" />
<TypeScriptCompile Include="ClientApp\components\absence\editabsence.ts" />
<TypeScriptCompile Include="ClientApp\components\admin\createsite.ts" />
<TypeScriptCompile Include="ClientApp\components\admin\createholiday.ts" />
<TypeScriptCompile Include="ClientApp\components\admin\editsite.ts" />
<TypeScriptCompile Include="ClientApp\components\admin\editholiday.ts" />
<TypeScriptCompile Include="ClientApp\components\employee\editemployee.ts" />
<TypeScriptCompile Include="ClientApp\components\employee\createemployee.ts" />
<TypeScriptCompile Include="ClientApp\components\navmenu\navmenu.ts" />
<TypeScriptCompile Include="ClientApp\components\session\editsession.ts" />
<TypeScriptCompile Include="ClientApp\components\session\createsession.ts" />
<TypeScriptCompile Include="ClientApp\components\roster\rostersession.ts" />
<TypeScriptCompile Include="ClientApp\components\team\createteam.ts" />
<TypeScriptCompile Include="ClientApp\components\team\editteam.ts" />
<TypeScriptCompile Include="ClientApp\models\absence.ts" />
<TypeScriptCompile Include="ClientApp\models\teammember.ts" />
<TypeScriptCompile Include="ClientApp\models\sessionemployee.ts" />
<TypeScriptCompile Include="ClientApp\models\teamsite.ts" />
<TypeScriptCompile Include="ClientApp\models\team.ts" />
<TypeScriptCompile Include="ClientApp\models\holiday.ts" />
<TypeScriptCompile Include="ClientApp\models\site.ts" />
<TypeScriptCompile Include="ClientApp\models\employee.ts" />
<TypeScriptCompile Include="ClientApp\models\session.ts" />
</ItemGroup>
<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
a different machine, so rebuild them if not already present. -->
<Message Importance="high" Text="Performing first-run Webpack build..." />
<Exec Command="node node_modules/webpack/bin/webpack.js" />
</Target>
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec Command="npm install" />
<Exec Command="node node_modules/webpack/bin/webpack.js --env.prod" />
<!-- Include the newly-built files in the publish output -->
<ItemGroup>
<DistFiles Include="wwwroot\dist\**" />
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>