5

I know you can start a build process in the visual Studio dev console. Is there a way to start this process from a PowerShell sript? And if yes, how do I do this?
I want to/ need to learn automated testing.

Comments
  • 4
    In the folder where your project lives, run msbuild. you might have to add this to your PATH first, it is somewhere in the vs Installation directory.
  • 0
    @TobyAsE any idea how exactly i do this via PowerShell? (total newbie at this)
  • 3
    Navigate to the directory of your project in Powershell and type in "msbuild". Done.
  • 0
    @TobyAsE ah i see i wasn't clear enough. i meant a PS script, not the shell itself. written with the ISE. Or is it the same there?
  • 4
    @KittyMeowstika should be just the same
Add Comment