I am using below Task and running this from VS Code.
Task("Build")
.Does(() =>
{
// Use MSBuild
MSBuild("E:/Repos/Code/TestService/TestWindowsService.sln", settings =>
settings.SetConfiguration(configuration));
});
But I am getting below error when I Was try to run this Script.
MSBUILD: error MSB1009: Project file does not exist. Switch: E:/Repos/Code/Cake/Code/TestService/TestWindowsService.sln An error occurred when executing task 'Build'. Error: One or more errors occurred. MSBuild: Process returned an error (exit code 1).