• Qkcy - Cakebuild VSWhere

    Build.cake:

    #tool "nuget:?package=vswhere&version=2.6.7"
    
    Task("Default").Does(() =>  
    {
        var msbuild = GetFiles(VSWhereLatest() + "/**/MSBuild.exe").FirstOrDefault();
        var vstest = GetFiles(VSWhereLatest() + "/**/vstest.console.exe").FirstOrDefault();
    
        Information("MSBuild: " + msbuild);
        Information("VSTest: " + vstest);
    });
    
    RunTarget("Default");  
    
    MSBuild: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/