Git Product home page Git Product logo

Comments (13)

neozhu avatar neozhu commented on July 30, 2024

You can try to debug it yourself and see what's wrong. It could be the field type of the defined entity class or some other problem

from cleanarchitecturecodegenerator.

Foxlider avatar Foxlider commented on July 30, 2024

Getting the same issue.
Can't find out why. No idea if I'm doing anything wrong or if something broke

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024

check your entity class properties type .

from cleanarchitecturecodegenerator.

Foxlider avatar Foxlider commented on July 30, 2024

It's from a clean repo. Just did a new app, added a class like so

public class Author : AuditableEntity
{
    public ulong AuthorID { get; set; }
    public string? Name { get; set; }
    public string? URL { get; set; }
}

and I get a COM error

EDIT :
I get the error even with a new project from template without adding anything

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024

maybe you can debug it. I am working in my vs.net 2022

from cleanarchitecturecodegenerator.

Foxlider avatar Foxlider commented on July 30, 2024

No idea on how to do that. Am using VS 2022 Preview tho

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024

the project name I was hard code, or you can fork "https://github.com/neozhu/CleanArchitectureWithBlazorServer" project for testing it. is okay. this is blazor project so you need to build from blazor branch code

from cleanarchitecturecodegenerator.

TurgayTurk avatar TurgayTurk commented on July 30, 2024

getting the same error on VS2022 community 17.3.6

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024
2022.mp4

I am working

from cleanarchitecturecodegenerator.

TurgayTurk avatar TurgayTurk commented on July 30, 2024

thanks for video. Thats exactly how I have tried it. But maybe either the community edition or Win11 is cousing that error and I cant find any workarround.

from cleanarchitecturecodegenerator.

jurikja avatar jurikja commented on July 30, 2024

2022.mp4
I am working

Just re-compile Codegenerator from Source and re install it from release folder!

1)remove old COM E_FAIL CleanArchitectureCodeGenerator version from VS extention

2)download and update all CleanArchitectureCodeGenerator nu-packages

3)install compiled release version of updated CleanArchitectureCodeGenerator
Now it's working! )

neozhu thanks for your project!

Codegenerator forgets to add or adds incorrectly names of some fields and objects. but i successfully corrected it manually.

I can't get access to the generated page (( auth problem access to generated razor page ((
Message:
"You are not authorized to be here. For more information, contact your system administrator."

I think it because OnInitializedAsync() method is not called when generated razor pages are loaded. I don;t understand why OnInitializedAsync() not colled on generated razor page((

Last: it would be cool to add the MAUI Blazor Hybrid Project to this solution))

PS: Used platform -> Windows 11 22H2 \ VS 22 Professional x64 17.4.2

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024

image
you should be set permissions for the admin role then need re-login it

from cleanarchitecturecodegenerator.

neozhu avatar neozhu commented on July 30, 2024

you need run add-migration project and update-database to generate table in entityframework code-first model

from cleanarchitecturecodegenerator.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.