Skip to content

Using 1.x tag helper in net core 3 #14378

Closed
@Muchiachio

Description

@Muchiachio

Describe the bug

While upgrading our applications to net core 3 we noticed that none of our tag helper libraries written in core 1.x work on net core 3. Updating them to asp net core 2.2 version seems to fix the problem. Did something changing in how tag helpers are resolved or is this a bug?

To Reproduce

  1. Checkout repro
  2. Run master branch
  3. Email tag helper is not being run
  4. Checkout and run working branch which uses 2.2 packages
  5. Email tag helper is run

Expected behavior

1.x version tag helpers referenced from net core 3 are discovered and run

Additional context

.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100\

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  3.0.100 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions