summaryrefslogtreecommitdiff
path: root/run.cmd
AgeCommit message (Collapse)AuthorFilesLines
2019-01-30Remove run.exe and config.json (#21608)Sven Boemer1-37/+0
This moves us one step away from buildtools and towards arcade. This replaces run.sh and run.cmd (and all invocations) with "dotnet.sh msbuild" and "msbuild.cmd". - I'm using these wrapper scripts for now instead of those in eng/common in order to retain the very helpful "Running <command>" output in the build logs. - I'm using msbuild.cmd instead of dotnet.sh to match the current behavior that uses desktop msbuild on windows, instead of dotnet. All of the arguments that used to be implicitly generated by run.exe and config.json are now explicit, resulting in longer (but easier to copy+paste) commands. Some of these arguments are likely unnecessary, but in this change my goal is just to match the run.exe behavior. Later, I would like to go through and clean up parameters that don't need to be passed in every invocation. I might also consider moving more of the common arguments out into variables in a later change. Some of the wrapper scripts now have limited support for parsing "-Argument=Value" style parameters, to support our existing buildpipeline infrastructure, since I thought this was easier to test than changing our buildpipeline definitions. We can remove that parsing logic once we stop using buildpipeline (which has happened at this point). Some subtle parts of the change: * Add msbuild.cmd This simulates the behavior of Tools\msbuild.cmd, which calls desktop msbuild. * Fix BuildOS processing in package build and publish Previously, config.json had its own processing that would set OSName. Instead, we now pass it in explicitly where it's needed (building packages), or not at all (publishing them). * Handle "=" in publish-packages.cmd and other scripts This seems necessary to properly handle the azure access token * Set __BuildOS in PublishPackages Required for cases where the build OS isn't detected during the build such as freebsd. * Use dotnet msbuild in runtest.py This prevents us from having to deal with different quote escape behavior on windows and linux. Previously, arguments like fileloggerparameters and the logger were given quotes to escape semicolons in the argument. On unix, this prevented the argument from being split up by bash. On windows, it seems that the run.cmd/run.exe tools would prevent the extra quotes from being passed to msbuild.exe (desktop msbuild would choke on the quotes if they were passed along). Unlike desktop msbuild, dotnet msbuild is able to parse the quoted strings, so we simply psas the quoted arguments directly to it on windows. We may be able to do the same on unix. * Fix build-test.sh problem with BuildOS When copying native files during the unix test build, we rely on __BuildOS being set. Fixing the import order and always setting __BuildOS fixes this. We should eventually fix the inconsistent use of BuildOS vs __BuildOS.
2018-03-06Remove vs2015 build dependenciesjashook1-31/+5
2017-10-27Address code review feedbackJacek Blaszczynski1-2/+2
2017-10-24Cleanup VsDevCmd.bat usage and improve build system messages to ease diagnosticsJacek Blaszczynski1-1/+4
2017-10-03Update Buildtools and Roslyn (#14228)Jose Perez Rodriguez1-16/+10
* Update Buildtools and Roslyn * Fixing importing of the roslyn files on msbuild 14.0 * Correctly looking for the latest VS Installation
2017-05-16Update Coreclr to 2.0.0 buildtoolswtgodbe1-3/+0
2017-04-26Fix building with only VS2017 installed. (#11182)Felipe Pessoto1-1/+7
The fix was originally made in https://github.com/dotnet/corefx/pull/18700
2017-03-13Pick up new CoreFX packages and abandon old oneswtgodbe1-0/+3
2017-03-07Updating the various windows build scripts to have a comment explaining the ↵Tanner Gooding1-0/+15
VS version selection logic.
2017-03-06Updating the build scripts to support VS2017.Tanner Gooding1-2/+8
2016-10-07Standardize on _echo name (#7532)Vance Morrison1-1/+1
2016-09-23Remove the dependency of using config.json in cwd (#7330)Jarret Shook1-3/+3
Currently the config.json file is looked for in the current working directory. This change forces run.exe to use the relative path of the file relative to the build script.
2016-07-29Use run tool in coreclr dev workflow.Lakshmi Priya Sekar1-0/+39