Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(Test-Path .\artifacts) {

& dotnet restore --no-cache

$dbp = [Xml] (Get-Content .\Directory.Build.props)
$dbp = [Xml] (Get-Content .\Directory.Version.props)
$versionPrefix = $dbp.Project.PropertyGroup.VersionPrefix

Write-Output "build: Package version prefix is $versionPrefix"
Expand Down
7 changes: 5 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>
<Import Project="Directory.Version.props" />

<PropertyGroup>
<VersionPrefix>1.1.0</VersionPrefix>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
</Project>
</Project>
5 changes: 5 additions & 0 deletions Directory.Version.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.1.1</VersionPrefix>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion harness/Seq.Mail.TestHarness/Seq.Mail.TestHarness.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion seq-app-mail.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ProjectSection(SolutionItems) = preProject
LICENSE = LICENSE
README.md = README.md
RunLocalSmtp.ps1 = RunLocalSmtp.ps1
Directory.Build.props = Directory.Build.props
Directory.Version.props = Directory.Version.props
Build.ps1 = Build.ps1
EndProjectSection
EndProject
Expand Down
2 changes: 0 additions & 2 deletions src/Seq.App.Mail.AmazonSes/Seq.App.Mail.AmazonSes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Description>Send events and notifications from Seq via the Amazon Simple Email Service (SES) API.</Description>
<Authors>Datalust, Serilog Contributors</Authors>
<PackageTags>seq-app amazon aws ses simple email service</PackageTags>
Expand All @@ -11,7 +10,6 @@
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/datalust/seq-app-mail</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Description>Send events and notifications from Seq via Microsoft 365 mail.</Description>
<Authors>Datalust, Serilog Contributors</Authors>
<PackageTags>seq-app microsoft-365 email</PackageTags>
Expand All @@ -11,7 +10,6 @@
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/datalust/seq-app-mail</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Seq.App.Mail.Smtp/Seq.App.Mail.Smtp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Description>Send events and notifications from Seq via SMTP mail.</Description>
<Authors>Datalust, Serilog Contributors</Authors>
<PackageTags>seq-app smtp email</PackageTags>
Expand All @@ -11,7 +10,6 @@
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/datalust/seq-app-mail</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Seq.Apps.Testing/Seq.Apps.Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Description>Helper types for development and debugging of Seq plug-in apps.</Description>
<Authors>Datalust</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand Down
4 changes: 1 addition & 3 deletions src/Seq.Mail/Seq.Mail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Description>Shared infrastructure for Seq apps that integrate with email and similar messaging services.</Description>
<Authors>Datalust</Authors>
<PackageProjectUrl>https://github.com/datalust/seq-app-mail</PackageProjectUrl>
<PackageIcon>seq-mail.png</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/datalust/seq-app-mail</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<ItemGroup>
Expand All @@ -22,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="mailkit" Version="4.6.0" />
<PackageReference Include="mailkit" Version="4.15.1" />
<PackageReference Include="Superpower" Version="3.0.0" />
<PackageReference Include="Seq.Apps" Version="2023.4.0" />
</ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Seq.Syntax/Seq.Syntax.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Description>Template and expression evaluation using a syntax based on the Seq query language.</Description>
<Authors>Datalust</Authors>
<PackageProjectUrl>https://github.com/datalust/seq-app-mail</PackageProjectUrl>
<PackageIcon>seq-syntax.png</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/datalust/seq-app-mail</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down
3 changes: 1 addition & 2 deletions test/Seq.Mail.Tests/Seq.Mail.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
Expand Down
2 changes: 1 addition & 1 deletion test/Seq.Mail.Tests/SmtpMailAppTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public async Task EventsAreSentAsMessages()
Assert.Equal("f@localhost", message.From.ToString());
Assert.Equal(new[] { "t@localhost", "r@localhost" }, message.To.Select(t => t.ToString()));
Assert.Equal("s", message.Subject);
Assert.Equal("b", message.HtmlBody.Trim());
Assert.Equal("b", message.HtmlBody!.Trim());
Assert.Null(message.TextBody);
}

Expand Down
4 changes: 1 addition & 3 deletions test/Seq.Syntax.Tests/Seq.Syntax.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
Expand All @@ -25,4 +23,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
</Project>