c1DataSource Add Code Generation Error WinForm

Posted by: brandonh on 28 May 2018, 12:32 pm EST

  • Posted 28 May 2018, 12:32 pm EST

    When I try to delete my .tt files and run the ComponentOne EF 6.x DbContext Generator I get an error saying "The preinstalled packages have a reference to a missing Registry value. Could not find a Registry key with name “EntityFrameworkVisualStudio14Tools” under 'SOFTWARE/NuGet/Repository.

    I am running the most current version of all modules and I have insured that I didn’t accidentally install anything from the WPF Folder.

  • Posted 29 May 2018, 2:48 am EST

    Hi,

    This is very difficult to provide a solution for an issue without replicating the same.

    Can you please share a small sample application with us for replicating the same issue? So that we can assist you further accordingly.

    However, you can try the suggestion as per link below:

    https://tutel.me/c/programming/questions/42436769/package+installation+error++entity+framework

    Thanks,

    Singh

  • Posted 30 May 2018, 2:21 pm EST

    I ended up going into the registry \HKEY_CURRENT_USER\Software\NuGet\Repository and making a new key called EntityFrameworkVisualStudio14Tools and set the data value to 1. The generator works perfectly now. I don’t understand how this isn’t easily solved by C1 and I wasted my entire weekend googling for an answer.

  • Posted 31 May 2018, 1:15 am EST

    Hi,

    Please note, this is related to MS Visual Studio not C1. We cannot add a registry key which is not related to ComponentOne controls/componets.

    Hope, it clarifies for you.

    Thanks,

    Singh

  • Posted 31 May 2018, 8:57 am EST

    Ya, I understand that. I’m just wondering if this has been happening to other users or it’s just my luck. It should be added to documentation in case it starts happening to other people.

  • Posted 31 May 2018, 11:29 pm EST

    Hi,

    I have shared your your suggestion to the docs team.

    This may be added in the future if found feasible.

    Thanks,

    Singh

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels