actually works for 2021

This commit is contained in:
Connor Ivy
2023-03-08 17:56:40 -06:00
parent 904c541c1b
commit 5f4e479864
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace xUnitRevit
private void ControlledApplication_ApplicationInitialized(object sender, Autodesk.Revit.DB.Events.ApplicationInitializedEventArgs e)
{
var app = sender as Application;
using var uiapp = new UIApplication(app);
var uiapp = new UIApplication(app);
Runner.ReadConfig();
+3 -6
View File
@@ -184,12 +184,6 @@
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\xUnitRevitUtils2021\xUnitRevitUtils2021.csproj">
<Project>{977e0b63-5706-4c2b-9c01-3c02d9ebe377}</Project>
<Name>xUnitRevitUtils2021</Name>
</ProjectReference>
</ItemGroup>
</When>
<When Condition="$(Configuration.Contains('2022'))">
<ItemGroup>
@@ -225,6 +219,9 @@
<PackageReference Include="speckle.xunit.runner.wpf">
<Version>1.0.9</Version>
</PackageReference>
<PackageReference Include="xUnitRevitUtils.2021">
<Version>1.0.4</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\icon.png" />
@@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="ModPlus.Revit.API.2021" Version="4.0.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit" Version="2.4.1" />
</ItemGroup>
</Project>