Commit graph

7988 commits

Author SHA1 Message Date
Nate McMaster
fa47e95e90
Generate a .NET Framework shim app in dotnet-install-tools on Windows instead of a batch script (#8384)
Implement a simple launcher tool for running new processes on Windows

- This application takes two parameters via the .exe.config configuration file

 - entryPoint: required - the file path to the new process being launched
 - runner: optional - the executable or interpretter used to launch the
entryPoint

- Update dotnet-install-tool to generate an exe instead of a batch script file
2018-01-18 14:54:10 -08:00
Peter Huene
5c35438cfe
Merge pull request #8422 from peterhuene/fix-source-option
Fix source option for install command.
2018-01-17 21:42:26 -08:00
Peter Huene
a64da0129a
Fix source option for install command.
The original PR that implemented the source option was updated incorrectly
during review and the source option was accidentally not passed into the
package obtainer.  This resulted in the source option not being respected from
the install command.

The tests passed because the only test coverage is at the package obtainer
level; tests of the install command itself were waiting on additional changes
to enable (still not yet merged).

The fix is to properly pass the source option through when obtaining the
package.
2018-01-17 19:28:29 -08:00
John Beisner
f5fce413e9
Merge pull request #8419 from johnbeisner/ScriptFixes
CLI Build Break: should use a trailing space instead of a leading space
2018-01-17 15:09:52 -08:00
jbeisner
331b58c8a2 Should use a trailing space instead of a leading space; MSBuild thinks the '$ExtraParametersNoTargets' variable a switch instead of a string. 2018-01-17 22:33:22 +00:00
Peter Huene
83609cef8a
Merge pull request #8408 from peterhuene/install-tool-strings
Fix missing package id error message for install tool command.
2018-01-17 13:49:05 -08:00
John Beisner
edc6697cc5
Merge pull request #8380 from johnbeisner/ScriptFixes
Run-Build.sh/ps1 does not behave correctly when passing in a target.
2018-01-17 13:31:55 -08:00
Matt Mitchell
632e9e762b
Merge pull request #8417 from johnbeisner/OrchestratedBuild
Orchestrated build publishing; CLI:master [follow-up]
2018-01-17 12:44:54 -08:00
jbeisner
96410974b9 Reintroducing: 'BlobStoragePartialRelativePath' as orchetrated build needs a prepended "assets" to the partial relative path. 2018-01-17 20:08:12 +00:00
John Beisner
be6f56425f
Merge pull request #8412 from johnbeisner/OrchestratedBuild
Orchestrated build publishing; CLI:master
2018-01-17 10:22:43 -08:00
Nick Guerrera
840acee074
Defend against forthcoming breaking change in SDK (#8409) 2018-01-17 10:13:41 -08:00
jbeisner
ab97a076f2 Putting back 'docker' and 'stage0' parameters in the usage. 2018-01-17 17:56:34 +00:00
Livar
2efe8f8360
Merge pull request #8410 from dotnet-bot/master-UpdateDependencies
Update CoreSetup to preview1-26116-04 (master)
2018-01-17 09:23:43 -08:00
jbeisner
4f2ac3eae5 Setting 'IsNotOrchestratedPublish' explictly to false; conditional clean-up. 2018-01-17 17:17:08 +00:00
jbeisner
60b1795d90 Adding publish URL in a comment. 2018-01-17 16:46:30 +00:00
jbeisner
cd4b06c30d Adding ManifestArtifactData; changes per code review... 2018-01-17 16:37:33 +00:00
Livar
0140420d06
Merge pull request #8413 from livarcocc/update_msbuild
MSBuild 15.6.54
2018-01-16 22:05:34 -08:00
Andy Gerlicher
b1b70292ce MSBuild 15.6.54 2018-01-16 21:31:49 -08:00
Livar
1a3460575e
Merge pull request #8407 from wli3/update-sdk-version-011618
Updating the Microsoft.NET.SDK version to 2.1.0-preview1-62516-03
2018-01-16 21:26:26 -08:00
jbeisner
0c754d92fa Formatting only... 2018-01-17 02:58:01 +00:00
jbeisner
d04e8c84e1 Don't use 'ParseBlobUrl'; use the original values. 2018-01-17 02:52:59 +00:00
jbeisner
3386db7bed Create a manifest if performing an orchestrated build publish. 2018-01-17 02:36:50 +00:00
Peter Huene
5b696e4831
Update help description for install command.
Replace the word `add` with the word `install` to match the verb of the
tool.
2018-01-16 15:01:57 -08:00
dotnet-bot
fef6d9bcd5 Update CoreSetup to preview1-26116-04 2018-01-16 22:56:00 +00:00
William Li
6d73caa31a Updating the Microsoft.NET.SDK version to 2.1.0-preview1-62516-03 2018-01-16 14:28:17 -08:00
jbeisner
1acb93f15a Merge remote-tracking branch 'upstream/master' into OrchestratedBuild 2018-01-16 22:19:58 +00:00
jbeisner
9dc9f4c87b Use "PushToBlobFeed" instead of "UploadToAzure" 2018-01-16 22:16:56 +00:00
Peter Huene
2f26f10ed2
Fix missing package id error message for install tool command.
This commit fixes the error message that is displayed when the `install
tool` command is not given a package id to install.  Previously, only
`packageId` was output, which was confusing.

Fixes #8381.
2018-01-16 13:57:26 -08:00
Peter Huene
2c03ff9bcf
Refactor install command localizable strings.
This commit moves the `tool` subcommand strings into its own resource
file, rather than putting them into the `install` command's resource
file.

This better follows the patterns of other commands, such as `add`, and
enables subcommands to isolate their string resources from one another.

As part of this commit, the `install tool` string resources were cleaned
up.
2018-01-16 12:59:34 -08:00
Peter Huene
f6695f7e6b
Fix build environment script.
Script was missing a `/` for setting the `PATH` environment variable correctly.
2018-01-16 11:48:26 -08:00
John Beisner
501e11d928
Merge pull request #8406 from johnbeisner/OrchestratedBuild
Ensure that the 'SetAzureProps' target runs before 'BlobStoragePartialRelativePath' is used.
2018-01-16 11:35:44 -08:00
jbeisner
552129db0d Fixed a typo... 2018-01-16 18:25:18 +00:00
jbeisner
95a5bc7e16 Ensure that the 'SetAzureProps' target runs before 'BlobStoragePartialRelativePath' is used. 2018-01-16 18:15:28 +00:00
Livar
290c66829b
Merge pull request #8392 from dotnet-bot/master-UpdateDependencies
Update CoreSetup to preview1-26115-03 (master)
2018-01-16 10:09:57 -08:00
John Beisner
188e0d7190
Merge pull request #8404 from johnbeisner/OrchestratedBuild
Add "SDK" at the end of the orchestrated build blob drop point.
2018-01-16 09:36:53 -08:00
jbeisner
e7bd33b200 Add "SDK" at the end of the orchestrated build blob drop point. 2018-01-16 16:09:00 +00:00
dotnet-bot
a1a1c2b762 Update CoreSetup to preview1-26115-03 2018-01-15 18:51:25 +00:00
William Lee
e8f7ddd01b
Localization for tools work so far (#8251) 2018-01-13 09:40:48 -08:00
Matt Mitchell
2cfc65a0c4
Merge pull request #8388 from johnbeisner/OrchestratedBuildPublishing
Enabling the publish of CLI assets to 'orchestrated' blob storage.
2018-01-12 19:33:28 -08:00
jbeisner
429f2fde07 Found a version of 'microsoft.dotnet.build.tasks.feed' that supports both parsing of the URL and the currrent Nupkg upload method: 2.1.0-prerelease-02312-02 2018-01-13 02:46:14 +00:00
William Lee
a3aa6dc1c2
Merge pull request #8379 from peterhuene/install-tool-source-option
Add source option to install tool command.
2018-01-12 17:46:08 -08:00
Peter Huene
fe89456f2a
Add source option to install tool command.
This commit adds the `--source` option to the `install tool` command.  This
option is equivalent to the option of the same name for the `restore` command.

The option is forwarded to the underlying restore operation.

Fixes #8226.
2018-01-12 16:08:13 -08:00
jbeisner
6d9130dc61 Simplify the 'index.json' removal. 2018-01-13 00:07:01 +00:00
Livar
d79c40e294
Merge pull request #8383 from dotnet-bot/master-UpdateDependencies
Update CoreSetup to preview1-26112-04 (master)
2018-01-12 15:44:41 -08:00
jbeisner
aa458eca82 Strip off "index.json" before appending "assets" 2018-01-12 23:34:38 +00:00
jbeisner
cbcd4fd3c3 Fixing a typo... 2018-01-12 22:46:25 +00:00
dotnet-bot
0354166e05 Update CoreSetup to preview1-26112-04 2018-01-12 22:43:35 +00:00
jbeisner
5e6c339e16 Simplification: remove Boolean 'PUBLISH_NUPKG_TO_AZURE_BLOB' 2018-01-12 22:27:46 +00:00
jbeisner
bfb9322415 Enabling the publish of assets to 'orchestrated' blob storage. 2018-01-12 22:11:15 +00:00
Livar
038d70dffd
Merge pull request #8387 from livarcocc/disable_native_installer_tests
Disabling native installer tests whenever CLIBUILD_SKIP_TESTS is set to true
2018-01-12 13:27:25 -08:00