【TIPS】Azure DevOpsのprivate agentでvstestがないエラー
Note: 本記事は、2018年11月時点の内容です。
【Q】Azure DevOpsのPrivate Agentでvstestがないとエラーになった。なんでエラーになるの?
- ビルド時のエラーメッセージ例
No agent found in pool Default which satisfies the specified demands:
msbuild
visualstudio
vstest
Agent.Version -gtVersion 2.115.0
【A】Private Agentの場合は、Visual Studo Test Platform
のインストールが必要になる。
作業の手順
- Visual Studio Test Platform Installerタスクの追加
- Visual Studio Testタスクのオプション変更
【手順1】Visual Studio Test Platform Installerタスクの追加
-
Visual Studio Test Platform Installer
タスクをVisual Studio Test
タスクの前に追加
【手順2】Visual Studio Testタスクのオプション変更
-
Visual Studio Test
のオプションTest platform version
をInstalled by Tools Installer
に変更
参考資料
How can I set up VS Test Agent in Build tools enviroment.
vstest task fails with Error: Visual Studio 2015 is not found. Try again with a version that exists on your build agent machine."
No agent found in pool Default which satisfies the specified demands:
msbuild
visualstudio
vstest
Agent.Version -gtVersion 2.115.0
Visual Studo Test Platform
のインストールが必要になる。
作業の手順
- Visual Studio Test Platform Installerタスクの追加
- Visual Studio Testタスクのオプション変更
【手順1】Visual Studio Test Platform Installerタスクの追加
-
Visual Studio Test Platform Installer
タスクをVisual Studio Test
タスクの前に追加
【手順2】Visual Studio Testタスクのオプション変更
-
Visual Studio Test
のオプションTest platform version
をInstalled by Tools Installer
に変更
参考資料
How can I set up VS Test Agent in Build tools enviroment.
vstest task fails with Error: Visual Studio 2015 is not found. Try again with a version that exists on your build agent machine."
Author And Source
この問題について(【TIPS】Azure DevOpsのprivate agentでvstestがないエラー), 我々は、より多くの情報をここで見つけました https://qiita.com/ttoori-ttoori/items/f7d6f1151146bcdde3a3著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .