tag:help.appveyor.com,2012-11-13:/discussions/problems/9655-xunit-tests-in-netstandard-20-project-not-discoveredAppVeyor: Discussion 2019-07-10T17:29:06Ztag:help.appveyor.com,2012-11-13:Comment/439711312017-11-07T23:33:00Z2017-11-07T23:33:00Zxunit tests in netstandard 2.0 project not discovered<div><p>Hi Peter,</p>
<p>We rely on existence of <code>Microsoft.NET.Test.Sdk</code> package to make a decision if project is .NET Core test project or not. I found <a href="https://github.com/Microsoft/vstest/issues/986">this</a> discussion and indeed maybe it is not mandatory package. However I am not sure we can safely remove this condition when detecting test projects, at least without extensive testing.</p>
<p>I filed <a href="https://github.com/appveyor/ci/issues/1910">this issue</a> for myself.</p>
<p>Can you consider adding this package to your project or you will add manual test commands?</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/439711312019-07-10T13:27:16Z2019-07-10T13:27:16Zxunit tests in netstandard 2.0 project not discovered<div><p>Hello Ilya,</p>
<p>It seems I forgot about this issue, but I wanted to reply nonetheless. I would find it rude if I didn't. My issue was indeed fixed by adding the Microsoft.NET.Test.Sdk package. It didn't seem necessary to run my tests locally, which might be why I never added it. But the xunit documentation adds it too. Anyway, it's fixed. Thanks for your answer, and sorry for my late reply.</p>
<p>Peter</p></div>peter.morliontag:help.appveyor.com,2012-11-13:Comment/439711312019-07-10T17:29:05Z2019-07-10T17:29:05Zxunit tests in netstandard 2.0 project not discovered<div><p>Oh, no worries at all and thank you for the update :)</p></div>Ilya Finkelshteyn