platform/upstream/dotnet/runtime.git
6 years agoReplace MIT License with .NET Library EULA in setup bundle (dotnet/core-setup#4588)
Rakesh Singh [Thu, 4 Oct 2018 19:02:29 +0000 (12:02 -0700)]
Replace MIT License with .NET Library EULA in setup bundle (dotnet/core-setup#4588)

* Replace MIT License with .NET Library EULA in setup bundle

* fix url to use https instead of http

Commit migrated from https://github.com/dotnet/core-setup/commit/b3b533c92fa1911767d382d174b6f2e6356cfae1

6 years agoPublish cross-bitness cross-architecture tools on Linux/arm32 (dotnet/core-setup...
Egor Chesakov [Thu, 4 Oct 2018 16:48:32 +0000 (09:48 -0700)]
Publish cross-bitness cross-architecture tools on Linux/arm32 (dotnet/core-setup#4621)

* Use Hostx64/arm CrossGen for producing native images when build targets Linux/arm

* Keep using Hostx86/arm CrossGen when build targets Windows/arm

* Publish both Hostx64/arm and Hostx86/arm cross-architecture components (CrossGen and ClrJit) when build targets Linux/arm

Commit migrated from https://github.com/dotnet/core-setup/commit/0b93a11e284a23080f27ac40ce3de518a9c2ca18

6 years agoCOREHOST_TRACEFILE (dotnet/core-setup#4585)
Steve MacLean [Thu, 4 Oct 2018 01:24:30 +0000 (21:24 -0400)]
COREHOST_TRACEFILE (dotnet/core-setup#4585)

Add COREHOST_TRACEFILE

Add support for redirecting COREHOST_TRACE to a file
via COREHOST_TRACEFILE

Update host tracing design doc

Add comments about trace to file appending log.

Add timestamp to logs

Trace thread safety -
Prevent garbling of trace output by adding a mutex
Use C++11 std::mutex and std::lock_guard directly

Add COREHOST_TRACE_VERBOSITY to allow controlling verbosity
of trace,

When COREHOST_TRACE_VERBOSITY is not set behavior will remain unchanged

COREHOST_TRACE_VERBOSITY=1 errors only
COREHOST_TRACE_VERBOSITY=2 errors & warnings
COREHOST_TRACE_VERBOSITY=3 errors, warnings, and info
COREHOST_TRACE_VERBOSITY=4 errors, warnings, info, and verbose

Add tracing tests

Commit migrated from https://github.com/dotnet/core-setup/commit/0ef74c98b99ddd48bb8dcfac23006dc61e8b5796

6 years agoRevert "Temporarily disable failing Tizen CI leg"
Gleb Balykov [Thu, 9 Aug 2018 12:36:38 +0000 (15:36 +0300)]
Revert "Temporarily disable failing Tizen CI leg"

This reverts commit dotnet/core-setup@e47ecfbf7895f844e840ef9b74eb19e8d3258749.

Commit migrated from https://github.com/dotnet/core-setup/commit/1d18b0f95cbf118aa23b47d328516a19c8b93f1a

6 years agoUpdate Tizen CI docker image and links for rootfs generation
Gleb Balykov [Thu, 9 Aug 2018 12:34:27 +0000 (15:34 +0300)]
Update Tizen CI docker image and links for rootfs generation

Commit migrated from https://github.com/dotnet/core-setup/commit/b374e2e36678f09ab52519637ea52383a295166b

6 years agoUpdate CoreClr, CoreFx to preview1-27003-04, preview1-27003-02, respectively
dotnet-maestro-bot [Wed, 3 Oct 2018 12:58:23 +0000 (05:58 -0700)]
Update CoreClr, CoreFx to preview1-27003-04, preview1-27003-02, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/0b5a32281154d068ace75b72e3823f33912e7cfa

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03301-02, preview1-27002-04, preview1...
dotnet-maestro-bot [Tue, 2 Oct 2018 13:52:58 +0000 (06:52 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03301-02, preview1-27002-04, preview1-27002-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/d43632a0c4a590aa2f7a82ff81a6e62119017a94

6 years agoUpdate CoreClr, CoreFx to preview1-26928-03, preview1-26928-03, respectively
dotnet-maestro-bot [Fri, 28 Sep 2018 13:48:12 +0000 (06:48 -0700)]
Update CoreClr, CoreFx to preview1-26928-03, preview1-26928-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/14396fa9dd51a34353a32d5fa24984acf15772f8

6 years agoMerge pull request dotnet/core-setup#4608 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Thu, 27 Sep 2018 23:49:54 +0000 (16:49 -0700)]
Merge pull request dotnet/core-setup#4608 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03227-02, preview1-26927-03, preview1-26927-03, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/180413425448e0ef1f1f03c6f8af33c101377126

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03227-02, preview1-26927-03, preview1...
dotnet-maestro-bot [Thu, 27 Sep 2018 16:44:04 +0000 (09:44 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03227-02, preview1-26927-03, preview1-26927-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/e082e2ace6b1a852e33a8b7ce1931bda8ecddff4

6 years agoUpdate CoreClr, CoreFx to preview1-26926-03, preview1-26926-03, respectively (dotnet...
dotnet-maestro-bot [Wed, 26 Sep 2018 17:23:10 +0000 (10:23 -0700)]
Update CoreClr, CoreFx to preview1-26926-03, preview1-26926-03, respectively (dotnet/core-setup#4606)

Commit migrated from https://github.com/dotnet/core-setup/commit/7bee3f26f0bdd4a318e2c148d5d545aadc165ae4

6 years agoUpdate CoreClr, CoreFx to preview1-26925-05, preview1-26925-06, respectively
dotnet-maestro-bot [Tue, 25 Sep 2018 13:58:48 +0000 (06:58 -0700)]
Update CoreClr, CoreFx to preview1-26925-05, preview1-26925-06, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/4b51f6c11a69f2d07fd1b6a265a77fdb0f056bfd

6 years agoMerge pull request dotnet/core-setup#4601 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Mon, 24 Sep 2018 19:02:31 +0000 (12:02 -0700)]
Merge pull request dotnet/core-setup#4601 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools to preview1-03224-03 (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/9b99b24febd188a92caa7479460b15c5b4bf1139

6 years agoUpdate BuildTools to preview1-03224-03
dotnet-maestro-bot [Mon, 24 Sep 2018 17:58:12 +0000 (10:58 -0700)]
Update BuildTools to preview1-03224-03

Commit migrated from https://github.com/dotnet/core-setup/commit/983c2991194a47c2db229a766ff575eed6b98971

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03224-02, preview1-26924-03, preview1...
dotnet-maestro-bot [Mon, 24 Sep 2018 15:43:19 +0000 (08:43 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03224-02, preview1-26924-03, preview1-26924-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/4008220226cf75f767709d43f8d4394af0cc305d

6 years agoMerge pull request dotnet/core-setup#4592 from vitek-karas/HostProbing
Vitek Karas [Mon, 24 Sep 2018 08:39:24 +0000 (01:39 -0700)]
Merge pull request dotnet/core-setup#4592 from vitek-karas/HostProbing

Add separate document describing host probing logic

Commit migrated from https://github.com/dotnet/core-setup/commit/be4e2eb3709ab5b307ff581f222fd2a4c7a2dc94

6 years agoPR feedback
vitek-karas [Sat, 22 Sep 2018 19:34:40 +0000 (12:34 -0700)]
PR feedback

Commit migrated from https://github.com/dotnet/core-setup/commit/d78f8b9257e47235919e3228459a42389f7b9690

6 years agoAdd .runtimeconfig.dev.json to the list of probe path sources
Vitek Karas [Thu, 20 Sep 2018 10:03:36 +0000 (03:03 -0700)]
Add .runtimeconfig.dev.json to the list of probe path sources

Commit migrated from https://github.com/dotnet/core-setup/commit/981366fc8d1c6a1e71b7d467e1c1ea2f273a96c5

6 years agoAdd separate document describing host probing logic
Vitek Karas [Thu, 20 Sep 2018 10:00:08 +0000 (03:00 -0700)]
Add separate document describing host probing logic

Describes in detail how the host does probing for assets.
Replace the existing short description of this in the shared store document.
Fix some related comments in the code.

Commit migrated from https://github.com/dotnet/core-setup/commit/399a130743ae420c453ae47cb57c6bf01241a7dd

6 years agoMerge pull request dotnet/core-setup#4594 from dotnet-maestro-bot/master-UpdateDepend...
spshant [Fri, 21 Sep 2018 17:43:36 +0000 (10:43 -0700)]
Merge pull request dotnet/core-setup#4594 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03220-01, preview1-26921-06, preview1-26921-03, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/4b8641b84874041eb3da465452d2871807858b6e

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03220-01, preview1-26921-06, preview1...
dotnet-maestro-bot [Fri, 21 Sep 2018 13:59:52 +0000 (06:59 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03220-01, preview1-26921-06, preview1-26921-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/11514aebe92186b065f10d15a468d295aabb9db4

6 years agoMerge pull request dotnet/core-setup#4582 from dotnet-maestro-bot/master-UpdateDepend...
spshant [Thu, 20 Sep 2018 17:12:12 +0000 (10:12 -0700)]
Merge pull request dotnet/core-setup#4582 from dotnet-maestro-bot/master-UpdateDependencies

Update CoreClr, CoreFx to preview1-26920-03, preview1-26920-03, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/51ec20e0ba3f95cd1fbfaf057de13c8c5eafcced

6 years agoAdd a target for netstandard2.0 (dotnet/core-setup#4586)
Eric Erhardt [Thu, 20 Sep 2018 16:45:29 +0000 (11:45 -0500)]
Add a target for netstandard2.0 (dotnet/core-setup#4586)

* Add a target for netstandard2.0

Adding netstandard2.0 TFMs to the PlatformAbstractions and DependencyModel libraries so we don't force users to bring down unnecessary dependencies.

Fix dotnet/core-setup#3680

* Add a comment explaining the Newtonsoft.Json versioning reasoning.

Commit migrated from https://github.com/dotnet/core-setup/commit/2c99636fa3b1d38c773a18b8d325c865c1804629

6 years agoUpdate CoreClr, CoreFx to preview1-26920-03, preview1-26920-03, respectively
dotnet-maestro-bot [Thu, 20 Sep 2018 14:31:59 +0000 (07:31 -0700)]
Update CoreClr, CoreFx to preview1-26920-03, preview1-26920-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/91d62e6e302c0d53f955e9a68ebdcac76414057b

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03217-01, preview1-26918-04, preview1...
dotnet-maestro-bot [Tue, 18 Sep 2018 12:59:24 +0000 (05:59 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03217-01, preview1-26918-04, preview1-26918-01, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/9ea8c2681641d948560558fab081d04810ff0274

6 years agoAdd hosting for COM activation design proposal (dotnet/core-setup#4476)
Aaron Robinson [Tue, 18 Sep 2018 01:01:19 +0000 (18:01 -0700)]
Add hosting for COM activation design proposal (dotnet/core-setup#4476)

* Add hosting for COM activation design proposal

* Document RegFree COM issues

* Mention compat issues

* Add frameworks link

* Add details regarding UX and clarify associated assembly for runtimeconfig.json

* Update the anticipated public API

Commit migrated from https://github.com/dotnet/core-setup/commit/a317b1e3d73324ea0889f6298a9e208a5a56692f

6 years agoMerge pull request dotnet/core-setup#4572 from dotnet-maestro-bot/master-UpdateDepend...
spshant [Mon, 17 Sep 2018 18:20:37 +0000 (11:20 -0700)]
Merge pull request dotnet/core-setup#4572 from dotnet-maestro-bot/master-UpdateDependencies

Update CoreClr, CoreFx to preview1-26917-04, preview1-26917-04, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/2a86584f837640c3e69725612c856a58950a4a1a

6 years agoUpdate CoreClr, CoreFx to preview1-26917-04, preview1-26917-04, respectively
dotnet-maestro-bot [Mon, 17 Sep 2018 13:54:03 +0000 (06:54 -0700)]
Update CoreClr, CoreFx to preview1-26917-04, preview1-26917-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/f819b8b3d28805125ad637b33d46e0bc9ebffd58

6 years agoMerge pull request dotnet/core-setup#4571 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Fri, 14 Sep 2018 22:53:05 +0000 (15:53 -0700)]
Merge pull request dotnet/core-setup#4571 from dotnet-maestro-bot/master-UpdateDependencies

Update CoreClr, CoreFx to preview1-26914-04, preview1-26914-04, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/a321a18f55537689847b70b60d48038a128942c4

6 years agoUpdate CoreClr, CoreFx to preview1-26914-04, preview1-26914-04, respectively
dotnet-maestro-bot [Fri, 14 Sep 2018 14:09:08 +0000 (07:09 -0700)]
Update CoreClr, CoreFx to preview1-26914-04, preview1-26914-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/e91c6cf661ee53add29e54bbd42147ab4aec0ad4

6 years agoUpdate CoreClr to preview1-26913-07
dotnet-maestro-bot [Thu, 13 Sep 2018 20:52:26 +0000 (13:52 -0700)]
Update CoreClr to preview1-26913-07

Commit migrated from https://github.com/dotnet/core-setup/commit/94b24a1602ef9658713c4edd5127eada643d6752

6 years agoAdd graph support for multiple shared frameworks (dotnet/core-setup#4538)
Steve Harter [Thu, 13 Sep 2018 21:18:20 +0000 (16:18 -0500)]
Add graph support for multiple shared frameworks (dotnet/core-setup#4538)

Commit migrated from https://github.com/dotnet/core-setup/commit/8fe49b4211abaa649784966a4f6b55a38a237d9e

6 years agoUpdate CoreClr to preview1-26913-04
dotnet-maestro-bot [Thu, 13 Sep 2018 12:59:39 +0000 (05:59 -0700)]
Update CoreClr to preview1-26913-04

Commit migrated from https://github.com/dotnet/core-setup/commit/b58a7481f2111be30fd29681186f2943b818f0f1

6 years agoAdd host startup hook and tests (dotnet/core-setup#4465)
Sven Boemer [Thu, 13 Sep 2018 16:25:46 +0000 (09:25 -0700)]
Add host startup hook and tests (dotnet/core-setup#4465)

* Expose coreclr_create_delegate function

* Add startup hook call

Read DOTNET_STARTUP_HOOKS environment variable, and pass it along to a
private function in
System.Private.CoreLib (StartupHookProvider.ProcessStartupHookS).

* Add startup hook tests

* Add some more syntax checks

* Reorder the tests

* Add test for exclamation mark in assembly path

* Fix error behavior for missing methods

MissingMethodException is now only thrown when the Initialize method
doesn't exist at all. This also reorganizes the existing tests for the
invalid signature, and adds some cases.

* Change test behavior to not expect eager file exists check

* Expect full paths for startup hook.

Fixes this in existing tests, and adds a new check for the error
behavior when a relative path is passed.

* Add test for startup hook trace output

* Update tests to use new syntax (without type name)

* Pass STARTUP_HOOKS property key to coreclr_initialize

STARTUP_HOOKS is now passed to the clr during initialization, instead
of using create_delegate in the host. This will allow the clr to call
the startup hooks closer to the execution of the main method, allowing
the threading apartment state to be set based on the main method's
attributes.

* Allow non-public Initialize method

* Remove coreclr::create_delegate

* Add comments clarifying purpose of startup hook test projects

* Add test with ALC assembly resolve event

The startup hook will inject a dependency into the app.

* Fix the ALC startup hook testcase

- Don't set ReferenceOutputAssembly in the projectreference, because
  that results in it not being published.
- Dispose the new projects
- Don't throw exceptions from the resolver, since they are swallowed.

Commit migrated from https://github.com/dotnet/core-setup/commit/841b7e407f6b782b1f5900873f4ffc57875111c6

6 years agoAdd additional TPA version tests (dotnet/core-setup#4557)
Steve Harter [Thu, 13 Sep 2018 14:56:30 +0000 (09:56 -0500)]
Add additional TPA version tests (dotnet/core-setup#4557)

Commit migrated from https://github.com/dotnet/core-setup/commit/3d5a97ae62c259c4f8886dd72ac35689385ad817

6 years agoMerge pull request dotnet/core-setup#4547 from dotnet-maestro-bot/master-UpdateDepend...
Matt Mitchell [Wed, 12 Sep 2018 20:16:49 +0000 (13:16 -0700)]
Merge pull request dotnet/core-setup#4547 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03211-01, preview1-26912-04, preview1-26912-03, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/a46fb2af2401d45b4c7785a7bc3cb57365d531eb

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03211-01, preview1-26912-04, preview1...
dotnet-maestro-bot [Wed, 12 Sep 2018 14:19:51 +0000 (07:19 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03211-01, preview1-26912-04, preview1-26912-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/1dcdc7d18f2637bd74afd2fa296d31b7844d2157

6 years agoMerge pull request dotnet/core-setup#4531 from vitek-karas/HostTracingDesign
Vitek Karas [Mon, 10 Sep 2018 19:17:59 +0000 (12:17 -0700)]
Merge pull request dotnet/core-setup#4531 from vitek-karas/HostTracingDesign

Proposal for improvements of host tracing in .NET Core 3

Commit migrated from https://github.com/dotnet/core-setup/commit/df6962d15091a0d3f3bdc82e46906a06a8914572

6 years agoRename bindingId to activityId
vitek-karas [Mon, 10 Sep 2018 17:39:28 +0000 (10:39 -0700)]
Rename bindingId to activityId

To match EventSource terminology as the meaning of the parameter is exactly that.

Commit migrated from https://github.com/dotnet/core-setup/commit/726b1c3ee0174dd7e478d6580a01c60d38cc7a8e

6 years agoMerge pull request dotnet/core-setup#4539 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Fri, 7 Sep 2018 16:48:04 +0000 (09:48 -0700)]
Merge pull request dotnet/core-setup#4539 from dotnet-maestro-bot/master-UpdateDependencies

Update CoreClr, CoreFx to preview1-26907-04, preview1-26907-04, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/96537a8f64f9fffdbd10696002a9ed0085af3711

6 years agoUpdate CoreClr, CoreFx to preview1-26907-04, preview1-26907-04, respectively
dotnet-maestro-bot [Fri, 7 Sep 2018 13:53:37 +0000 (06:53 -0700)]
Update CoreClr, CoreFx to preview1-26907-04, preview1-26907-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/bc41b3db38e37458a008c69c66761ce70f35e059

6 years agoPR feedback - binding IDs, simultaneos tracing to stderr
Vitek Karas [Thu, 6 Sep 2018 11:15:08 +0000 (04:15 -0700)]
PR feedback - binding IDs, simultaneos tracing to stderr

Add bindingId parameters to traces. This is mostly in preparation for the .deps.json based ALC which will call into the host components and thus induce tracing.
Change the behavior to route tracing to both `stderr`/file and custom trace listener if both are enabled/registered.
Restructured the document given the new behavior to make it easier to read.
Small fixes.

Commit migrated from https://github.com/dotnet/core-setup/commit/ac9fcee14478afd9d3d14eab30f32d090ad4bb40

6 years agoUpdate BuildTools to preview1-03205-01
dotnet-maestro-bot [Wed, 5 Sep 2018 17:36:03 +0000 (10:36 -0700)]
Update BuildTools to preview1-03205-01

Commit migrated from https://github.com/dotnet/core-setup/commit/adc37c4ee25c9e2183acbdeb152a05bda36d2081

6 years agoMerge pull request dotnet/core-setup#4535 from jeffschwMSFT/docs
Jeff Schwartz [Wed, 5 Sep 2018 18:17:38 +0000 (11:17 -0700)]
Merge pull request dotnet/core-setup#4535 from jeffschwMSFT/docs

Change ownership for area-Host

Commit migrated from https://github.com/dotnet/core-setup/commit/ef273f7b40cab8ae32b56c712a2412841c97615d

6 years agoChange ownership from Steve to Vitek/Swaroop
Jeff Schwartz [Wed, 5 Sep 2018 16:50:03 +0000 (09:50 -0700)]
Change ownership from Steve to Vitek/Swaroop

Commit migrated from https://github.com/dotnet/core-setup/commit/861ea9b6ce10f7e95c570a5fcb2377aaf8fc8bf8

6 years agoMerge pull request dotnet/core-setup#4527 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Wed, 5 Sep 2018 16:17:52 +0000 (09:17 -0700)]
Merge pull request dotnet/core-setup#4527 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03131-07, preview1-26905-04, preview1-26905-03, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/335c8eb8c3453b430018bd5ac9ecaf45cb6c560b

6 years agoPR feedback
vitek-karas [Wed, 5 Sep 2018 15:00:16 +0000 (08:00 -0700)]
PR feedback

Reference related issues.
Specify backward compat behavior of hostfxr.
Add future improvements around trace verbosity.

Commit migrated from https://github.com/dotnet/core-setup/commit/5734d0905622f02d5c73f9762bd8aa7fe916f0ab

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03131-07, preview1-26905-04, preview1...
dotnet-maestro-bot [Wed, 5 Sep 2018 13:46:02 +0000 (06:46 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03131-07, preview1-26905-04, preview1-26905-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/a918cd62588448552ef4481b316894f52968e09a

6 years agoPR Feedback
vitek-karas [Tue, 4 Sep 2018 20:27:59 +0000 (13:27 -0700)]
PR Feedback

Add description of existing behavior and what are the proposed changes.
Add future improvements section describing other potential work in the tracing space.
Better describe existing cooperation of host components.
Improved formatting.

Commit migrated from https://github.com/dotnet/core-setup/commit/dc93bea6efad142a10692284afba301841254d3d

6 years agoMerge pull request dotnet/core-setup#4510 from omajid/commit-id-via-property
Wes Haggard [Tue, 4 Sep 2018 18:11:21 +0000 (11:11 -0700)]
Merge pull request dotnet/core-setup#4510 from omajid/commit-id-via-property

Allow setting the commit id using /p:LatestCommit

Commit migrated from https://github.com/dotnet/core-setup/commit/f652e852eb88ee61a263caaf0a16db807688da47

6 years agoProposal for improvements of host tracing in .NET Core 3
vitek-karas [Mon, 3 Sep 2018 14:48:08 +0000 (07:48 -0700)]
Proposal for improvements of host tracing in .NET Core 3

Commit migrated from https://github.com/dotnet/core-setup/commit/a39908a0e0c232fbcf29d16a9144fffc68b39943

6 years agoMerge pull request dotnet/core-setup#4515 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Fri, 31 Aug 2018 15:54:27 +0000 (08:54 -0700)]
Merge pull request dotnet/core-setup#4515 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03131-01, preview1-26831-07, preview1-26831-06, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/eab4b2fd162e453988af973878ddfa7eb9496a6b

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03131-01, preview1-26831-07, preview1...
dotnet-maestro-bot [Fri, 31 Aug 2018 14:54:19 +0000 (07:54 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03131-01, preview1-26831-07, preview1-26831-06, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/2e4d746646d063a5de0776c214dd30695ac2b9f4

6 years agoAdd startup hook design document (dotnet/core-setup#4421)
Sven Boemer [Fri, 31 Aug 2018 00:24:02 +0000 (17:24 -0700)]
Add startup hook design document (dotnet/core-setup#4421)

* Add startup hook design document

This adds a proposal for an early startup hook that allows managed
code to run before the entry point.

* Change env var behavior and clarify version constraints

* Fix formatting, specify Initialize() signature

* Update spec for multiple hooks in environment variable

- Move the configuration to a single environment variable,
  DOTNET_STARTUP_HOOKS
- Introduce syntax to allow multiple hooks to be defined
- Remove .runtimeconfig file options
  This will only support the environment variable, since
  this is a low-level feature that should only be used when implicit
  injection of code is desired.
- Update implementation details

* Remove default type name and other fixes

- Require an explicit type name for each startup hook
- Fix Initialize() signature (it must be static)
- Clarify that the Initialize() methods are called synchronously

* Require full path, clarify syntax, and change TPA behavior

- Relative paths to the assemblies are not allowed
- Use platform-specific path separator
- Clarify restrictions on the syntax (no empty entries, trailing separator)
- Startup assemblies will not be placed on TPA list
  Instead, they will be loaded directly using LoadFromAssemblyPath in
  the implementation.

* Add guidance, error behavior, and thread behavior

* Remove specific error text, fix typos and formatting

* Remove type name from synax

The type must now be called StartupHook, and can not be set by the
environment variable. The descriptions and examples were updated to
reflect this.

Also:
- add a few notes about the visibility of this type
- describe behavior of uncaught exceptions in startup hooks
- give example with platform-specific separators
- fix some typos

* Change startup hook to run closer to Main

Instead of the host creating a delegate and inoking it,
ExecuteMainMethod in the runtime will call the System.Private.CoreLib
function that processes startup hooks. This allows the thread
apartment state to be set based on any attributes in the Main method,
before startup hooks execute.

* Clarify apartment threading state behavior

* Specify the property name passed to the runtime

Commit migrated from https://github.com/dotnet/core-setup/commit/c245dc40c4830443e5a4d720c94ebd08f606a6e7

6 years agoMerge pull request dotnet/core-setup#4509 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Thu, 30 Aug 2018 20:39:01 +0000 (13:39 -0700)]
Merge pull request dotnet/core-setup#4509 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03130-04, preview1-26830-04, preview1-26830-04, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/bbfa2103dda968a9f142cd3ceffe6ef9091d8342

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03130-04, preview1-26830-04, preview1...
dotnet-maestro-bot [Thu, 30 Aug 2018 17:16:27 +0000 (10:16 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03130-04, preview1-26830-04, preview1-26830-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/214491a3ba814a847d6023d107aba5b1feaceda5

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03129-01, preview1-26829-04, preview1...
dotnet-maestro-bot [Wed, 29 Aug 2018 17:45:39 +0000 (10:45 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03129-01, preview1-26829-04, preview1-26829-04, respectively (dotnet/core-setup#4508)

Commit migrated from https://github.com/dotnet/core-setup/commit/bc68b20840c04290887a744f4ae48f9201d73b17

6 years agoMerge pull request dotnet/core-setup#4504 from dotnet-maestro-bot/master-UpdateDepend...
Wes Haggard [Tue, 28 Aug 2018 18:58:28 +0000 (11:58 -0700)]
Merge pull request dotnet/core-setup#4504 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03127-01, preview1-26828-04, preview1-26828-04, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/976dbf2a698d02dda93c469537295258886ea624

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03127-01, preview1-26828-04, preview1...
dotnet-maestro-bot [Tue, 28 Aug 2018 14:13:04 +0000 (07:13 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03127-01, preview1-26828-04, preview1-26828-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/f55f1d9a32f5d59b5087802a05882ea6900d4162

6 years agoMerge pull request dotnet/core-setup#4500 from luqunl/ExcludeWindowsWinmd2
Wes Haggard [Mon, 27 Aug 2018 20:47:10 +0000 (13:47 -0700)]
Merge pull request dotnet/core-setup#4500 from luqunl/ExcludeWindowsWinmd2

Remove Windows.winmd in ref

Commit migrated from https://github.com/dotnet/core-setup/commit/0e10982cea9c351bac3c8986ff28c33008fecee5

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03124-03, preview1-26826-04, preview1...
dotnet-maestro-bot [Mon, 27 Aug 2018 18:04:40 +0000 (11:04 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03124-03, preview1-26826-04, preview1-26826-01, respectively (master) (dotnet/core-setup#4489)

* Update BuildTools, CoreClr, CoreFx to preview1-03122-05, preview1-26822-04, preview1-26822-04, respectively

* Update BuildTools, CoreClr, CoreFx to preview1-03124-03, preview1-26826-04, preview1-26826-01, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/35d6f62d388930087b2b4984770597bf6b11afbb

6 years agoRemove Windows.winmd in ref
luqunl [Mon, 27 Aug 2018 17:21:14 +0000 (10:21 -0700)]
Remove Windows.winmd in ref

Commit migrated from https://github.com/dotnet/core-setup/commit/5ae79eb1de60bc7c1b369b14a418f486bce29478

6 years agoFix tests after bin dir rename (dotnet/core-setup#4499)
Viktor Hofer [Mon, 27 Aug 2018 17:09:08 +0000 (19:09 +0200)]
Fix tests after bin dir rename (dotnet/core-setup#4499)

Commit migrated from https://github.com/dotnet/core-setup/commit/99483f4450f29b87c2780279d6b5a233268c519b

6 years agoLowercase bin dir name to align with corefx and others (dotnet/core-setup#4498)
Viktor Hofer [Mon, 27 Aug 2018 16:15:20 +0000 (18:15 +0200)]
Lowercase bin dir name to align with corefx and others (dotnet/core-setup#4498)

Commit migrated from https://github.com/dotnet/core-setup/commit/01e0d4240f3b449e0c63326d52de1d4ce7694df5

6 years agoMoving hostpolicy to sub-directory under dll (dotnet/core-setup#4483)
Aaron Robinson [Wed, 22 Aug 2018 15:47:59 +0000 (08:47 -0700)]
Moving hostpolicy to sub-directory under dll (dotnet/core-setup#4483)

* Moving hostpolicy to sub-directory under dll

* Remove inconsistent property

* Remove 'exe' and 'dll' directories.

Commit migrated from https://github.com/dotnet/core-setup/commit/2ef0b64810530961f492c33d37fc7509128e0a9b

6 years agoMerge pull request dotnet/core-setup#4493 from luqunl/ExcludeWindowsWinmd
Luqun Lou [Tue, 21 Aug 2018 16:40:39 +0000 (09:40 -0700)]
Merge pull request dotnet/core-setup#4493 from luqunl/ExcludeWindowsWinmd

Commit migrated from https://github.com/dotnet/core-setup/commit/d0e8443dd5515cfcccdc9d19a377c22dcff19f3e

6 years agoUse NuGetPackageId to exclude Windows nuget package
luqunl [Mon, 20 Aug 2018 23:00:20 +0000 (16:00 -0700)]
Use NuGetPackageId to exclude Windows nuget package

Commit migrated from https://github.com/dotnet/core-setup/commit/ca1206dad2174231f1ed2f09dbab53a627708ef0

6 years agoExclude Windows.winmd into NetCoreApp distro
luqunl [Mon, 20 Aug 2018 20:18:59 +0000 (13:18 -0700)]
Exclude Windows.winmd into NetCoreApp distro

Commit migrated from https://github.com/dotnet/core-setup/commit/176d0099d57e630ff02f55993942f48c154b6a46

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03116-01, preview1-26817-05, preview1...
dotnet-maestro-bot [Fri, 17 Aug 2018 17:12:38 +0000 (10:12 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03116-01, preview1-26817-05, preview1-26817-04, respectively (dotnet/core-setup#4482)

Commit migrated from https://github.com/dotnet/core-setup/commit/9f4d21cc6616e9c1316251c2b0352d2a79bbb8e8

6 years agoNew hostfxr API to support new MSBuild SDK resolver scenarios (dotnet/core-setup...
Nick Guerrera [Thu, 16 Aug 2018 19:37:07 +0000 (12:37 -0700)]
New hostfxr API to support new MSBuild SDK resolver scenarios (dotnet/core-setup#4301)

1. hostfxr_resolve_sdk2

Deprecates hostfxr_resolve_sdk and adds two new capabilities:

  * Return the path to global.json if global.json is used

    This allows the msbuild sdk resolver to customize its error handling and
    logging appropriately. It will also be used to enable msbuild to fall back
    to most recent compatible SDK when the most recent SDK chosen without
    global.json is incompatible with the current msbuild version.

  * Add disallow_prerelease flag

    When set, this will prevent prerelease SDKs from being resolved unless a
    prerelease version was specified in global.json. This will be used to
    prevent prerelease VS installations from impacting side-by-side releases.

2. hostfxr_get_available_sdks

Returns all available SDKs in sorted order by version.

Allows MSBuild SDK resolver to fall back to latest compatible SDK when there is
no global.json and latest SDK is incompatible with current version of MSBuild.

Commit migrated from https://github.com/dotnet/core-setup/commit/84f06c2fe54d25d86d48ae3b0daae5f3f40cc19f

6 years agoMerge pull request dotnet/core-setup#4471 from dotnet-maestro-bot/master-UpdateDepend...
Dan Moseley [Thu, 16 Aug 2018 18:37:45 +0000 (11:37 -0700)]
Merge pull request dotnet/core-setup#4471 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx to preview1-03115-02, preview1-26816-04, preview1-26816-01, respectively (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/da04c570c66141fb55e17957535c5346e0ec0cef

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03115-02, preview1-26816-04, preview1...
dotnet-maestro-bot [Thu, 16 Aug 2018 12:58:16 +0000 (05:58 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03115-02, preview1-26816-04, preview1-26816-01, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/50dc3496855e1b415386bf27f185a8666ec4d839

6 years agoAdd appdomain variable for current framework version (dotnet/core-setup#4470)
Steve Harter [Wed, 15 Aug 2018 20:33:53 +0000 (15:33 -0500)]
Add appdomain variable for current framework version (dotnet/core-setup#4470)

Commit migrated from https://github.com/dotnet/core-setup/commit/7e88484b2ab88b98088c2f40b620c7593b0fdd16

6 years agoUpdate CoreClr, CoreFx to preview1-26814-06, preview1-26814-01, respectively
dotnet-maestro-bot [Tue, 14 Aug 2018 12:57:47 +0000 (05:57 -0700)]
Update CoreClr, CoreFx to preview1-26814-06, preview1-26814-01, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/d679f138a19f55594f84389712293bd76552e844

6 years agoMerge pull request dotnet/core-setup#4457 from danmosemsft/license
Dan Moseley [Tue, 14 Aug 2018 01:13:33 +0000 (18:13 -0700)]
Merge pull request dotnet/core-setup#4457 from danmosemsft/license

Copy license file from corefx

Commit migrated from https://github.com/dotnet/core-setup/commit/e2dcb72d284b52625946cad95013f4567df77c4d

6 years agoAvoid extra search of multilevel dir when it is the same as dotnet root (dotnet/core...
Steve Harter [Mon, 13 Aug 2018 22:04:14 +0000 (17:04 -0500)]
Avoid extra search of multilevel dir when it is the same as dotnet root (dotnet/core-setup#4441)

Commit migrated from https://github.com/dotnet/core-setup/commit/b17186ff80b6f58c15ee7dd474a719697c8dea10

6 years agoUpdate CoreFx to preview1-26811-01
dotnet-maestro-bot [Sat, 11 Aug 2018 01:52:30 +0000 (18:52 -0700)]
Update CoreFx to preview1-26811-01

Commit migrated from https://github.com/dotnet/core-setup/commit/8ab5510c4c07b3bd78f7cd75f45a4d23d0913b62

6 years agoUpdate BuildTools to preview1-03110-01 (dotnet/core-setup#4447)
dotnet-maestro-bot [Sat, 11 Aug 2018 00:24:25 +0000 (17:24 -0700)]
Update BuildTools to preview1-03110-01 (dotnet/core-setup#4447)

Commit migrated from https://github.com/dotnet/core-setup/commit/0edd13c0effe332de704b939cd072e714281d3ec

6 years agoUpdate CoreClr, CoreFx to preview1-26810-04, preview1-26810-04, respectively
dotnet-maestro-bot [Fri, 10 Aug 2018 14:13:15 +0000 (07:13 -0700)]
Update CoreClr, CoreFx to preview1-26810-04, preview1-26810-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/97f11c5cdf2958eadef70b4eeef5187e2514d8d1

6 years agoHandle --configuration in src/corehost/build.sh correctly (dotnet/core-setup#4389)
Omair Majid [Fri, 10 Aug 2018 13:55:04 +0000 (09:55 -0400)]
Handle --configuration in src/corehost/build.sh correctly (dotnet/core-setup#4389)

Currently, the value of the configuration is ignored.

Commit migrated from https://github.com/dotnet/core-setup/commit/086fb54ddbe3b1f723258d56e7dcb69f893c25d9

6 years agoMerge pull request dotnet/core-setup#4430 from luqunl/SystemRuntimeWindowsRuntime
Luqun Lou [Thu, 9 Aug 2018 16:35:50 +0000 (09:35 -0700)]
Merge pull request dotnet/core-setup#4430 from luqunl/SystemRuntimeWindowsRuntime

Commit migrated from https://github.com/dotnet/core-setup/commit/c5e7198a651bdf800183a0d17f3e31bc666b979e

6 years agoUpdating init-tools to be inline with the CoreFX/CoreCLR copy
Tanner Gooding [Thu, 9 Aug 2018 01:03:30 +0000 (18:03 -0700)]
Updating init-tools to be inline with the CoreFX/CoreCLR copy

Commit migrated from https://github.com/dotnet/core-setup/commit/db01a9371e3a12adc122a34ea974fa959ea63f6f

6 years agoAdd comments
luqunl [Thu, 9 Aug 2018 00:13:16 +0000 (17:13 -0700)]
Add comments

Commit migrated from https://github.com/dotnet/core-setup/commit/619dea13fd8937e59efda4f845fbc5880dc29113

6 years agoMerge pull request dotnet/core-setup#4438 from dotnet-maestro-bot/master-UpdateDepend...
Tanner Gooding [Thu, 9 Aug 2018 00:06:33 +0000 (17:06 -0700)]
Merge pull request dotnet/core-setup#4438 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools to preview1-03108-01 (master)

Commit migrated from https://github.com/dotnet/core-setup/commit/955ebc8d86c999c9869d332603a2a60e8b4e864e

6 years agoUpdating init-tools.cmd to pass through PACKAGES_DIR
Tanner Gooding [Wed, 8 Aug 2018 22:50:20 +0000 (15:50 -0700)]
Updating init-tools.cmd to pass through PACKAGES_DIR

Commit migrated from https://github.com/dotnet/core-setup/commit/7bbbb79c1b77007b6a4bca330c87310764fedf66

6 years agoUpdate BuildTools to preview1-03108-01
dotnet-maestro-bot [Wed, 8 Aug 2018 20:45:24 +0000 (13:45 -0700)]
Update BuildTools to preview1-03108-01

Commit migrated from https://github.com/dotnet/core-setup/commit/44b42ab651d1d417db8b277a98b2f3fbd9f239da

6 years agoAlways compare TPA versions (dotnet/core-setup#4423)
Steve Harter [Wed, 8 Aug 2018 18:41:46 +0000 (13:41 -0500)]
Always compare TPA versions (dotnet/core-setup#4423)

Commit migrated from https://github.com/dotnet/core-setup/commit/210afffd0ac12458146444be6dea783c8b55389f

6 years agoupdate for code review comments
luqunl [Wed, 8 Aug 2018 17:30:31 +0000 (10:30 -0700)]
update for code review comments

Commit migrated from https://github.com/dotnet/core-setup/commit/61f9651c0f1533263ecbb1157b331c0de66d5cdb

6 years agoUpdate CoreClr to preview1-26808-04
dotnet-maestro-bot [Wed, 8 Aug 2018 12:55:18 +0000 (05:55 -0700)]
Update CoreClr to preview1-26808-04

Commit migrated from https://github.com/dotnet/core-setup/commit/130e6074af9d02e6edf19374c3e39dece1caaf7c

6 years agoFix small variable typo in internal method
Spacefish [Mon, 23 Jul 2018 15:35:27 +0000 (17:35 +0200)]
Fix small variable typo in internal method

Commit migrated from https://github.com/dotnet/core-setup/commit/84c9d2d68103c8bac4a432e2cfc2073ba24f1924

6 years agoUpdate BuildTools to preview1-03107-02
dotnet-maestro-bot [Tue, 7 Aug 2018 20:24:51 +0000 (13:24 -0700)]
Update BuildTools to preview1-03107-02

Commit migrated from https://github.com/dotnet/core-setup/commit/1ab1b7112e3421eaaff596c3e1d14b1c01b6b9e5

6 years agoTemporarily disable failing Tizen CI leg
Josh Free [Mon, 6 Aug 2018 22:58:12 +0000 (15:58 -0700)]
Temporarily disable failing Tizen CI leg

Fixes https://github.com/dotnet/core-setup/issues/4408

Re-enabling tracked by https://github.com/dotnet/corefx/issues/28901

/cc @hqueue @alpencolt @gbalykov

Commit migrated from https://github.com/dotnet/core-setup/commit/e47ecfbf7895f844e840ef9b74eb19e8d3258749

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03107-01, preview1-26807-05, preview1...
dotnet-maestro-bot [Tue, 7 Aug 2018 16:22:32 +0000 (09:22 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03107-01, preview1-26807-05, preview1-26807-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/5ca939e6e495ba656bb369539d05e6f277f53317

6 years agoEnable run crossgen on System.Runtime.WindowsRuntime
luqunl [Mon, 6 Aug 2018 23:09:14 +0000 (16:09 -0700)]
Enable run crossgen on System.Runtime.WindowsRuntime

Commit migrated from https://github.com/dotnet/core-setup/commit/1e9e9995582dbccaacc12463609494ffe72565c7

6 years agoTemporarily Disable Run CrossGen on System.Runtime.WindowsRuntime
luqunl [Fri, 3 Aug 2018 23:10:19 +0000 (16:10 -0700)]
Temporarily Disable Run CrossGen on System.Runtime.WindowsRuntime

Commit migrated from https://github.com/dotnet/core-setup/commit/a0e07af74640a8c87bdc3d7c37db3af510ad2cf8

6 years agoUpdate CoreClr, CoreFx to preview1-26803-04, preview1-26803-03, respectively
dotnet-maestro-bot [Fri, 3 Aug 2018 13:26:25 +0000 (06:26 -0700)]
Update CoreClr, CoreFx to preview1-26803-04, preview1-26803-03, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/4b5bdd2722457e1d2e4ccadec05089cacc2ffdbd

6 years agoUpdate BuildTools, CoreClr to preview1-03101-02, preview1-26802-01, respectively
dotnet-maestro-bot [Thu, 2 Aug 2018 01:04:50 +0000 (18:04 -0700)]
Update BuildTools, CoreClr to preview1-03101-02, preview1-26802-01, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/64a00985bddd27cc1ce8516187744808c232bebb

6 years agoUpdate BuildTools, CoreClr, CoreFx to preview1-03030-01, preview1-26801-06, preview1...
dotnet-maestro-bot [Wed, 1 Aug 2018 13:34:58 +0000 (06:34 -0700)]
Update BuildTools, CoreClr, CoreFx to preview1-03030-01, preview1-26801-06, preview1-26801-04, respectively

Commit migrated from https://github.com/dotnet/core-setup/commit/f83f31f54483155c6b4b362770eb7805300eb8c8

6 years agoMerge pull request dotnet/core-setup#4418 from vitek-karas/HostComponentsDoc
Vitek Karas [Tue, 31 Jul 2018 20:50:55 +0000 (13:50 -0700)]
Merge pull request dotnet/core-setup#4418 from vitek-karas/HostComponentsDoc

Host components doc

Commit migrated from https://github.com/dotnet/core-setup/commit/f80f985327ce10073ca83139db6f9ae1116f8f16

6 years agoPR feedback fixes
vitek-karas [Tue, 31 Jul 2018 20:11:47 +0000 (13:11 -0700)]
PR feedback fixes

Commit migrated from https://github.com/dotnet/core-setup/commit/da7a7cb64b7f7e93341367ee450ede07cfbb2d21