Fix the Fuzz test build issue

This commit is contained in:
Gordon Lam (SH)
2025-06-13 15:26:52 +08:00
parent 0d1fc68d5a
commit 4ebb2bf16d
2 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\tests\Hosts.Tests\</OutputPath>
<RootNamespace>Hosts.Tests</RootNamespace>
<AssemblyName>PowerToys.Hosts.Tests</AssemblyName>
<DefineConstants>EXCLUDE_FORFUZZTEST</DefineConstants>
</PropertyGroup>
<ItemGroup>

View File

@@ -8,11 +8,13 @@ using System.Text;
using CommunityToolkit.Mvvm.ComponentModel;
using HostsUILib.Helpers;
using Microsoft.UI.Xaml.Data;
namespace HostsUILib.Models
{
[Bindable]
#if !EXCLUDE_FORFUZZTEST
[Microsoft.UI.Xaml.Data.Bindable]
#endif
public partial class Entry : ObservableObject
{
private static readonly char[] _spaceCharacters = new char[] { ' ', '\t' };