Skip to content

Commit a2f768b

Browse files
prathikrPrathik Rao
andauthored
[sdk_v2] disables generation of apphost.exe for test suite (#528)
This works since dotnet test directly runs the generated testing .dll so the native .exe is not needed. ``` C:\Program Files\dotnet\sdk\10.0.201\Microsoft.Common.CurrentVersion.targets(5395,5): error MSB3030: Could not copy the file "D:\a\Foundry-Local\Foundry-Local\sdk_v2\cs\test\FoundryLocal.Tests\obj\Debug\net9.0\win-x64\apphost.exe" because it was not found. [D:\a\Foundry-Local\Foundry-Local\sdk_v2\cs\test\FoundryLocal.Tests\Microsoft.AI.Foundry.Local.Tests.csproj] ``` Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
1 parent 23729de commit a2f768b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sdk_v2/cs/test/FoundryLocal.Tests/Microsoft.AI.Foundry.Local.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<IsPackable>false</IsPackable>
88
<IsWindows Condition="$([MSBuild]::IsOSPlatform('Windows'))">true</IsWindows>
99
<UseWinML>false</UseWinML>
10+
<UseAppHost>false</UseAppHost>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

0 commit comments

Comments
 (0)