Commit Graph

2031 Commits

Author SHA1 Message Date
Nate McMaster 8ba0a89425
Upgrade BuildTools and include MPack in code signing (#2717) 2018-11-08 09:52:08 -08:00
Ajay Bhargav Baaskaran 913217f61a
Merge pull request #2713 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2018-11-07 18:20:47 -08:00
Ajay Bhargav Baaskaran 9749c90fc7
Merge branch 'release/2.2' into merge/release/2.1-to-release/2.2 2018-11-07 14:50:27 -08:00
Ajay Bhargav Baaskaran fd4572874e Increase timeout for msbuild processes and added better logging 2018-11-05 18:14:45 -08:00
Ryan Nowak 41fa3ff3eb 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.

(cherry picked from commit 9d314071dc)
2018-10-30 18:04:11 -07:00
Ajay Bhargav Baaskaran 8e62dbcae9 Change testing strategy for build server shutdown test 2018-10-30 13:20:33 -07:00
Ajay Bhargav Baaskaran 8674dd9236 Removed duplocate Id for a RazorDiagnostic 2018-10-29 11:25:29 -07:00
ASP.NET CI 25a895123e
Update dependencies.props
[auto-updated: dependencies]
2018-10-27 02:18:52 -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
Pranav K 2d6643bc85 Cleanup Microsoft.NET.Sdk.Razor package output
* Remove unnecessary \ incorrect package references
* Remove extraneous build outputs in the tasks project that weren't present when the tasks were in Razor.Design
2018-10-25 09:26:04 -07:00
N. Taylor Mullen 1eb86af726 Update Razor release/2.2 dependencies. 2018-10-19 12:08:16 -07:00
ASP.NET CI 95363758a7
Update package branding for 2.2 RTM 2018-10-16 12:48:18 -07:00
Nate McMaster 82276ece2f
Use the Microsoft400 code-signing cert for the Razor VSIX assembly 2018-10-04 14:50:26 -07:00
Ryan Nowak 5aad6c7b42 Revert "Update dependencies.props"
This reverts commit f463325e9a.

Temporarily reverting this to see if it unbreaks the build.
2018-10-01 13:00:44 -07:00
Ryan Nowak f425134ffe Fix #2265 - Port Blazor testing improvements
The Blazor test infrastructure made a copy of the code in Razor and then
added some more features. This change backports the features needed for
the style of test we're using in Blazor.

I updated the MVC integration tests to use the new style, but I think
there's limited value in trying to rev all of the old tests.

One feature in particular that I removed from the old infrastructure was
the automatic inference of imports based on the file system. This
feature was wierd and doesn't parallel how these features work in
actuality. It's easy and more natural to test imports in new style
tests.
2018-10-01 13:00:44 -07:00
ASP.NET CI f463325e9a Update dependencies.props
[auto-updated: dependencies]
2018-09-30 12:28:07 -07:00
Nate McMaster 864a17c9a5
automated: bulk infrastructure updates. Update bootstrapper scripts and remove unnecessary signing properties 2018-09-28 17:10:38 -07:00
Nate McMaster e4ebae107c
Fix the path to SignedPackageFile items and include the VSIX .dll in code signing 2018-09-26 15:19:28 -07:00
ASP.NET CI ecbaf35d2f Update dependencies.props
[auto-updated: dependencies]
2018-09-23 19:27:51 +00:00
Pranav K a898f98a7f Print an error when using Razor build with an older version of the Sdk 2018-09-20 13:14:06 -07:00
Pranav K f70df60435 Move RazorGenerate and RazorTagHelper tasks in to the Sdk
Loading multiple versions of a task assembly result results in MSBuild on .NET Core to fail.
Addressing this by moving the tasks in to the Sdk and renaming it. This should avoid
immediate issues for a 2.1 and 2.2 project co-existing and future proofs 2.2 and later.

Fixes https://github.com/aspnet/Razor/issues/2553
2018-09-19 10:09:56 -07:00
Pranav K 7144add4ad
Check for ITagHelper in tag helper feature provider (#2602)
Fixes #2482
2018-09-18 16:52:34 -07:00
Pranav K fc86cc3ca1 Allow Invoke \ InvokeAsync methods for a ViewComponent to be defined in base types
Fixes https://github.com/aspnet/Mvc/issues/8397
2018-09-18 13:38:48 -07:00
Ryan Nowak 060698a52f Update to use non-capturing timer 2018-09-17 11:08:06 -07:00
ASP.NET CI 2bf00ff9a6 Update dependencies.props
[auto-updated: dependencies]
2018-09-16 12:24:47 -07:00
Ben Adams 5e083c371b Don't capture asynclocals onto Timer 2018-09-13 17:28:30 -07:00
Ryan Nowak 1e8e541f65 Clean up timeout reporting
This was sometimes reporting a null when the timeout takes place. We
need to throw with a timeout for real
2018-09-13 15:40:37 -07:00
Ajay Bhargav Baaskaran f93f67a53a
Better logging to help debug test failure (#2576) 2018-09-10 14:17:53 -07:00
ASP.NET CI 51868b4dc0 Update dependencies.props
[auto-updated: dependencies]
2018-09-09 12:26:19 -07:00
N. Taylor Mullen 3a281b8f58 Allow TagHelpers to occur after unclosed C# blocks without assert failures.
- This scenario wasn't considered previously.

#2566
2018-09-05 17:22:17 -07:00
ASP.NET CI 45adbe5f7c
Update branding to 2.2.0-preview3 2018-09-05 16:35:54 -07:00
ASP.NET CI d1f2b5cfc4 Update dependencies.props
[auto-updated: dependencies]
2018-09-02 12:23:46 -07:00
N. Taylor Mullen 852ad8df87 Allow content to be written after caught exception from child TagHelper.
- The issue was that the `executeChildContentAsync` call was stopping the invocation of the `_endTagHelperWritingScope`. Therefore, we'd never finish the TagHelper content scope and all following content would be ignored.
- Added two tests to validate the new functionality.

#2561
2018-08-29 16:00:15 -07:00
Nate McMaster f703a288dd
Import restore sources into Microsoft.VisualStudio.RazorExtension.csproj 2018-08-21 18:29:40 -07:00
Nate McMaster 001fff0083
Allow building this repo with VS 15.x (#2551) 2018-08-21 15:59:02 -07:00
ASP.NET CI 982088acb3 Update package branding for 2.2.0-preview2 2018-08-21 13:33:52 -07:00
Ajay Bhargav Baaskaran 2db79f1764
Merge pull request #2546 from dotnet-maestro-bot/merge/release/2.1-to-release/2.2
[automated] Merge branch 'release/2.1' => 'release/2.2'
2018-08-17 13:16:08 -07:00
Pranav K d0c7d81336 Skip BuildIncremental_SimpleMvc_PersistsTargetInputFile on xplat
For some inexplicable reason timestamps returned as part of the test often show up
as being different resulting in test flakiness. We've manually verified that this
is not a product issue and builds are correctly incremental on xplat. See #2219
for past discussions.

Fixes https://github.com/aspnet/Razor/issues/2503
2018-08-17 10:52:25 -07:00
Marcin Burak 04e58d6ee4 Changed /* */ style comments to // style comments 2018-08-14 11:21:51 -07:00
Ryan Nowak 585e6cd3fe Introduces a 'formatter' for formatting the IR
The new Formatter is used in debugger display, to resolve #2264

The next iteration (assuming we like this) will be to replat our testing
baseline infrastructure on top of this, and then start sharing that with
Blazor - related to #2265.

I found when implementing debugger display that I was duplicating a lot
of details between testing and this.

I also want to convert the Blazor tests to use shared infrastructure.
Right now the Blazor tests use a modified version of the Razor
infrastructure that has different features.
2018-08-13 13:09:49 -07:00
ASP.NET CI 4b0a750692 Update dependencies.props
[auto-updated: dependencies]
2018-08-12 19:26:09 +00:00
Ajay Bhargav Baaskaran d097adee5f
Unblock VSTS linux builds (#2526)
* Unblock VSTS linux builds

* Updated yml
2018-08-08 10:48:16 -07:00
ASP.NET CI c7337c2d65 Update dependencies.props
[auto-updated: dependencies]
2018-08-06 20:48:01 +00:00
ASP.NET CI f8cadf93d1 Update dependencies.props
[auto-updated: dependencies]
2018-08-05 19:24:19 +00:00
Ajay Bhargav Baaskaran a4b91d6dce Flatten AggregateExceptions in rzc 2018-07-31 11:11:43 -07:00
Pranav K 3ff064cea3 Lock when reading \ writing process output
Fixes #2516
2018-07-30 16:21:42 -07:00
N. Taylor Mullen cb557cf771 Changed `GetDesiredIndentation` to be resilient to our SyntaxTree which occasionally has gaps.
- Added a test to cover the scenario.

#2489
2018-07-30 10:45:18 -07:00
ASP.NET CI fa02d34590 Update dependencies.props
[auto-updated: dependencies]
2018-07-29 12:23:23 -07:00
N. Taylor Mullen 38e145389e Fix BackgroundDocumentGenerator flaky tests.
- Some time spans were too aggressive for parsing a Razor file on a slow environment.
- Fixed an obvious race where we'd expect 0 pending notifications when it was possible to be in the process of clearing notifications.

#2506
2018-07-27 14:49:12 -07:00
Pranav K 676543b8c9 Skip BuildIncremental_SimpleMvc_PersistsTargetInputFile on xplat
For some inexplicable reason timestamps returned as part of the test often show up
as being different resulting in test flakiness. We've manually verified that this
is not a product issue and builds are correctly incremental on xplat. See #2219
for past discussions.

Fixes https://github.com/aspnet/Razor/issues/2503
2018-07-27 14:22:23 -07:00