Commit Graph

18036 Commits

Author SHA1 Message Date
Chris Ross ad8ecf96a1 React to runtime/594 Encoder.Convert change (#17747) 2020-01-15 11:07:50 -08:00
William Godbe 6ec28e8715
Fix setter for CandidateState.Values in reference assembly (#18278) 2020-01-15 11:02:08 -08:00
William Godbe ee57a0c309
Use checked-in platform manifest in 3.1.2 (#18250)
* Use checked-in platform manifest in 3.1.2

* Only used checked-in manifest in servicing builds
2020-01-15 11:01:16 -08:00
= eb1150ba37 Fixup templates 2020-01-15 09:00:39 -08:00
DotNet Bot 1324674163 Merged PR 4703: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:48752c90-f78c-49ee-575f-08d76e1d56cb)
## From https://github.com/aspnet/EntityFrameworkCore
- **Build**: 20191210.7
- **Date Produced**: 12/10/2019 8:25 PM
- **Commit**: 813358a5fb4e1f35e5d82463d2bad6616ca6f594
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.EntityFrameworkCore.Tools** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.SqlServer** -> 3.1.1-servicing.19610.7
  - **dotnet-ef** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.InMemory** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.Relational** -> 3.1.1-servicing.19610.7
  - **Microsoft.EntityFrameworkCore.Sqlite** -> 3.1.1-servicing.19610.7

[marker]: <> (End:48752c90-f78c-49ee-575f-08d76e1d56cb)
2019-12-15 17:23:03 +00:00
dotnet-bot 0780fb8e44 Merge in 'release/3.1' changes 2019-12-14 01:57:19 +00:00
Doug Bunting 81bccd1e4a
Merge branch 'release/3.0' => 'release/3.1' #16621
- hurray 🎆 🍾
- thanks @wtgodbe 
/fyi @Pilchie @mmitche
2019-12-13 17:55:58 -08:00
dotnet-bot 95be2bded3 Merge in 'release/3.1' changes 2019-12-14 00:23:13 +00:00
William Godbe f89c8d15a2
Use correct, non-stabilized version to find runtime archive (#17863) (#17869) 2019-12-13 16:21:45 -08:00
wtgodbe 6ce4719886 Fixup nuspecs for TargetingPackPackage/SharedFrameworkPackage 2019-12-13 16:19:53 -08:00
wtgodbe e142091d27 Add StructLayout to LifeCycleProperty 2019-12-13 14:46:00 -08:00
William Godbe fcb22728ee Add dummy target for GetTargetPath to Components.Web.JS.npmproj (#17796) 2019-12-13 14:04:42 -08:00
wtgodbe 138e801e34 Remove _dummy/_dummyPrimitive from LifeCycleProperty 2019-12-13 13:35:43 -08:00
wtgodbe a3358d71cd Try ugly fix for LifecycleProperty 2019-12-13 13:26:24 -08:00
wtgodbe 7052bc48d4 Try ugly fix for LifecycleProperty 2019-12-13 13:19:27 -08:00
Doug Bunting f2f23589a6
Use fields in a `readonly` `struct` 2019-12-13 12:56:23 -08:00
Doug Bunting a11d4b32ad
Add another CS1705 workaround in test project depending on some .NET Standard projects 2019-12-13 12:13:56 -08:00
Doug Bunting 3a67489398
Add missing `_dummy` and `_dummyPrimitive` fields
- probably need to double-check for similar gaps in 'release/3.0' branch
2019-12-13 12:13:15 -08:00
Doug Bunting 7256b353b3
Update `internal` types and members in *.Manual.cs files
- match changes that are in 'release/3.1' but not 'release/3.0'
  - e.g. `StaticComponentRenderer`'s namespace change and newly-added members
- redo GenAPI exclusions
  - remove some unecessary workarounds getting in the way of keeping up w/ API changes
  - add more GenAPI exclusions, enabling `--all` without hitting dotnet/arcade#4488
2019-12-13 12:10:44 -08:00
Doug Bunting 7ba757265f
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
- upgrade Arcade SDK to '1.0.0-beta.19607.3'
- regenerate eng/ProjectReferences.props and ref/ projects
2019-12-11 20:03:03 -08:00
Doug Bunting cf6b5028c3
Improve generation and use of ref/ projects (#17311)
* Remove useless src/PackageArchive files
- not used outside 2.x branches

* Improve use of ref/ assemblies
- compile against ref/ assemblies but do not change package metadata
  - update the metadata of implementation projects to include the ref/ assembly path
  - update `@(ReferenceAssembly)` metadata for Extensions packages, not `@(PackageReference)`
  - can be disabled using `$(CompileUsingReferenceAssemblies)` e.g. when generating ref/ projects
- include ref/ projects in source build by default
  - remove `$(ExcludeFromSourceBuild)` overrides from ref/ project files
- use latest package references and use project references even when _not_ building the targeting packs
- restore previous `@(Reference)` -> `@(PackageReference)` logic
  - add build-only Microsoft.Internal.Extensions.Refs package reference in most cases
- remove IndirectReferences.props and `@(_ExtensionInternalRefAssemblies)`; no longer needed

* Improve ref/ project generation
- use ../src/**/AssemblyInfo.cs files instead of including attributes in *.Manual.cs files
  - for same reason, copy `@(InternalsVisibleto)` items from src/ to ref/ projects
- use eng/targets/CSharp.ReferenceAssembly.props instead of ref/Directory.Build.props files
- use TFM-specific *.Manual.cs files in ref/ project files instead of ref/Directory.Build.props files

optimizations and usability improvements:
- add `$(BuildMainlyReferenceProviders)` property to focus on reference providers when generating ref/ projects
- disable `$(UseReferenceAssemblyInImplementation)` to avoid using ref/ projects while generating them

nits:
- clean up whitespace and remove blank lines in ref/ project files

* Perform smaller cleanup
- remove `$(IsTargetingPackPatching)`; use only `$(IsTargetingPackBuilding)`
- remove `$(DisableServicingFeatures)`; enable the servicing features we need
  - suppress baseline references even in servicing builds
- restore `$(AdditionalGenApiCmdOptions)`; useful when updating *.Manual.cs files

nits:
- simplify conditions using `$(HasReferenceAssembly)`
- correct spelling in comments
- shorten long lines

* Use a response file for GenAPI commands
- work around dotnet/arcade#4021 and help with additional ref assemblies
- mimic 111462e0c2 and integrate w/ other changes here

* Undo some manual ref/ project changes
- now done automatically or centrally
- remove manual `[TypeForwardedTo]` and `[InternalsVisibleTo]` attributes
  - fully qualify a type now that `using` is gone
- remove dupe `@(Compile)` items for *.Manual.cs files; included in the ref/ project files
- remove redundant `$(AllowUnsafeBlocks)` and `$(NoWarn)` settings

nits:
- rename a *.Manual.cs file that's not TFM-specific
- remove `private` members

* Correct use of `@(ProjectReference)` items for reference providers
- use `@(Reference)` instead

* Remove recently-added `@(Compile)` and `@(Reference)` items
- were added due to missing `[InternalsVisibleTo]` attributes in ref/ assemblies or as early workarounds
  - plus, now transitive references **Just Work™️**
- expose `ClosedGenericMatcher` in the usual (*.Manual.cs) way
- also undo Microsoft.Extensions.ApiDescription.Server workaround

* Remove `private` members from ref/ *.Manual.cs files
- not useful and bloat the ref/ assemblies

* Cleanup warnings
- avoid "CSC warning CS2008: No source files specified." building site extensions
- correct warnings (as errors) about `RenderToStringResult` being obsolete
  - add Microsoft.AspNetCore.SpaServices.Tests to Middleware solution

* Remove `@(RuntimeHostConfigurationOption)` workarounds
- deps files are unaffected by new ref/ assembly handling and test projects aren't special-cased
- also execute a test previously skipped due to deps file problems

* Regenerate ref/ projects
- pick up the latest generation changes

(unclear why Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs changed but works)

* Fill in missing `internal` types 1 of n
- rename Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs; need `RenderTreeFrame` type everywhere
- add types needed in unit and perf tests to *.Manual.cs files

* Clean up recent commits
- remove recently-added `private` members
- restore `_dummyPrimitive` fields in Microsoft.AspNetCore.Server.HttpSys.Manual.cs

* Add *.Manual.cs files for more projects

* !fixup! fields in *.Manual.cs `struct`s
- GenAPI sometimes generates `_dummy` and `_dummyPrimitive` fields _instead of_ visible members
- what GenAPI generates sometimes have the right length but actual fields don't hurt
  - that is, using the real fields corrects both the visible API and `struct`s' sizes

nits:
- consolidate `namespace`s in Microsoft.AspNetCore.Mvc.Core.Manual.cs

* Remove special case for generating ref/ projects on non-Windows
- referenced issue was closed with no action but workaround still not required
- no tabs in generated content

* Only create ref/ projects for assemblies in the shared framework
- restrict when `$(HasReferenceAssembly)` is `true` by default
- add warnings when `$(IsAspNetCoreApp)` or `$(HasReferenceAssembly)` have unexpected values

* Remove "extra" ref/ projects
- associated implementation projects no longer have `$(HasReferenceAssembly)` set to `true`

* Add a few GenAPI exclusions
- see dotnet/arcade#4488
- generation for these members leads to NREs

* Add more `internal` types and members
- Identity/Core
- Identity/Extensions.Core
- Mvc/Mvc.ViewFeatures

* Add direct dependencies to work around CS1705 errors
- add direct references to some test and sample projects to make intent clear i.e. address CS1705 root cause
  - these projects must use implementation assemblies for those direct references
  - requirement also applies to anything depending on them e.g. functional tests
  - for simplicity, use `$(CompileUsingReferenceAssemblies)` instead of targeted `@(Reference)` metadata
- leads to ~40 projects that do not themselves add ref/ metadata
  - this is _not_ transitive i.e. it applies only to projects that override `$(CompileUsingReferenceAssemblies)`

* nits: Remove a few more `private` members in *.Manual.cs files

* !fixup! correct namespaces of a few types in *.Manual.cs files

* Try another way to fix Microsoft.AspNetCore.Blazor.Build.Tests

* Try another way to fix missing targets in Web.JS.npmproj
2019-12-11 07:36:59 -08:00
John Luo 3cfac251c7 Merge branch 'release/2.1' into release/3.0 2019-12-09 14:38:04 -08:00
dotnet-bot f6f3f6f122 Merge in 'release/3.1' changes 2019-12-05 20:44:46 +00:00
William Godbe 1f114dff50
Download runtime from suffixed location in dotnetcli blob storage (#17592) 2019-12-05 12:33:38 -08:00
Will Godbe 90aa91ab8c Merged PR 4684: Merge 'release/3.1' into internal branch
Fixed a merge conflict in the code mirror from github into 'internal/release/3.1'
2019-12-05 02:27:14 +00:00
William Godbe 89aae45d6d
Download runtime from suffixed location in dotnetcli blob storage (#17593) 2019-12-04 16:31:45 -08:00
William Godbe 99979efaf6
Update branding to 3.1.1 (#17335)
* Update branding to 3.1.1

* Add *

* Skip RefPack tests

* Update baseline
2019-12-04 15:45:00 -08:00
dotnet-bot a3aaf16336 Merge in 'release/3.1' changes 2019-12-02 17:48:41 +00:00
Brennan Conroy a0183b1fac Merged PR 4506: [SignalR] Wait to complete pipe and cancel long sends 2019-11-25 19:37:46 +00:00
William Godbe 9cc3905c10
Don't ship blazor packages from release/3.1 (#17342) 2019-11-25 11:32:38 -08:00
Justin Kotalik c31f51e5c7 [3.1.x] Allow external startup hooks (#17116) 2019-11-23 10:06:25 -08:00
Justin Kotalik 9fded4c4aa [3.1.x] Fix dotnet.exe process recovery after abnormal exit in… (#17103) 2019-11-22 15:50:31 -08:00
Chris Ross 6902b14471 [3.1.x] Backport HttpContext.Items fix (#17237) 2019-11-22 15:24:27 -08:00
John Luo 147f950686
Update branding to 2.1.15 (#17273) 2019-11-20 17:10:59 -08:00
Doug Bunting 4ba64f5470
Re-enable signing validation (#13899)
- #13864
- use latest Arcade from '.NET 3 Tools'
  - pick up @joeloff's #4083 signing validation fixes
- update signing validation exclusions to get them working
- remove custom embedded package icon bits and use Arcade approach
  - also switch VS.Redist.* packages to use license expressions
2019-11-19 07:14:34 -08:00
Doug Bunting 7891c8318f
Stop paying attention to PatchConfig.props (#16748)
- remove references to PatchConfig.props
- delete the file itself
2019-11-19 07:12:48 -08:00
Ryan Nowak 8f8b5f55a9 Make constraint cache thread safe (#17146)
* Make constraint cache thread safe

Fixes: #17101

This changes the constraint cache to use ConcurrentDictionary. This code
is invoked in a multithreaded way in Blazor server resulting in internal
failures in dictionary.

Since this is a threading issue there's no good way to unit test it, but
I noticed we're missing tests in general for this class, so I added a
few for the caching behavior.

* PR feedback
2019-11-15 21:21:11 -08:00
William Godbe 19ca6e9a59
Merge pull request #16829 from aspnet/johluo/blazor-prerelease
Keep Blazor at pre-release for 3.1
2019-11-12 20:51:52 -08:00
William Godbe ec5ccaca22
Merge pull request #16853 from Pilchie/TestUpdates
Update some tests
2019-11-11 09:44:54 -08:00
William Godbe dc49105fd6
Merge pull request #16903 from aspnet/mkArtakMSFT/angularFix
Disable webpack build progress reporting for Angular projects
2019-11-11 09:44:22 -08:00
Brennan 77afd21e90 Change how we resolve dotnet in tests (#16934) 2019-11-09 17:17:58 -08:00
Brennan 2b2153afe6 Change how we resolve dotnet in tests (#16934) 2019-11-09 17:00:10 -08:00
Artak 5171fd2bb5
Disable webpack build progress reporting for Angular projects
Addresses https://github.com/aspnet/AspNetCore-ManualTests/issues/43
2019-11-07 12:35:12 -08:00
Kevin Pilch 5195d15939 Update some tests 2019-11-05 11:24:48 -08:00
William Godbe 22dedcb2f0 Use M.NC.App RefPack version for dotnet targeting pack dependency version (#16832) 2019-11-04 16:09:29 -08:00
John Luo e7e29105cc Keep Blazor at pre-release for 3.1 2019-11-04 13:43:24 -08:00
Stephen Halter e3b971a75e
Keep Kestrel's connection PipeReader in a consistent state (#16725)
- When the request body PipeReader.ReadAsync throws, the connection-level
pipe should be advanced, so subsequent attempts to read from the
connection-level pipe don't fail unnecessarily
2019-11-04 10:47:38 -08:00
Matt Mitchell 0b713e5777
Do not always create targeting pack archive (#16781) 2019-11-04 06:45:22 -08:00
Matt Mitchell b45e247120 [release/3.0] Stabilize package versions (#14933)
* Stabilize package versions

* Fixup UseProjectReferences

* Update condition for UseLatestPackageReference

* Add package references for transitive corefx packages for servicing builds

* Allow SuppressBaselineReference in 3.0.1

* Add App.Ref and App.Runtime to patchConfig.props and update targetingt pack version

* Add project templates to patchConfig.props

* Attempt to fix source build

* Build Runtime pack nupkg

* Zip Targeting Pack in 3.0.1

* Is301 -> IsTargetingPackPatching

* Commit missed file

* Update patch config logic to include ProjectTemplates

* Fix runtimeconfig.json

We need to specify the latest version of NETCore.App in runtimeconfig.json

* Add Projects needed for templates to patchConfig.props

* Try fixing logic for _GetPackageVersionInfo

* Skip InProcessWebSite standalone on ARM

* Include extensions ref assemblies if used

* Update package override contents

* Add exclusions for unneeded ref assembly references
2019-11-01 21:52:33 -07:00
Justin Kotalik 0f54cd7553 Set new HTTPS environment variable when using out of process (#16724)
* Set new HTTPS environment variable when using out of process

* Add https redirection test

* Update HttpsTests.cs

* Update patch config
2019-11-01 13:39:35 -07:00