When I have partials views that start with underscore and full view that is the same name, but without underscore. I.e. "_Details.cshtml" and "Details.cshtml", the classes generated are with the same name: Details
and therefore throwing compile-time exception:
```
Partial declarations of '....Details' must not specify different base classes ..\Details.generated.cs
```
![Image](http://i.imgur.com/ZZleIgO.png)
If I rename generated classes for partial views to include underscore in their name, issue goes away and I can compile.
But I need to do that on every file regeneration, which is slightly annoying. Anything I can do to fix this, without partial views renaming?
Comments: Probably the same base issue as in [this one](https://razorgenerator.codeplex.com/workitem/38), where the use of 'pretty names' is more likely to cause conflicts.
and therefore throwing compile-time exception:
```
Partial declarations of '....Details' must not specify different base classes ..\Details.generated.cs
```
![Image](http://i.imgur.com/ZZleIgO.png)
If I rename generated classes for partial views to include underscore in their name, issue goes away and I can compile.
But I need to do that on every file regeneration, which is slightly annoying. Anything I can do to fix this, without partial views renaming?
Comments: Probably the same base issue as in [this one](https://razorgenerator.codeplex.com/workitem/38), where the use of 'pretty names' is more likely to cause conflicts.