-
Notifications
You must be signed in to change notification settings - Fork 328
/
Rnwood.Smtp4dev.csproj
131 lines (114 loc) · 5.78 KB
/
Rnwood.Smtp4dev.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<VersionPrefix>3.1.0-dev</VersionPrefix>
<TypeScriptToolsVersion>3.0</TypeScriptToolsVersion>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<RollForward>Major</RollForward>
</PropertyGroup>
<PropertyGroup Condition="'$(PackAsTool)'=='true'">
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<ToolCommandName>smtp4dev</ToolCommandName>
<PackageOutputPath>./bin/pkg</PackageOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'==''">
<Configuration>Debug</Configuration>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommandLiners.MonoOptions" Version="1.0.36" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.24" />
<PackageReference Include="MailKit" Version="2.8.0" />
<PackageReference Include="Microsoft.AspNetCore.Hosting.WindowsServices" Version="3.1.8" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Core" Version="1.1.0" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.8">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.8" />
<PackageReference Include="MimeKit" Version="2.9.1" />
<PackageReference Include="Mono.Options" Version="6.6.0.161" />
<PackageReference Include="Rnwood.SmtpServer" Version="3.1.0-ci0579" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.6.7" />
<PackageReference Include="System.Data.SQLite" Version="1.0.113.1" />
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.2" />
<PackageReference Include="VueCliMiddleware" Version="3.1.1" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.1.0-preview1-final" />
</ItemGroup>
<ItemGroup>
<None Update="ClientApp\ApiClient\AttachmentSummary.ts">
<CustomToolNamespace>ApiModel\AttachmentSummary.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\HomeController.ts">
<CustomToolNamespace>Controllers\HomeController.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\Message.ts">
<CustomToolNamespace>ApiModel\Message.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\MessageEntitySummary.ts">
<CustomToolNamespace>ApiModel\MessageEntitySummary.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\MessagesController.ts">
<CustomToolNamespace>Controllers\MessagesController.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\MessageSummary.ts">
<CustomToolNamespace>ApiModel\MessageSummary.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\Session.ts">
<CustomToolNamespace>ApiModel\Session.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\SessionsController.ts">
<CustomToolNamespace>Controllers\SessionsController.cs</CustomToolNamespace>
</None>
<None Update="ClientApp\ApiClient\SessionSummary.ts">
<CustomToolNamespace>ApiModel\SessionSummary.cs</CustomToolNamespace>
</None>
</ItemGroup>
<ItemGroup>
<Content Remove="appsettings.Development.json" />
</ItemGroup>
<ItemGroup>
<None Include="appsettings.Development.json" />
</ItemGroup>
<ItemGroup>
<NpmInputs Include="ClientApp\package.json" />
</ItemGroup>
<Target Name="NpmInstall" AfterTargets="Build" Inputs="@(NpmInputs)" Outputs="ClientApp\node_modules\.installedtimestamp" Condition="'$(SkipClientApp)'!='true'">
<Message Importance="high" Text="Performing npm install..." />
<Exec Command="npm install --no-progress" WorkingDirectory="ClientApp" CustomErrorRegularExpression="^npm ERR!.*" />
<Touch Files="ClientApp\node_modules\.installedtimestamp" AlwaysCreate="true" />
</Target>
<PropertyGroup>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>
<ItemGroup>
<ClientApp Include="ClientApp/**" />
</ItemGroup>
<Target Name="DebugRunNpm" AfterTargets="Build" Inputs="@(ClientApp)" Outputs="wwwroot\.buildtimestamp" Condition="'$(SkipClientApp)'!='true'">
<!-- 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." />
<Message Importance="high" Text="Performing NPM build..." />
<Exec Condition=" '$(Configuration)' != 'Release' " Command="npm --prefix ClientApp run-script build:dev" CustomErrorRegularExpression="^ERROR in" />
<Exec Condition=" '$(Configuration)' == 'Release' " Command="npm --prefix ClientApp run-script build" CustomErrorRegularExpression="^ERROR in" />
<Touch Files="wwwroot\.buildtimestamp" AlwaysCreate="true" />
</Target>
<Target Name="PublishRunNpm" AfterTargets="ComputeFilesToPublish">
<!-- Include the newly-built files in the publish output -->
<ItemGroup>
<DistFiles Include="wwwroot\**" />
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
<RelativePath>%(DistFiles.Identity)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>
</ItemGroup>
</Target>
</Project>