diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2020-05-04 12:57:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 12:57:51 +0300 |
commit | 200b197559fc49f91b8db3f20fd6df6b5660d7bf (patch) | |
tree | e5f71af2dc6334c6fef0e1dfbe88569003fec710 /eng/versioning.targets | |
parent | a1af15d229c44f72d639c686a66a621196fd4172 (diff) |
Enable dotnet test in libraries (#35285)
* Enable dotnet test
* Update docs
* Use vstest in F5 scenarios
* Make dotnet test without framework switch work
* Code cleanup
* Only run code coverage conditionally
* Fix F5 condition for netcoreapp
* Downgrade sdk to check for helix submission failures
* Fix wrong conditions
* Add blame data collector
Diffstat (limited to 'eng/versioning.targets')
-rw-r--r-- | eng/versioning.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/versioning.targets b/eng/versioning.targets index 18dc8a1163d..21a442a03f3 100644 --- a/eng/versioning.targets +++ b/eng/versioning.targets @@ -10,7 +10,7 @@ <!-- Assembly metadata indicating that an assembly is a framework (as opposed to user) assembly: Test projects need to not have this because of the way "IsFrameworkAssembly" APIs work to check this. --> - <ItemGroup Condition="'$(IsTestProject)' != 'true'" > + <ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(IsTestSupportProject)' != 'true'" > <AssemblyMetadata Include=".NETFrameworkAssembly"> <Value></Value> </AssemblyMetadata> @@ -23,7 +23,7 @@ </ItemGroup> <Target Name="DecideIfWeNeedToIncludeDllSafeSearchPathAttribute" - Condition="'$(IsDotNetFrameworkProductAssembly)' == 'true' and '$(IsTestProject)' != 'true'"> + Condition="'$(IsDotNetFrameworkProductAssembly)' == 'true' and '$(IsTestProject)' != 'true' and '$(IsTestSupportProject)' != 'true'"> <!-- We want to apply the IncludeDllSafeSearchPathAttribute on all DotNet assemblies (non test) that have a reference to System.Runtime.InteropServices --> <PropertyGroup Condition="'$(IncludeDllSafeSearchPathAttribute)'==''"> |