Skip to content

Commit

Permalink
Fix: xUnit .NET framework Reqnroll projects might not run BeforeTestR…
Browse files Browse the repository at this point in the history
…un even with the fix for #146 (#152)
  • Loading branch information
gasparnagy committed May 31, 2024
1 parent e6947b6 commit 37b8b46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# [vNext]

## Bug fixes:

* Fix: xUnit .NET framework Reqnroll projects might not run BeforeTestRun even with the fix for #146 (#152)

# v2.0.1 - 2024-05-29

## Bug fixes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
<_Reqnroll_xUnitGeneratorPlugin>netstandard2.0</_Reqnroll_xUnitGeneratorPlugin>
<_Reqnroll_xUnitGeneratorPluginPath>$(MSBuildThisFileDirectory)\$(_Reqnroll_xUnitGeneratorPlugin)\Reqnroll.xUnit.Generator.ReqnrollPlugin.dll</_Reqnroll_xUnitGeneratorPluginPath>

<_Reqnroll_xUnitRuntimePlugin>netstandard2.0</_Reqnroll_xUnitRuntimePlugin>
<_Reqnroll_xUnitRuntimePluginPath>$(MSBuildThisFileDirectory)\..\lib\$(_Reqnroll_xUnitRuntimePlugin)\Reqnroll.xUnit.ReqnrollPlugin.dll</_Reqnroll_xUnitRuntimePluginPath>
<_Reqnroll_xUnitRuntimePlugin Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' ">net462</_Reqnroll_xUnitRuntimePlugin>
<_Reqnroll_xUnitRuntimePlugin Condition=" '$(TargetFrameworkIdentifier)' != '.NETFramework' ">netstandard2.0</_Reqnroll_xUnitRuntimePlugin>
<_Reqnroll_xUnitRuntimePluginPath>$(MSBuildThisFileDirectory)..\lib\$(_Reqnroll_xUnitRuntimePlugin)\Reqnroll.xUnit.ReqnrollPlugin.dll</_Reqnroll_xUnitRuntimePluginPath>

<SourceReqnrollAssemblyHooksFile Condition="'$(SourceReqnrollAssemblyHooksFile)' == ''">$(MSBuildThisFileDirectory)xUnit.AssemblyHooks$(DefaultLanguageSourceExtension)</SourceReqnrollAssemblyHooksFile>
<GenerateReqnrollAssemblyHooksFile Condition="'$(GenerateReqnrollAssemblyHooksFile)' == ''">true</GenerateReqnrollAssemblyHooksFile>
Expand Down

0 comments on commit 37b8b46

Please sign in to comment.