Skip to content
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

Nuget release 0.0.1.1 #1

Open
Moerup opened this issue May 23, 2024 · 1 comment
Open

Nuget release 0.0.1.1 #1

Moerup opened this issue May 23, 2024 · 1 comment

Comments

@Moerup
Copy link

Moerup commented May 23, 2024

This looks really cool!

Trying to implement it into my own Blazor Wasm project, but looks like the current 0.0.1.1 code is not released as a nuget.

Would it be possible to create a nuget with the current code?
Or maybe some instruction on how to build and use it locally in another project?

@Jinjinov
Copy link
Owner

Jinjinov commented May 23, 2024

I am glad that you find it useful :)

I am sorry to say that 0.0.1.1 does not seem likely, because I am waiting on pamidur/aspect-injector#222 for a very long time now.

As it is now, 0.0.1.1 is not good enough to be released as a NuGet.

You can still download the solution and include the projects in your solution. You should probably update the NuGet packages that I used, because they are old now.

You can also right click on the project in Visual Studio 2022 and choose Pack to build a NuGet locally and include that in your solution.

EDIT:

The only real difference that 0.0.1.1 would bring is that you could have your razor files without these methods and it would still work:

    protected override void OnParametersSet()
    // or
    protected override async Task OnParametersSetAsync()

    // and

    protected override void OnAfterRender(bool firstRender)
    // or
    protected override async Task OnAfterRenderAsync(bool firstRender)

But to make that work, I would need pamidur/aspect-injector#222

For now, you have to define them, even if they are empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants