Commit Graph

37325 Commits

Author SHA1 Message Date
Doug Bunting 37e562902f Support single `IDocumentProvider` method signature
- #8593
- also find `IDocumentProvider` using a more-laborious process
  - `Type.GetType(string)` requires an assembly-qualified name and we don't know the assembly
- default method name now `GenerateAsync`
- only supported signature is `public Task GenerateAsync(string, TextWriter)`

also:
- handle more error cases in the tool's inside man
- avoid an empty document file if `IDocumentProvider.GenerateAsync(...)` fails
- unwrap an `AggregateException`

nits:
- remove duplicate comments
- change `GetDocumentCommandWorker.TryProcess(...)` to return `false` on failure
  - minor because return value is currently ignored
- rename `GetDocumentCommandContext.Output` -> `OutputPath`
- reflect recent change to `dotnet-getdocument`'s `Resources.resx` file in its designer file
2018-10-27 15:27:33 -07:00
ASP.NET CI 728ad474a9 Updating BuildTools from 2.2.0-preview2-20181026.4 to 2.2.0-preview2-20181027.2
[auto-updated: buildtools]
2018-10-27 12:04:25 -07:00
ASP.NET CI f8a49f8a13 Updating submodule(s)
DotNetTools => 774a64bbed
Razor => 7177a7311f

[auto-updated: submodules]
2018-10-27 12:04:04 -07:00
Nate McMaster 373e67896a
Fix the path to RPM template and config files 2018-10-27 03:02:45 -07:00
ASP.NET CI 09f8473d29 Updating submodule(s)
DotNetTools => bda375e411
Razor => 25a895123e

[auto-updated: submodules]
2018-10-27 02:36:10 -07:00
Nate McMaster 7177a7311f
Merge branch 'release/2.2' 2018-10-27 02:31:26 -07:00
ASP.NET CI e339aa6adf Updating submodule(s)
DotNetTools => eba014d534

[auto-updated: submodules]
2018-10-27 09:19:32 +00:00
ASP.NET CI 25a895123e
Update dependencies.props
[auto-updated: dependencies]
2018-10-27 02:18:52 -07:00
Nate McMaster 774a64bbed
Merge branch 'release/2.2' 2018-10-27 02:14:36 -07:00
Nate McMaster bda375e411
Merge branch 'release/2.1' into release/2.2 2018-10-27 02:14:28 -07:00
Nate McMaster eba014d534
Add additional signing configuration for external assemblies in the tools packages 2018-10-27 02:06:55 -07:00
Nate McMaster 89377c5ef3
Merge branch 'release/2.2' 2018-10-27 01:51:31 -07:00
Nate McMaster c6130df988
Upgrade dependencies and build tools 2018-10-27 01:47:18 -07:00
Nate McMaster 3a0cd0593d
Remove unnecessary check for all shared framework archives when generating .deb and .rpm installers 2018-10-27 01:38:52 -07:00
ASP.NET CI 40ae5a92b0 Updating submodule(s)
DotNetTools => d957ac9da0

[auto-updated: submodules]
2018-10-27 01:37:52 -07:00
Nate McMaster 3c0f4ef14f
Merge branch 'release/2.2' 2018-10-27 01:31:58 -07:00
Nate McMaster c8b1d2cfe5
Merge branch 'release/2.1' into release/2.2 2018-10-27 01:31:12 -07:00
Nate McMaster d957ac9da0
Remove Microsoft.DotNet.GlobalTools.Sdk, upgrade BuildTools, and change VSIX signing cert name 2018-10-27 01:28:14 -07:00
ASP.NET CI c159cba529 Updating BuildTools from 2.1.3-rtm-15832 to 2.1.3-rtm-15833
[auto-updated: buildtools]
2018-10-27 01:16:22 -07:00
Seyyed davud hosseiny e8b9dc52ba
Fix NullPointerException when unboxing null to int.
Change int to Integer to allow use null as code.
2018-10-27 10:48:14 +03:30
ASP.NET CI ff0e4f5d9a Updating BuildTools from 3.0.0-alpha1-20181026.2 to 3.0.0-alpha1-20181026.5
[auto-updated: buildtools]
2018-10-27 07:07:52 +00:00
ASP.NET CI 5f2162fd06 Updating submodule(s)
CORS => f5a0237486
Mvc => 1a093686e6
Razor => e7edf237b5
SignalR => 86f4e80ecf
Templating => d2af13517b

[auto-updated: submodules]
2018-10-27 07:07:44 +00:00
ASP.NET CI d9f66a68b7 Updating BuildTools from 2.2.0-preview2-20181026.1 to 2.2.0-preview2-20181026.4
[auto-updated: buildtools]
2018-10-27 00:04:30 -07:00
ASP.NET CI 908653d4d3 Updating submodule(s)
Identity => 6c45bfc0dc
Razor => 6ecf5374c6
SignalR => e1b602a7c5

[auto-updated: submodules]
2018-10-27 00:04:22 -07:00
Nate McMaster e7edf237b5
Merge pull request #2679 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 23:53:59 -07:00
Nate McMaster 6ecf5374c6
Use 3PartySHA2 instead of 3PartyDual for code-signing Newtonsoft.Json.dll (#2678) 2018-10-26 23:40:22 -07:00
Ryan Nowak 9d314071dc Add Razor.Workspaces to non-shipping in NPV
Putting this package where it belongs in the NPV list. This package only
ships with our other tooling-only packages.
2018-10-26 17:39:14 -07:00
James Newton-King 1a093686e6
Merge pull request #8653 from aspnet/jamesnk/master
Merge release/2.2
2018-10-27 12:31:37 +13:00
Nate McMaster 0ba800841b
Ensure build output is still present when crossgen is disabled
* Split targets for copying outputs and preparing the crossgen tool
* Fix version override check by only looking at the 'pinned' section
2018-10-26 16:00:48 -07:00
James Newton-King 1c61f3538e
Merge release/2.2 2018-10-27 11:56:04 +13:00
Hao Kung 6c45bfc0dc
Merge 2.1 -> 2.2 (#2030) 2018-10-26 14:52:03 -07:00
ASP.NET CI 380dc1bc3c Updating BuildTools from 2.1.3-rtm-15830 to 2.1.3-rtm-15832
[auto-updated: buildtools]
2018-10-26 14:15:31 -07:00
ASP.NET CI 06fa6d4925 Updating submodule(s)
Scaffolding => 840531e6a03fab451c1efb83098ea4d724a5d03d
Templating => 6bafc157e7

[auto-updated: submodules]
2018-10-26 14:15:27 -07:00
Nate McMaster 546e746c9f
Remove identity service packages from artifacts.props (#3732) 2018-10-26 14:07:40 -07:00
Nate McMaster fa3cfd08eb
Remove IdentityService (#2028)
As a part of preparing this repo for merging into aspnet/AspNetCore, this code is being removed as it is currently not in a "shipping" state for 2.1.
2018-10-26 14:05:44 -07:00
Mikael Mengistu 86f4e80ecf
Merge pull request #3214 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 13:55:51 -07:00
Nate McMaster d2af13517b
Merge branch 'release/2.2' 2018-10-26 13:39:01 -07:00
Mikael Mengistu e1b602a7c5
Remove BiFunction Ref (#3213) 2018-10-26 13:38:35 -07:00
ASP.NET CI a5d88b0ca2 Updating BuildTools from 2.2.0-preview2-20181024.5 to 2.2.0-preview2-20181026.1
[auto-updated: buildtools]
2018-10-26 13:35:09 -07:00
ASP.NET CI 1353fdb5f8 Updating submodule(s)
AzureIntegration => f58d3d4e94
CORS => a74235c7ec
EntityFrameworkCore => f161d001032c11f4a71af64ba87fc7c233b92093
Identity => 95bc251848
KestrelHttpServer => 395b681348
Mvc => 6bb292cfcc
Scaffolding => 629bb9963377eb9e915013bd8b2f5c724833d82a
SignalR => 2ad1996220
Templating => a504c40165

[auto-updated: submodules]
2018-10-26 13:35:01 -07:00
Mikael Mengistu 64222fa735
Merge pull request #3212 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-10-26 12:56:44 -07:00
Nate McMaster a504c40165
Merge branch 'release/2.1' into release/2.2 2018-10-26 12:30:06 -07:00
Nate McMaster ba67b04d9d
Ensure IsTestProject=false in Microsoft.AspNetCore.Identity.Specification.Tests.csproj
This isn't really a test project. It's a class library which contains testing compontents. Because 'xunit' is referenced, IsTestProject=true, which
messes up some of the build logic we have for handling code signing and test runners
2018-10-26 12:26:16 -07:00
Nate McMaster e0c575000f
Ensure MicrosoftNETCoreAppPackageVersion is always defined 2018-10-26 12:22:37 -07:00
Pranav K ae50cd619f
Merge pull request #8651 from aspnet/prkrishn/master
Merge pull request #8641 from dotnet-maestro-bot/merge/release/2.2-to…
2018-10-26 12:15:34 -07:00
Pranav K f5a0237486
Merge pull request #197 from aspnet/feature/w-m
Feature/w m
2018-10-26 12:15:21 -07:00
Nate McMaster b566e87f27
Remove reference to deleted target 'PreinstallBundledPackages' 2018-10-26 12:07:00 -07:00
ASP.NET CI 311ff231dd Updating BuildTools from 3.0.0-alpha1-20181024.6 to 3.0.0-alpha1-20181026.2
[auto-updated: buildtools]
2018-10-26 12:04:27 -07:00
ASP.NET CI de50008bd8 Updating submodule(s)
AzureIntegration => de39065c3d
EntityFrameworkCore => 2f75cbafe06907f9da692c586bb664376dcd5cde
Identity => 2ab58c47f7
KestrelHttpServer => b2c65bd346
Logging => 03970f7104af079bcf361009102bdb3249874e25

[auto-updated: submodules]
2018-10-26 12:04:18 -07:00
James Newton-King 6bb292cfcc
Add test for metadata precedence (#8642) 2018-10-27 07:59:15 +13:00