- Added Microsoft.Extensions.Logging to various projects for enhanced logging capabilities. - Updated AccessDbRepository and AttachmentRepository to include logging for database operations. - Integrated logging into MailListener for better error handling and operational insights. - Modified tests to utilize mocks for ILogger to ensure logging behavior is tested. - Enhanced App.xaml.cs and MainWindow.xaml.cs to log application startup and initialization events. - Created LoggingBootstrapper to configure logging services in the WPF application. - Updated TODOs-and-Roadmap.md to reflect the addition of logging features.
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0-windows</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="3.2.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.0-preview.4.25258.110" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
|
|
<PackageReference Include="Moq" Version="4.20.72" />
|
|
<PackageReference Include="xunit" Version="2.4.2" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ComplianceNFs.Infrastructure\ComplianceNFs.Infrastructure.csproj" />
|
|
<ProjectReference Include="..\ComplianceNFs.Monitor\ComplianceNFs.Monitor.csproj" />
|
|
<ProjectReference Include="..\ComplianceNFs.Service\ComplianceNFs.Service.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|