bilal-fazlani/tracker-enabled-dbcontext

Unable to add new scaffolded item after configuring tracker

jwils-uofdn opened this issue · 0 comments

After resetting my data context to inherit from TrackerContext:

public partial class AccountingAdminEntities : TrackerContext

When I attempt to add a new MVC scaffolded item (Models->Add->New Scaffolded Item...) that uses that data context, I get the following error:

"There was an error running the selected code generator: ‘Exception has been thrown by the target of an invocation.’"

If I reset TrackerContext back to DBContext, the error goes away. Is there a better solution to this problem than temporarily removing the tracker configuration changes?