Skip to content

Commit

Permalink
Disable AppDomains on this test.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jun 12, 2024
1 parent 7cd02a7 commit 19f9984
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/IKVM.Tools.Importer.Tests/IKVM.Tools.Importer.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSTest.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;net6.0;net8.0</TargetFrameworks>
<PreserveCompilationContext>true</PreserveCompilationContext>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<RunSettingsFilePath>$(MSBuildProjectDirectory)\IKVM.Tools.Importer.Tests.runsettings</RunSettingsFilePath>
</PropertyGroup>

<ItemGroup>
Expand All @@ -16,7 +17,7 @@
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net461'))">
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\IKVM.Java.Tests.Util\IKVM.Java.Tests.Util.csproj" />
<ProjectReference Include="..\IKVM.Runtime\IKVM.Runtime.csproj" />
Expand Down Expand Up @@ -67,5 +68,11 @@
</IncludeProjectReference>
</ItemGroup>

<ItemGroup>
<None Update="IKVM.Tools.Importer.Tests.runsettings">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<Import Project="$(MSBuildThisFileDirectory)..\..\IKVM.refs.targets" />
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<RunSettings>
<RunConfiguration>
<DisableAppDomain>True</DisableAppDomain>
</RunConfiguration>
<MSTest>
<DisableAppDomain>True</DisableAppDomain>
</MSTest>
</RunSettings>

0 comments on commit 19f9984

Please sign in to comment.