About 157,000 results
Open links in new tab
  1. There was an error running the selected code generator:

    Apr 27, 2020 · Relating to this, when I had the error, I found that Microsoft.EntityFrameworkCore.SqlServer had updated itself to 5.0.16 when the related …

  2. c# - Error: "There was an error running the selected code …

    Apr 12, 2022 · This set my AspNetCore version to 2.1.5 and resolved my "Package Restore Failed" error, but then led to another error, "NETCore version 2.1.5 not found". Apparently the …

  3. There was an error running the selected code generator: 'Object ...

    Aug 24, 2016 · I have tried all the solution like repairing the VS 2013 but no use. when you create a controller by right clicking on the Controller folder and you add the controller, then you right …

  4. there was an error running the selected code generator in .net6

    Apr 5, 2022 · The code generator seems to fail when dealing with context class defined outside the project where code generation has been initiated. After thorough investigation I found out …

  5. Error running the selected code generator in Visual Studio

    Apr 17, 2022 · It looks like scaffolding the items installing the older version of Microsoft.EntityFrameworkCore.SqlServer or Microsoft.EntityFrameworkCore then your project …

  6. c# - "There was an error running the selected code generator" in …

    Nov 12, 2013 · Problem was with a corrupted web.config and package directory.. I created the new project, and copied my code files over to the new working project, I later went back and …

  7. Primary key not found when scaffolding controller in MVC core

    This answer make two suggestions on the error, and both are already mentioned in the OP (see comment from @sicKo mentioning this as well), So I do not see, how this makes a good …

  8. How can I resolve Error Running the Selected Code Generator …

    Jul 17, 2023 · I have looked at all the questions about this issue and cannot seem to resolve it. Visual Studio 2022. .Net 6.0.15. Blazor. I am trying to scaffold identity to one of my projects …

  9. There was an error running the selected code generator: 'Package ...

    Sep 18, 2019 · I had the same issue. The problem was the versions of various NuGet packages (see screenshot). My problem was with an existing project, so I created a new project and did …

  10. Visual Studio error: There was an error running the selected code …

    Feb 10, 2021 · I had the same problem. What worked for me was using the terminal to create the scaffold. Click "view" then "Terminal"

Refresh