Skip to content

Commit

Permalink
add common props for fuzz test project
Browse files Browse the repository at this point in the history
  • Loading branch information
lei9444 committed Mar 4, 2025
1 parent 2878dc3 commit ed3c6be
Showing 3 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/Common.Dotnet.FuzzTest.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Some items may be set in Directory.Build.props in root -->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- OneFuzz does not currently support testing with .NET 9.
As a temporary workaround, create a .NET 8 project and use file links
to include the code that needs testing. -->
<PropertyGroup>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Look at Directory.Build.props in root for common stuff as well -->
<Import Project="..\..\Common.Dotnet.CsWinRT.props" />

<Import Project="..\..\Common.Dotnet.FuzzTest.props" />
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
1 change: 1 addition & 0 deletions src/modules/Hosts/Hosts.FuzzTests/Hosts.FuzzTests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Look at Directory.Build.props in root for common stuff as well -->
<Import Project="..\..\Common.Dotnet.CsWinRT.props" />
<Import Project="..\..\Common.Dotnet.FuzzTest.props" />

<PropertyGroup>
<LangVersion>latest</LangVersion>

0 comments on commit ed3c6be

Please sign in to comment.