Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Precompilation + TagHelpers in different project do not recompile changed TagHelpers. #2305

Closed
NTaylorMullen opened this issue Mar 31, 2015 · 1 comment
Assignees
Milestone

Comments

@NTaylorMullen
Copy link
Contributor

If you have TagHelpers in another project and you're @addTagHelpering them into your own, if using precompilation changes are not reflected in the runtime code.

Repro:
TagHelper in another project:

public class FooTagHelper : TagHelper
{
    public string Bar { get; set; }
}
<foo bar="true" />

Change FooTagHelper's Bar property to be a bool. Razor page doesn't pick up on the modified TagHelper even when closing/reopening file. An error occurs. In the case that the tooling is smart enough to not show the error and let you build, runtime fails.

@danroth27 danroth27 added this to the 6.0.0-beta5 milestone Apr 1, 2015
@danroth27 danroth27 modified the milestones: 6.0.0-beta5, 6.0.0-beta6 May 18, 2015
@Eilon Eilon modified the milestones: 6.0.0-beta7, 6.0.0-beta6 Jun 30, 2015
@Eilon Eilon assigned pranavkm and unassigned NTaylorMullen Aug 12, 2015
@Eilon Eilon modified the milestones: 6.0.0-beta7, 6.0.0-beta8 Aug 14, 2015
@pranavkm
Copy link
Contributor

Addressed as part of 2e32ffc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants