Base solution for your next web application
Open Closed

ASP.NET ZERO Power Tools not working #12309


User avatar
0
Prasanthtp created

Hi I have downloaded power tools from the Visual Studio marketplace. when I try to add a new entity, it gives me the following error. My solution is file is located in C:\Projects\ASPZERO
I use Windows


11 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @Prasanthtp,

    Does your solution folder contain the \AspNetZeroRadTool folder?

  • User Avatar
    0
    Prasanthtp created

    Yes. I can see the folder

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @Prasanthtp,

    Does it occur on new projects that you download from aspnetzero website? When I tested it myself, I did not find any errors.

  • User Avatar
    0
    Prasanthtp created

    Hi

    Yes. I have downloaded v14.0.0. I am using Visual Studio Community 2022 (v17.12).

    I opened .web solution and running visual studio as administrator

    I have also noticed after adding a new property it is not visible in the properties tab

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Could you share this log file?

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @Prasanthtp,

    Go to the AspNetZeroRadTool\config.json

    Can you check if it looks like this? "EntityFrameWorkProjectFolder": "{{Namespace_Here}}.EntityFrameworkCore",

  • User Avatar
    0
    Prasanthtp created

    See the screenshot below

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @Prasanthtp,

    I think it is related to the project name in the config file. Please try to update your project name. It should be BookingsHive

  • User Avatar
    0
    Prasanthtp created

    Thanks. I added the company name. When I put company name as empty it started working.

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @Prasanthtp,

    I'm glad your problem was solved.

  • User Avatar
    0
    Prasanthtp created

    How do I change the namespace of an entity generated using power tools? It is disabled. Is there any manual way