This repository was archived by the owner on Dec 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
Razor runtime generates potentially conflicting using statements for TagHelper infrastructure. #580
Comments
You mean if they happen to have a type called |
Yup 😄 |
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Oct 28, 2015
- Updated `MvcRazorHost` to configure `Type` full names. - Updated code generation tests.
NTaylorMullen
added a commit
that referenced
this issue
Oct 28, 2015
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be full name based. #580
NTaylorMullen
added a commit
that referenced
this issue
Oct 29, 2015
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be full name based. #580
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Oct 29, 2015
- Updated `MvcRazorHost` to configure `Type` full names. - Updated code generation tests.
NTaylorMullen
added a commit
that referenced
this issue
Oct 29, 2015
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be `global::` full name based. #580
NTaylorMullen
added a commit
that referenced
this issue
Oct 29, 2015
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be `global::` full name based. #580
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Oct 29, 2015
- Updated `MvcRazorHost` to configure `Type` full names. - Updated code generation tests.
NTaylorMullen
added a commit
that referenced
this issue
Oct 29, 2015
- The using statements had a chance to conflict with user code. Removed them and changed the default configured type names to be `global::` full name based. - Updated test file `TagHelperDescriptor.TypeName`s to have namespaces to make them easier to read. #580
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Oct 29, 2015
- Updated `MvcRazorHost` to configure `Type` full names. - Updated code generation tests.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Today a Razor page will generate the following boiler plate infrastructure at runtime:
Which then requires the following two using statements:
This can be troublesome when writing your Razor page's and then magically having them explode if you have a conflicting type in the page at runtime. We should transition the infrastructure pieces to use fully qualified names.
The text was updated successfully, but these errors were encountered: