I'm building a .net core asp.net application on VSTS in the cloud. When setting this up it differs from my other build pipeline for the .net framework in that you don't select a solution you want to build but instead provide relative (wildcard) paths to where it can find project files.
For me this ends up being: Portal/API/**/*.csproj
The problem is that in this path there are also project files I do NOT want to build as a part of this particular pipeline.
I've tried to remove a certain path from the build by doing ^Portal/API/Services/IdentityServer/**/*.csproj
but that had no effect. I would really prefer to not have to specify all the projects I want to build directly since I will then have to add any new project that should be included (which is basically all except identity server project).
So, can I exclude a project that the wildcard path included?
Update. According to this page:
https://blogs.infosupport.com/tfs2015-build-tasks-the-wildcard-format-explained/
I should be able to write Portal/API/**/*.csproj;-:Portal/API/Services/IdentityServer/**/*.csproj
but this does not work and with this configuration the build exists with an error stating: no projects found.