2026-02-06 16:12:44 -08:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2025-05-02 20:38:11 -07:00
|
|
|
<!-- Look at Directory.Build.props in root for common stuff as well -->
|
2026-02-06 16:12:44 -08:00
|
|
|
<Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
|
|
|
|
|
<Import Project="$(RepoRoot)src\Common.Dotnet.FuzzTest.props" />
|
2025-05-02 20:38:11 -07:00
|
|
|
|
2025-02-20 10:39:42 +08:00
|
|
|
<PropertyGroup>
|
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
2025-06-15 23:13:16 -07:00
|
|
|
<DefineConstants>TESTONLY</DefineConstants>
|
2026-02-14 08:47:56 +01:00
|
|
|
|
|
|
|
|
<!-- exit code 8 means no tests ran. -->
|
|
|
|
|
<!-- Doc: https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-exit-codes -->
|
|
|
|
|
<!-- This test project doesn't seem to contain any tests. -->
|
|
|
|
|
<TestingPlatformCommandLineArguments>$(TestingPlatformCommandLineArguments) --ignore-exit-code 8</TestingPlatformCommandLineArguments>
|
2025-02-20 10:39:42 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2026-02-06 16:12:44 -08:00
|
|
|
<OutputPath>$(RepoRoot)$(Platform)\$(Configuration)\tests\Hosts.FuzzTests\</OutputPath>
|
2025-02-20 10:39:42 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Include="..\Hosts.Tests\Mocks\CustomMockFileSystem.cs" Link="CustomMockFileSystem.cs" />
|
|
|
|
|
<Compile Include="..\Hosts.Tests\Mocks\MockFileSystemWatcher.cs" Link="MockFileSystemWatcher.cs" />
|
|
|
|
|
<Compile Include="..\Hosts.Tests\Mocks\MockFileSystemWatcherFactory.cs" Link="MockFileSystemWatcherFactory.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Consts.cs" Link="Consts.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\ValidationHelper.cs" Link="ValidationHelper.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Exceptions\NotRunningElevatedException.cs" Link="NotRunningElevatedException.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Exceptions\ReadOnlyHostsException.cs" Link="ReadOnlyHostsException.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\HostsService.cs" Link="HostsService.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\IElevationHelper.cs" Link="IElevationHelper.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\IHostsService.cs" Link="IHostsService.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\ILogger.cs" Link="ILogger.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\LoggerInstance.cs" Link="LoggerInstance.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Models\AddressType.cs" Link="AddressType.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Models\Entry.cs" Link="Entry.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Models\HostsData.cs" Link="HostsData.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Settings\HostsAdditionalLinesPosition.cs" Link="HostsAdditionalLinesPosition.cs" />
|
2025-11-05 09:42:31 +01:00
|
|
|
<Compile Include="..\HostsUILib\Settings\HostsDeleteBackupMode.cs" Link="HostsDeleteBackupMode.cs" />
|
2025-02-20 10:39:42 +08:00
|
|
|
<Compile Include="..\HostsUILib\Settings\HostsEncoding.cs" Link="HostsEncoding.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Settings\IUserSettings.cs" Link="IUserSettings.cs" />
|
2025-11-05 09:42:31 +01:00
|
|
|
<Compile Include="..\HostsUILib\Helpers\IBackupManager.cs" Link="IBackupManager.cs" />
|
|
|
|
|
<Compile Include="..\HostsUILib\Helpers\BackupManager.cs" Link="BackupManager.cs" />
|
2025-02-20 10:39:42 +08:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="Moq" />
|
|
|
|
|
<PackageReference Include="MSTest" />
|
|
|
|
|
<PackageReference Include="System.IO.Abstractions" />
|
|
|
|
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
|
|
|
|
<PackageReference Include="System.IO.Abstractions.TestingHelpers" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="OneFuzzConfig.json">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
</Project>
|