First live build against real Visual Studio/VSTO tooling surfaced two issues in the hand-written AddIn scaffold: ThisAddIn derived from the wrong base type (OutlookAddIn is an interface, not the concrete OutlookAddInBase class), and VSTO Application projects cannot build without a signed ClickOnce manifest, so SignManifests is now on with a throwaway self-signed test certificate. Both Core/Core.Tests/AddIn now build clean and Core.Tests passes. Also: mail always sent from Outlook's default account with no way to pick a different one (e.g. a shared mailbox) - added a "From account" setting (Session.Accounts dropdown in SettingsForm, SendUsingAccount in MailSender). And added deploy/ with both a local ClickOnce publish script (real install/uninstall via Windows Apps, no manual registry editing) and a manual registry sideload fallback for scripted rollouts. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--
|
|
SDK-style project deliberately: xUnit's tooling and `dotnet test` work
|
|
with zero friction this way, and unlike BulkArchiveMailer.Core/AddIn
|
|
this project has no VSTO constraints forcing the classic csproj format.
|
|
Mixing project styles in one .sln is fine.
|
|
|
|
SCAFFOLD ONLY - see FilenameParserTests.cs. A separate dotnet-tester
|
|
pass is expected to flesh out real coverage for ArchiveScanner,
|
|
SendLogStore, TemplateEngine, AppSettings, etc.
|
|
-->
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net481</TargetFramework>
|
|
<IsPackable>false</IsPackable>
|
|
<LangVersion>7.3</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
|
|
<PackageReference Include="xunit" Version="2.7.0" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BulkArchiveMailer.Core\BulkArchiveMailer.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|