I've just started to test version 10.1 RC. I'm following the getting started guide.
I set the Default Project in the Package Manager Console to EntityFrameworkCore.
I've got as far as running update-database but it fails with "More than one DbContext was found".
ASP NET ZERO 9.3.1 RC MVC .Net Core
Default Theme
If I go to Edit Role and choose the Permissions tab, I noticed that you cannot Save any changes.
On further investigation it appears that there's an error in role-list,min.js on line 53.
if (!options && (!options.singleSelect || !options.disableCascade))
shows the following error.....
Uncaught Type Error : Cannot read property 'singleselect' of undefined.
This was happening to me, I was advised by ydyazilim to do the following which fixed my issue :-
Download dotnet-runtime-2.2.0-win-x64.exe
run on cmd repos\test\aspnet-core\AspNetZeroRadTool dotnet AspNetZeroRadTool.dll ContentFeatures.ContentMenu.json or reinstall power tool.
@ydyazilim That has worked for me too, many thanks for your help.
Here's a Step by Step Guide :-
Open Power Tools 2.6.1 and fill in Entity Info.
Create a property
Save property and click on Generate
Nothing happens, Power Tools closes. No Entity is created.
There's nothing recent in the Windows Logs.
Here's todays Power Tools Logs
DEBUG 2020-09-09 08:32:45,799 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True DEBUG 2020-09-09 08:35:01,969 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 08:35:52,767 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 08:37:25,507 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-09 08:37:25,768 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated.
Same here Doug.
The Power Tools window just closes.
I was initially using it to "Load Entity from Database" but when that wasn't working I tried to create a simple Entity with a single Property and that failed too!
I've been using all the previous versions of Power Tools and it has always worked fine.
The latest version (2.6.1) simply closes when the Generate button is pressed and nothing is changed in the database or the project.
Is there a way to revert to version 2.6.0?
I also have an issue with 2.6.1.
I've selected "Load Entity from Database", made a few changes and then clicked on "Generate", but all it did was to close the Power Tool window, nothing was generated.
I've tried 5 times including rebooting and closing and reopening Visual Studio, but nothing works.
I've never had this issue with any previous version of Power Tools up to version 2.6.0 which worked fine.
Thanks for the quick reply.
I had previously been trying this approach with the MVC version, but gave up due to issues with the Multi Select control.
I've just tried your suggestion with some simple Telerik TextBox TagHelpers and with a bit of experimenting with the Name and ID I've managed to get it working.
I do remember from my previous attempts to get it working with the MVC version that I managed to get it working somewhat, but the MultiSelect control proved to be too difficult. Whatever I tried I couldn't return more than one selected value.
Have you managed to get the MultiSelect working, and if so did you find it required a bit of tweaking?
Thanks again for your help with this.