I've got a solution file (VS 2017 enterprise) which contains 12 projects - mostly csproj, and a couple of vdproj. I've got the Visual Studio Installer Projects extension installed.
When I build from within Visual Studio, everything builds fine.
When I build from the command line using "devenv solution.sln /Rebuild Release" everything builds fine.
When I build from Azure DevOps using the Command Line task, one of the csproj projects is not build. It doesn't fail. It isn't skipped. It's just ignored completely, like devenv doesn't see it. But the exact same command, when executed manually from a command prompt, works fine.
I can't use msbuild because of the vdproj projects.
I've tried everything I can think of, and am stumped. Any tips?
Edit: ProjectTypeGuids contains fae04ec0-301f-11d3-bf4b-00c04f79efbc (C#) and 349c5851-65df-11da-9384-00065b846f21 (Web Application / Web Service). Sln file just lists fae04ec0-301f-11d3-bf4b-00c04f79efbc.
EDIT 2: If I change the Build Agent to run as my user account, instead of the local Network Service account, it runs just fine. So there's something about the Visual Studio installation, I'm guessing, which the Network Service account doesn't have access to?