Commit Graph

296 Commits

Author SHA1 Message Date
Ryan Nowak 32c2a80810 Merge pull request dotnet/aspnetcore-tooling#1213 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from e140c0a3c8
2019-10-07 14:23:35 -07:00
Ryan Nowak dcc4084af8 Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1\n\nCommit migrated from f9ac723b29 2019-10-07 12:10:26 -07:00
Doug Bunting 777c7153a3 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from 2fa0cbe4a9 2019-10-05 22:03:05 -07:00
Ryan Nowak f19dc08305 Fix dotnet/aspnetcore-tooling#10498 - void elements with directive attributes
This change updates tag helper binding logic to allow directive
attributes (when they appear alone) to bind to any kind of tag
(start/end, void, self-closing).

Tag Helpers don't have a semantic that allows this level of flexibility
- using StartTagOnly as suggested in the issue means that this would
*only* work for void elements.

There's no change to any of the directive attribute implementations
because this is a global change in the tag helper infra.
\n\nCommit migrated from fd72afc1c6
2019-10-04 13:46:01 -07:00
wtgodbe 371f2c246b Switch to embedded package icon
\n\nCommit migrated from fba50fdcd4
2019-10-02 12:56:34 -07:00
wtgodbe 3ce7953fec One more missed convention location
\n\nCommit migrated from 1e6b4887c4
2019-10-02 12:33:27 -07:00
wtgodbe 7a61205024 Add workaround to one more project
\n\nCommit migrated from 381138fc72
2019-10-02 12:21:01 -07:00
wtgodbe 1d789575ae Embedded resource convention workaround
\n\nCommit migrated from 6e6faf5aaa
2019-10-02 12:17:01 -07:00
Ajay Bhargav Baaskaran ef8830ffec Update baselines to unbreak tests (dotnet/aspnetcore-tooling#1184)
\n\nCommit migrated from 0d1e0d6eba
2019-10-01 13:59:41 -07:00
N. Taylor Mullen 1e9c0f01af Add Blazor partial class support in Visual Studio. (dotnet/aspnetcore-tooling#1182)
- No longer mark declaration files as single file generators. Prior to this we relied on SingleFileGenerators to dynamically update the declaration files when .razor files changed. However, to make partial classes work we can no longer depend on declaration files being available because their existence causes us to have to mangle class names for opened documents; otherwise you get two files with same name and result in ambiguous definition errors.
- Stopped including declaration files as part of the users compilation. This was intended to make the design time experience operate more similar to how Blazor apps function at runtime (directly access each component instead of their declarations). We now rely on the background code generation effort built from the find all references work to supply users with strongly typed component names.
- Stop mangling class names for Visual Studio. Razor.VSCode has its own set of configurations which i'm not addressing as part of this changeset.
- Start generating components with the partial modifier to their class name to enable partial class support.
- Updated existing tests to expect partial modifier.

aspnet/AspNetCoredotnet/aspnetcore-tooling#5487\n\nCommit migrated from 73858cdd37
2019-10-01 13:59:33 -07:00
Ajay Bhargav Baaskaran 3dcc779659 Prefer child content over a matching component (dotnet/aspnetcore-tooling#1180)
* Prefer child content over a matching component

* feedback
\n\nCommit migrated from 9c83a09944
2019-09-27 14:27:10 -07:00
Ajay Bhargav Baaskaran 39d8e322d1 Fix misc attribute content sometimes getting ignored (dotnet/aspnetcore-tooling#1176)
\n\nCommit migrated from 8108f50021
2019-09-27 14:22:21 -07:00
Ryan Brandenburg 287b183189 Responding to Pranav's feedback
\n\nCommit migrated from 353a27828e
2019-09-26 13:58:03 -07:00
Ryan Brandenburg eda9503177 RazorSDK doesn't overwrite ErrorLog
\n\nCommit migrated from aed7bc8ec6
2019-09-26 13:58:03 -07:00
William Godbe b8575a5098 Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1\n\nCommit migrated from 68f7376ef6 2019-09-26 10:18:00 -07:00
Doug Bunting 21ba5d0a25 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from a2ffe16eed 2019-09-25 15:42:12 -07:00
Ajay Bhargav Baaskaran c05fca5137 Remove 1.x tests (dotnet/aspnetcore-tooling#1169)
\n\nCommit migrated from bd71bcf87b
2019-09-25 10:50:13 -07:00
dotnet-maestro-bot b30d6fda91 Capture process dumps for child dotnet processes (dotnet/aspnetcore-tooling#1170) (dotnet/aspnetcore-tooling#1171)
\n\nCommit migrated from 00e5f3e4d1
2019-09-25 19:10:33 +02:00
Javier Calvarro Nelson f6c5aa73c1 Capture process dumps for child dotnet processes (dotnet/aspnetcore-tooling#1170)
\n\nCommit migrated from e283d0be15
2019-09-25 18:11:35 +02:00
Pranav K b553f8a08d Remove empty lines
\n\nCommit migrated from f925f138ef
2019-09-24 18:13:26 -07:00
Pranav K 5ac56229e1 Fixup build errors
\n\nCommit migrated from 83b434dfc3
2019-09-24 18:12:16 -07:00
wtgodbe bc9f13b3ef Merge branches
\n\nCommit migrated from 973448284c
2019-09-24 13:20:39 -07:00
wtgodbe fd7b5b6604 Switch to embedded PackageIcon
\n\nCommit migrated from 2aee3e23bb
2019-09-24 13:19:08 -07:00
N. Taylor Mullen 31dbdaec1f Merge branch 'release/3.1'
\n\nCommit migrated from 3eeb3ff068
2019-09-20 15:21:07 -07:00
N. Taylor Mullen d0d09a2c61 Merge branch 'nimullen/13494.prereq' into release/3.1
\n\nCommit migrated from e980416506
2019-09-20 11:46:12 -07:00
N. Taylor Mullen 5bb36d86f1 Integrate Razor VSCode extension functional tests into src/Razor.
- Added the `.vscode-test` to `.gitignore` because that's the VSCode folder that gets created when dynamically downloading VSCode for CI purposes.
- Migrated functional tests to use the non-deprecated VSCode functional testing APIs. This involved creating a runTest file to control downloading VSCode and passing in appropriate parameters as well as creating an index that discovers tests that should be run.
- Changed functional tests to operate on the existing Razor testapps (instead of the old ones).
- Updated the "default" completion tests to be latest Razor/Blazor.
- Added VSCode launch configurations to enable easy debugging via F5.

aspnet/AspNetCoredotnet/aspnetcore-tooling#13494
\n\nCommit migrated from 66e4e8a169
2019-09-20 11:44:08 -07:00
N. Taylor Mullen 66f2aac299 Integrate Razor LanguageServer (without plugin) into src/Razor.
- Added tests for both the language server and the common language server projects.
- Updated publish MSBuild bits to publish to `artifacts/LanguageServer/$(Configuration)/TFM`
- Updated the language server to be netcoreapp3.0

aspnet/AspNetCoredotnet/aspnetcore-tooling#13494
\n\nCommit migrated from 984c638b37
2019-09-20 11:44:08 -07:00
Javier Calvarro Nelson 228f8f878a Merge pull request dotnet/aspnetcore-tooling#1154 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 04146ad860
2019-09-20 11:36:32 +02:00
Javier Calvarro Nelson dfbb36ee10 [Infrastructure] Fix invalid variable names
ProcDumpPath -> ProcDumpToolPath
_BuildConfiguration -> _BuildConfig\n\nCommit migrated from f283e4a7c0
2019-09-20 11:09:22 +02:00
Doug Bunting 8d0881794a Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from d65ede7ef1 2019-09-19 12:02:36 -07:00
Javier Calvarro Nelson bcd542a1bb [Infrastructure] Install procdump and capture dumps on build hangs (dotnet/aspnetcore-tooling#1146)
* Captures process dumps when the build hangs.
* Captures process dumps when a child process hangs inside a test.
\n\nCommit migrated from a9b7e24791
2019-09-19 18:36:02 +02:00
John Luo 19b84ed7a4 Merge branch 'release/3.1'
\n\nCommit migrated from 7ff56a9e0d
2019-09-18 14:03:50 -07:00
John Luo a2081d584f Fix razor tool assembly path (dotnet/aspnetcore-tooling#1138)
\n\nCommit migrated from 88cd749f38
2019-09-15 08:05:47 -07:00
Doug Bunting 51ec2760aa Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1\n\nCommit migrated from 683059f2cb 2019-09-14 17:12:43 -07:00
dotnet-maestro[bot] 901f8aa76d [release/3.0] Update dependencies from aspnet/Extensions (dotnet/aspnetcore-tooling#1132)
* Update dependencies from https://github.com/aspnet/Extensions build 20190913.2

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-rc2.19463.2
- Microsoft.AspNetCore.Testing - 3.0.0-rc2.19463.2
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-rc2.19463.2
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-rc2.19463.2
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-rc2.19463.2
- Microsoft.Extensions.Logging - 3.0.0-rc2.19463.2

Dependency coherency updates

- System.Diagnostics.DiagnosticSource - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0 (parent: Microsoft.Extensions.Logging)
- System.Reflection.Metadata - 1.7.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Encodings.Web - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.Platforms - 3.0.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)

* Update dependencies from https://github.com/aspnet/Extensions build 20190913.3

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-rc2.19463.3
- Microsoft.AspNetCore.Testing - 3.0.0-rc2.19463.3
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-rc2.19463.3
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-rc2.19463.3
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-rc2.19463.3
- Microsoft.Extensions.Logging - 3.0.0

Dependency coherency updates

- System.Diagnostics.DiagnosticSource - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0 (parent: Microsoft.Extensions.Logging)
- System.Reflection.Metadata - 1.7.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Encodings.Web - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.Platforms - 3.0.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)

* Update dependencies from https://github.com/aspnet/Extensions build 20190913.5

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-rc2.19463.5
- Microsoft.AspNetCore.Testing - 3.0.0-rc2.19463.5
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-rc2.19463.5
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-rc2.19463.5
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-rc2.19463.5
- Microsoft.Extensions.Logging - 3.0.0

Dependency coherency updates

- System.Diagnostics.DiagnosticSource - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0 (parent: Microsoft.Extensions.Logging)
- System.Reflection.Metadata - 1.7.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Encodings.Web - 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 3.0.0 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.Platforms - 3.0.0 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Net.Compilers.Toolset - 3.3.1-beta4-19462-11 (parent: Microsoft.Extensions.Logging)

* Restore test projects prior to running SDK tests (dotnet/aspnetcore-tooling#1078)

* Fix 3.0 tests
\n\nCommit migrated from eaf897c542
2019-09-14 19:38:15 +00:00
John Luo 1606d9b0d3 Support netcoreapp3.1 TFM (dotnet/aspnetcore-tooling#1122)
* Support netcoreapp3.1 TFM

* Update branding to preview1

* Skip failing 1.1 test
\n\nCommit migrated from 133b252f09
2019-09-12 22:02:18 -07:00
Doug Bunting a163dbe04f Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from 9aba77ea68 2019-09-11 10:21:21 -07:00
Ajay Bhargav Baaskaran 61726ae9df Restore test projects prior to running SDK tests (dotnet/aspnetcore-tooling#1078)
\n\nCommit migrated from e6bb507271
2019-09-10 17:45:59 -07:00
William Godbe bfc93b0876 Merge pull request dotnet/aspnetcore-tooling#995 from dotnet-maestro-bot/merge/release/3.0-to-master
[automated] Merge branch 'release/3.0' => 'master'\n\nCommit migrated from 3ed4e87179
2019-08-22 09:47:17 -07:00
Pranav K ce19e27b00 Retarget to netcoreapp5.0 (dotnet/aspnetcore-tooling#996)
\n\nCommit migrated from 5908616812
2019-08-22 08:37:01 -07:00
John Luo d5c2d17c11 Merge pull request dotnet/aspnetcore-tooling#983 from aspnet/johluo/sdk
Update SDK to preview 8\n\nCommit migrated from 62d5ccbd6a
2019-08-21 15:42:29 -07:00
= 5f7c8d9d74 Apply fix for NuGet warning
\n\nCommit migrated from fb3187b34f
2019-08-21 13:30:21 -07:00
Kevin Pilch ad0cf9c6e7 Merge pull request dotnet/aspnetcore-tooling#974 from nguerrera/link-views
Pass views assembly to linker\n\nCommit migrated from ddb72ebdb1
2019-08-20 13:58:59 -07:00
Ryan Nowak cb35a0aa40 Reaction to API review changes
This change updates the snapshot of components APIs used in compiler
tests and updates the tests to react tot hose changes.
\n\nCommit migrated from c8cc588bca
2019-08-20 08:20:36 -07:00
Nick Guerrera e18cc9a776 Pass views assembly to linker
1. Re-schedule target to run before linker
2. Add additional linker input item
\n\nCommit migrated from 88b5f29a63
2019-08-18 23:29:50 -07:00
Ajay Bhargav Baaskaran 2873952822 Set LangVersion the same way as roslyn (dotnet/aspnetcore-tooling#979)
* Set LangVersion the same way as roslyn

* Update commit link
\n\nCommit migrated from b82d4f9583
2019-08-15 15:27:12 -07:00
N. Taylor Mullen f3536ca403 Revert "Fix: dotnet/aspnetcore-tooling#11197 automatic backing-field for @ref (dotnet/aspnetcore-tooling#707)"
This reverts commit dadf9fa.
\n\nCommit migrated from afddfcb49e
2019-08-15 14:35:26 -07:00
N. Taylor Mullen 9584c7e34f Revert "Fix a bug with ref and declaration phase"
This reverts commit dotnet/aspnetcore-tooling@09b50151ef.

# Conflicts:
#	src/Razor/test/RazorLanguage.Test/IntegrationTests/ComponentDeclarationIntegrationTest.cs
\n\nCommit migrated from c0e934ed7c
2019-08-15 14:35:26 -07:00
dotnet-maestro[bot] 781743fa30 [release/3.0] Update dependencies from aspnet/Extensions (dotnet/aspnetcore-tooling#975)
* Update dependencies from https://github.com/aspnet/Extensions build 20190815.2

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview9.19415.2
- Microsoft.AspNetCore.Testing - 3.0.0-preview9.19415.2
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.Logging - 3.0.0-preview9.19415.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.0-preview9-19414-17 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview9-19414-17 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 3.0.0-preview9-19414-17 (parent: Microsoft.Extensions.Logging)
- Microsoft.Net.Compilers.Toolset - 3.3.0-beta3-19415-01 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/aspnet/Extensions build 20190814.4

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview9.19414.4
- Microsoft.AspNetCore.Testing - 3.0.0-preview9.19414.4
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview9.19414.4
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview9.19414.4
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-preview9.19414.4
- Microsoft.Extensions.Logging - 3.0.0-preview9.19414.4

* Update dependencies from https://github.com/aspnet/Extensions build 20190815.2

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview9.19415.2
- Microsoft.AspNetCore.Testing - 3.0.0-preview9.19415.2
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.0.0-preview9.19415.2
- Microsoft.Extensions.Logging - 3.0.0-preview9.19415.2

* React to namespace removal
\n\nCommit migrated from 543a1ae2a3
2019-08-15 20:12:47 +00:00
Pranav K 778246c674 Add tooling support for TypeScript files to RazorSDK (dotnet/aspnetcore-tooling#971)
Fixes https://github.com/aspnet/AspNetCore/issues/12840\n\nCommit migrated from 304cafcffe
2019-08-14 14:22:46 -07:00