OP - if you can head over to event viewer and get the stacktrace that might help? Also, I hate to say this, turn it off and on again (VS), it can get itself in a state sometimes.
– Aug 20 '19 at 09:55
1
https://stackoverflow.com/questions/19920837/there-was-an-error-running-the-selected-code-generator-in-vs-2013-scaffolding multitude of different suggestions there. All seem to elude to the idea that it's not actually the new controller, it's a problem elsewhere with either platform mismatches or config/proj XML.
– Aug 20 '19 at 09:57
1
@JᴀʏMᴇᴇ nah, that didn't help either. anyways i created a fresh new project. couldn't solve that.
– ShiwaAug 20 '19 at 10:11
@Shiwa the only time I've had issues with the new controller dialogue it mentions scaffolding issues when I'm doing demos. As a result, I always create controllers by adding a new class to the folder which is essentially giving you an empty controller
– FabulousAug 20 '19 at 10:14