Skip to content

Commit 019168f

Browse files
committedMay 21, 2024·
Fix property name for enabling aspire in MSTest.Sdk (#2888)
1 parent f77b630 commit 019168f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/Package/MSTest.Sdk/Sdk/Runner/NativeAOT.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</Target>
99

1010
<Target Name="_MSTestSDKValidateAspire" BeforeTargets="Build">
11-
<Error Condition=" '$(EnableAspire)' == 'true' " Text="Aspire MSTest currently doesn't support NativeAOT mode." />
11+
<Error Condition=" '$(EnableAspireTesting)' == 'true' " Text="Aspire MSTest currently doesn't support NativeAOT mode." />
1212
</Target>
1313

1414
<!-- Core -->

‎src/Package/MSTest.Sdk/Sdk/Sdk.props.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
66

77
<PropertyGroup>
8-
<EnableAspire Condition=" '$(EnableAspire)' == '' ">false</EnableAspire>
8+
<EnableAspireTesting Condition=" '$(EnableAspireTesting)' == '' ">false</EnableAspireTesting>
99
<EnablePlaywright Condition=" '$(EnablePlaywright)' == '' ">false</EnablePlaywright>
1010
<UseVSTest Condition=" '$(UseVSTest)' == '' " >false</UseVSTest>
1111

0 commit comments

Comments
 (0)
Please sign in to comment.