Skip to content
Discussion options

You must be logged in to vote

You have at least three options:

  • Add <NoWarn>$(NoWarn);MSTEST0001</NoWarn>
    • This can be done in individual csproj files, or centrally via Directory.Build.props.
  • You can enable parallelization via:
    •   <ItemGroup>
          <AssemblyAttribute Include="Microsoft.VisualStudio.TestTools.UnitTesting.Parallelize">
            <_Parameter1>Workers = 0</_Parameter1>
            <_Parameter1_IsLiteral>true</_Parameter1_IsLiteral>
            <_Parameter2>Scope = Microsoft.VisualStudio.TestTools.UnitTesting.ExecutionScope.MethodLevel</_Parameter2>
            <_Parameter2_IsLiteral>true</_Parameter2_IsLiteral>
          </AssemblyAttribute>
        </ItemGroup>
  • You can disable parallelization via:
    •   <ItemGroup>
          <AssemblyAttribute 

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Evangelink
Comment options

@Youssef1313
Comment options

Answer selected by johnthcall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants