Open Closed

“ASP.NET Zero Power Tools (v1.7.2.1)” doesn't work in Aspnet Core & Angular V6.6.0 #6447


0
limingjun2018 created

Today I downloaded Aspnet Core & Angular V6.6.0 and did the steps introduced in "Getting Started" of the documentation. Then, expected changes happened in the database and the browser, everything looked good.

I installed the “ASP.NET Zero Power Tools (v1.7.2.1)” to Visual Studio 2017 and then according to the video course in the youtube.com, I clicked the menu Tools(T)→Asp.net zero→Create an Entity, opened a dialog to create an entity. After giving the namespace name, entity name and other options and added a property "Name", I pressed the button "Generate", but no console window was opened, no entity was added, and, in fact, nothing happened.

To tell the truth, in December 2018, I used “ASP.NET Zero Power Tools (v1.7.1)" in project "aspnet core & jQuery" in Visual Studio 2017, and everything worked very normally.

I don't know anybody else has encountered this problem.

Update: 1) “ASP.NET Zero Power Tools (v1.7.2.1)" works normally in project "Asp.net Core MVC & jQuery (v6.5.0)" . 2) “ASP.NET Zero Power Tools (v1.7.2.1)" cannot work in project "Asp.net Core MVC & jQuery (v6.6.0)" . After clicking the menu "Tools(T) ->Asp.Net Zero->Create an Entity", a dialog named "Create an Entity" appears. Filling in it some necessary fields, clicking the button "generate", nothing happens.


12 Answer(s)
  • 0
    yekalkan created

    I've tried to reproduce your issue but couldn't succeed. See screenshot below.

    image.png

    Can you share a screenshot of tool UI when clicking generate button doesn't trigger anything?

  • 0
    limingjun2018 created

    Sorry, I couldn't give you a screenshot because no console window was opened and nothing happened. Fortunately, I could give you a video to show the details as the following URL.

    https://v.youku.com/v_show/id_XNDA1NTIzMzgzNg==.html

    the video of the problem

  • 0
    limingjun2018 created

    Could you open the video?

  • 0
    yekalkan created

    Yes, but it didn't help much.

    I've downloaded Jquery / angular / angular-merged v6.6.0 projects and rad tool successfully work on them.

    Could you compare the files in "aspnet-core/AspNetZeroRadTool/" folders in v6.5.0 and v6.6.0 solutions? inform me if there is any difference.

    We're going to release a new version today. Update it as well.

  • 0
    limingjun2018 created

    Thank you for reply.

    Today I updated rad power tool to 1.7.2.2 and used it in angular / angular-merged v6.6.0 projects. After clicking the button "Generate", no console window was shown and no entity was added to the *.Core project.

    However, I had a new discovery. After Clicking Tool(T) -> Asp.Net Zero -> Re-generate an Entity, a dialog "pick an entity" was opened. Clicking the dropdown list, then the former entities I tried to generate but failed generating were shown in the dropdown list.

    image.png

    I compared the files in "aspnet-core/AspNetZeroRadTool/" folders in v6.5.0 and v6.6.0 solutions. There is no difference.

  • 0
    yekalkan created

    Clicking the dropdown list, then the former entities I tried to generate but failed generating were shown in the dropdown list.

    I didn't get it.

    You picked an entity from list, then tried to regenerate it, and nothing happened when you press generate button? like "create an entity" ?

  • 0
    yekalkan created

    By the way,

    It seems like your entities are saved. So you can manually start the generation from command line. This will help you until we fix this issue.

    To run it manually;

    Go to "aspnet-core/AspNetZeroRadTool/" directory and open command line there. Then type "dotnet AspNetZeroRadTool.dll TestNamespace.TestObject.json" command.

  • 0
    limingjun2018 created

    Thank you for your reply.

    After much effort, I thought I found the real reason. The problem was due to that the directory path of the "aspnet-core/AspNetZeroRadTool/" had special characters (e.g., space character, &). If deleting the special characters, everything will work normally.

    Is this a problem or just by design?

  • 0
    yekalkan created

    Problem. This should be fixed in next release.

  • 0
    yekalkan created

    v1.7.2.3 released. Can you confirm that the bug is resolved?

  • 0
    limingjun2018 created

    Sorry,this problem still exists. Just now, I used v1.7.2.3 and v6.6.1, the path of the solution had special characters(e.g., space, &),the above phenomenon appeared again.

  • 0
    ismcagdas created

    Hi @limingjun2018

    Did you have a chance to try this with latest version of RAD Tool ?