Created a .Net core Selenium tests in Azure Repos. I have the .csproj as well in the Repos. Added a ASP.Net core task, in the restore task i have given Path to Project as "**/*.csproj".
Got the below error while running the build pipeline.
SYSTEMVSSCONNECTION exists true SYSTEMVSSCONNECTION exists true ##[error]No files matched the search pattern
Not sure if the Agent didnt find my .csproj file. Any help is deeply appreciated.
I tried to reproduce your issue, but the task ran successfully.
My environment:
Agent:
ubuntu-latest.Net SDK Version:
3.1.403My script:
You can do the following things to locate your issue:
$(System.defaultWorkingDirectory)/WindowsApp.csproj.system.debugvariable totrue. Rerun your pipeline and you will see a more detailed run log.