I am encountering an issue when running the devenv command line for my solution file. Not all projects are loading properly. However, when I use the Visual Studio 2019 UI, right-click the solution, and reload it before building, it works fine.
I am required to use devenv because I'm working with .vdproj files. I was hoping there might be a switch (such as /reload) to address this, but I couldn't find anything like it in the documentation.
I have already tried the following switches from Microsoft's documentation:
/clean
/build
/rebuild
Any suggestions or ideas on how to resolve this would be greatly appreciated.
Thank you for your help!
You can’t “reload” projects with the devenv
command line. devenv
runs a new instance of Visual Studio and either runs a command or launches the UI. If you use devenv
to run a command against a solution or project, the expectation is the project(s) will load.