-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in Sample DashboardDemo #2716
Comments
I encountered none of these problems. I can check again if you provide more detailed reproduction steps. |
1 Copy sample from source repository |
@yekalkan can you check it again? |
Pretty normal. You changed ProjectReferences to PackageReferenceses and therefore you can't use
That is strange. You can delete DashboardDemoPermissionDefinitionProvider.cs file and try again. |
I deleted DashboardDemoPermissionDefinitionProvider.cs . Everything Ok |
I'm playing with sample DashboardDemo. When i run it in Debug mode i get exception in line
app.UseVirtualFiles(); in DashboardDemoWebModule. I commented out lines
Configure(options =>
{
//options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}..{0}..{0}..{0}framework{0}src{0}Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}DashboardDemo.Domain.Shared", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}DashboardDemo.Domain", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}DashboardDemo.Application.Contracts", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}DashboardDemo.Application", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical(hostingEnvironment.ContentRootPath);
});
as was recomended in issue 274188A .Then i get next exception in line
var myGroup = context.AddGroup(DashboardDemoPermissions.GroupName);
in file DashboardDemoPermissionDefinitionProvider
I commented out this line then everything works.
It looks like this code was not renewed from previous versions.
The text was updated successfully, but these errors were encountered: