-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Generated class for Razor Pages shows up in VS Solution Explorer when the CSHTML file is open in the editor #5957
Comments
Should we just slap an editorbrowsable.never on this? |
Worth trying. Is that how generated files are usually suppressed? |
@DamianEdwards does this become a good thing if the names this generates aren't horrible? |
Should the user even know that there's this magical class that's generated? I didn't think the concern was how pretty it was. BTW perhaps https://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.compilergeneratedattribute(v=vs.110).aspx would make more sense as the attribute to use? (Assuming it does what we want.) |
When implementing this, please make sure that generated code will be marked so it can be skipped by roslyn analyzers. Another alternative to |
Load Balancing to @NTaylorMullen - let's try |
This issue was moved to aspnet/Razor#1237 |
The text was updated successfully, but these errors were encountered: