Current filter:
                                You should refresh the page.
                                  • Repro:

                                    1. Create .Net solution with 2 projects. One from built-in .Net Core -> Class Library and one from .Net Core -> Unit test project templates.
                                    2. Change TargetFramework to TargetFrameworks and net462 in both projects.
                                    3. Write some tests.
                                    4. Test runner will see tests, but will not run any of them.

                                    Tests will also fail to run if  You set TargetFramework unstead of TargetFrameworks and add following package reference to main lib
                                        <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.4.0" />

                                    This type of projects became more popular now, when people are preparing to multi-target existing projects to both full framework and .net core

                                • Alex Eg (DevExpress) 09.20.2017

                                  Hi Yaroslav,
                                  We have reproduced the issue with running tests based on your description. However, to make sure that the issue we are working on is the same you have faced, please send us your project or confirm that the TargetFrameworks section is looks like:
                                  Thanks in advance!

                                • Yaroslav Yakhontov 09.20.2017

                                  Here You go. This archive contains 5 different cases with short description in name. 3 of them are buggy, and 2 works ok. Of of the cases is indeed with
                                  in tests project, but one of the failing cases contains

                                  PS: Ideally i would like to have some sort of selector if tests project(s) contains more than one TargetFramework to have abitily to run and compare test results on different Frameworks.

                                  Many thanks.

                                • Alex Eg (DevExpress) 09.21.2017

                                  Thank you for sharing your project. Our Test Runner handles multi-targeted projects the same way there are handled by Visual Studio - I believe that VS runs tests for the first framework in  the TargetFrameworks  section.

                                • Yaroslav Yakhontov 09.21.2017

                                  Should i open another case for this feature request then?

                                • Alex Eg (DevExpress) 09.21.2017

                                  There is no such a necessity. I registered the following request on your behalf:
                                  Test Runner - Make it possible to select an active target framework for multi-framework projects

                                1 Solution

                                Creation Date Importance Sort by