Commit Graph

40803 Commits

Author SHA1 Message Date
William Godbe 67424e78a4
Don't use baseline assembly versions for RID-agnostic packages (#17970) 2020-01-15 11:01:52 -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
John Luo 36e79022be
Merge pull request #18151 from dotnet/johluo/feb-branding
Update branding to 3.1.2
2020-01-15 10:46:39 -08:00
Pranav K 4ab5fe6803
Handle satellite assemblies in the Blazor build targets (#18207)
* Handle satellite assemblies in the Blazor build targets

* Pass the same closure of assemblies that is used by the SDK's linker to Blazor's linker and ResolveBlazorRuntimeDependencies task
* Quote the mono linker path

Fixes https://github.com/dotnet/aspnetcore/issues/17644
Fixes https://github.com/dotnet/aspnetcore/issues/17754
2020-01-15 10:43:58 -08:00
= eb1150ba37 Fixup templates 2020-01-15 09:00:39 -08:00
John Luo a47417090d Fix CodeCheck 2020-01-14 18:33:01 -08:00
John Luo 02697337eb
Merge pull request #18205 from dotnet/johluo/2.1-feb20
Update branding to 2.1.16
2020-01-14 18:05:04 -08:00
John Luo 67122035d0 Update baselines 2020-01-14 17:45:17 -08:00
John Luo 183a09f763 Update branding to 2.1.16 2020-01-14 14:42:47 -08:00
Pranav K d4a348e17b
Add a benchmarking app for Blazor Wasm (#18015)
* Add a benchmarking app for Blazor Wasm
2020-01-14 11:10:52 -08:00
John Luo 32de399cda Update branding to 3.1.2 2020-01-14 01:27:55 -08:00
Pranav K 1e62df1a2d
Try self-contained 2020-01-13 17:05:01 -08:00
Pranav K dd524df6bb
Application started 2020-01-13 14:42:02 -08:00
Pranav K 17b1dc9841
Add a benchmarking app for Blazor Wasm 2020-01-13 14:42:02 -08:00
Pranav K 80a67874c6
Resolve merge conflicts 2020-01-10 10:43:25 -08:00
Pranav K 3fb171e282
Handle satellite assemblies in the Blazor build targets
* Pass the same closure of assemblies that is used by the SDK's linker to Blazor's linker and ResolveBlazorRuntimeDependencies task
* Quote the mono linker path

Fixes https://github.com/dotnet/aspnetcore/issues/17644
Fixes https://github.com/dotnet/aspnetcore/issues/17754
2020-01-10 10:03:02 -08:00
Steve Sanderson 2e2d0625e1 Write unlinked.output to disk 2020-01-10 16:31:34 +00:00
Steve Sanderson cb092258c3 Allow overwriting outputs with older inputs. Fixes #18192 2020-01-10 16:31:34 +00:00
Steve Sanderson a181fd5232
Link more assemblies (type granularity linking for real this time) (#18165) 2020-01-10 11:30:55 +00:00
Pranav K d4ada348fb
Use Blazor version for WASM templates (#18174) 2020-01-07 13:42:25 -08:00
Pranav K 66ecdab542
Ensure $(Configuration) is evaluated prior to using it (#18113)
Fixes https://github.com/aspnet/AspNetCore/issues/12779
2020-01-06 08:39:56 -08:00
Pranav K baf72c73c5 Avoid copying the shared fx in blazor-wasm 2020-01-03 15:05:53 -08:00
Pranav K 1c3ae1549e Add publish test for BlazorStandalone 2020-01-03 15:05:53 -08:00
Pranav K 62e2fb22e5
Use mono_bind_static_method for invoking JS methods (#17942)
* Use mono_bind_static_method for invoking JS methods
2019-12-18 12:18:18 -08:00
Pranav K b0568d5c28
Revive build installers step (#17914)
* Revive build installers step
2019-12-17 11:48:08 -08:00
Matt Mitchell e276c8174b Merged PR 4906: [release/3.1] Stabilize package versions
Stabilize package versions
2019-12-16 01:49:17 +00:00
DotNet Bot 35b9d76e41 Merged PR 4903: [internal/release/3.1] Update dependencies from 1 repositories
This pull request updates the following dependencies

[marker]: <> (Begin:facfaf30-1c25-4166-575d-08d76e1d56cb)
## From https://dev.azure.com/dnceng/internal/_git/aspnet-AspNetCore-Tooling
- **Build**: 20191214.11
- **Date Produced**: 12/15/2019 3:03 AM
- **Commit**: 07f16c89db55ab6f9f773cc3db6eb5a52908065e
- **Branch**: refs/heads/internal/release/3.1
- **Updates**:
  - **Microsoft.AspNetCore.Mvc.Razor.Extensions** -> 3.1.1
  - **Microsoft.AspNetCore.Razor.Language** -> 3.1.1
  - **Microsoft.CodeAnalysis.Razor** -> 3.1.1
  - **Microsoft.NET.Sdk.Razor** -> 3.1.1

[marker]: <> (End:facfaf30-1c25-4166-575d-08d76e1d56cb)
2019-12-16 00:02:50 +00: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 f53765fb45 Merge in 'release/3.1' changes 2019-12-14 21:53:33 +00:00
Doug Bunting e6af4bfe7e [release/3.1] Remove `grpc-nuget-dev` feed
- https://grpc.jfrog.io/ seems to be failing though https://status.jfrog.io/ says all is well
- feed is not needed because Grpc.AspNetCore v2.23.2 is available from NuGet.org
2019-12-14 13:52:29 -08: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
Javier Calvarro Nelson e4c0ec3ca6
[Blazor] Update branding for the next release (#17852) 2019-12-13 14:36:52 +01:00
Doug Bunting 409ead0b18
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-12-12 11:22:30 -08:00
Steve Sanderson 3a93704737
Support async main (#17673) 2019-12-12 15:05:12 +00: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
Pranav K 3fba107522
Fix typo in error message (#17741) 2019-12-10 11:30:13 -08:00