Это файл проекта: < /p>
Код: Выделить всё
net48
latest
enable
disable
true
Exe
true
true
None
AnyCPU
false
none
false
This gives me an executable that runs the tests successfully as a standalone, but if I use it with my Azure DevOps agent, the tests run successfully, but then I get this:
Test run summary: Passed! - D: \ A \ 1 \ S \ AppCode \ Unittesting \ bin \ Debug \ net48 \ Unittesting.exe (.NET Framework 4.8 | x64)
Total: 924
Не удалось: 0
tefud: 923
scopend: 1
during: 24s 171ms
##[ошибки] oksdled: 1
during: 24s 171ms
#[#[##[unber]#[br /und stand: System.io.filenotFoundException: не может загрузить файл или сборку 'microsoft.testing.platform, version = 1,8.2.0, culture = нейтральный, publickeytoken = b03f5f7f11d50a3a' или одна из ее зависимости. Система не может найти указанный файл.
at unittesting.microsofttestingplatformentrypoint.main (string [] args)
at unittesting.microsofttestingplatformentrypoint. /> Windows-2022 < /li>
Требования: msbuild < /li>
< /ul>
microsoft.testing.platform.dll присутствует в выходной папке, с или без указания его явно в Nuget. Что может быть причиной этого? У меня нет конкретной точки входа в программу (потому что раньше это была библиотека). Мне нужно реализовать один?
Подробнее здесь: https://stackoverflow.com/questions/797 ... -azure-dev