AnnaSasDev
Installed package not found
I tried to see in a minimal reproducible github repo, if it behaved the same there, with all the packages of InfiniBlazor installed, but there they all nicely work together..., so again it is only this solution that isnt working nicely
24 replies
Installed package not found
Okay, I have found the culprit... in the server.csproj file I import these pacakges from my InfiniBlazor, which results in Theming not being loaded
Then If I remove
<PackageReference Include="InfiniLore.InfiniBlazor" />
, Theming magically does get loaded and output to the final build ... One step closer24 replies
Installed package not found
I'll also include a link to the
InfiniLore.InfiniBlazor.Theming
original csproj file, maybe that can show more insight into the issue https://github.com/InfiniLore/infinilore.infiniblazor/blob/core/src/InfiniLore.InfiniBlazor.Theming/InfiniLore.InfiniBlazor.Theming.csproj24 replies
Installed package not found
Yes, sorry I have also removed them in various tests to make it work. Will remove them now in a new commit, as they are a remainder of some previous stuff I still needed to clean up by the end of the branch.
Given that my
InfiniLore.InfiniBlazor.Theming
nuget package can be installed correctly in other solutions, or even projects within the broken solution (I checked and InfiniLore.Wasm
also has this nuget package installed and is included correctly in the build output) I feel like the issue has to be with the InfiniLore.Server
itself somehow.24 replies
Installed package not found
Yes I know that, these packages are stored in one universal place and then used where required. but, given that the dll's of all other packages are found within the
bin/Release/net9.0/...
folder and directly copying the dll of InfiniLore.InfiniBlazor.Theming
to this folder does make my built solution work.
I can also find the downloaded package in my userprofile's .nuget/packages
so no direct issue there either.
Like I said in the struck through section, if I manually do a dotnet add package InfiniLore.InfiniBlazor.Theming
after the solution has been built, I can run the application without issues. Then if I stop the server and do a rebuild, the package's dll in question dissapears again.
I cant reproduce the same error in a minimal reproducible github repo, so I'll link the branch Im currently working on: https://github.com/InfiniLore/infinilore.cs/tree/lorescopes-primary_note
With the following project csproj file which is the consumer of the package that breaks it all https://github.com/InfiniLore/infinilore.cs/blob/lorescopes-primary_note/src/InfiniLore.Server/InfiniLore.Server.csproj24 replies
Installed package not found
.nuget/packages
in your userprofile.dotnet add package InfiniLore.InfiniBlazor.Theming
on the consuming csproj... I have no clue why that one of all things finally did it, as I had deleted and reinstalled it many times through rider as well, but it now works...24 replies
Extending a razor component so I can make developer experience a bit easier
Have eventually "figured out" a solution that I wanted, though Im still debating the fact if this is the best approach in the long run.
Made a small manual cli tool, instead of a Roslyn Incremental Generator, that parses the svg files from
lucide-static
into individual razor files, which follow the naming convention of Li{lucideName.ToPascalCase()}
(pseudo).
Ive also made the option to resolve the icon the old way, through a simple inject ILucideService
so you can now have two options. This service works by using an underlying dictionary with lazy loaded values, which is populated by a Roslyn Incremental Generator
meaning hat I can use an Icon in two ways:
For anyone wondering, the full package's code is here: (constructive feedback is always appreciated):
https://github.com/InfiniLore/lucide.blazor4 replies
Extending a razor component so I can make developer experience a bit easier
But the only way Ive been able to make this work is by doing the following (work in progress testing):
which then results in the following workaround.
Because razor files are already brought dozn to C# through a roslyn generator, Im unsure if I could build something like I envisioned with the
<LucideIcon.Signature/>
idea4 replies
Issue with Github Actions when using Node & Dotnet together
Issue is resolved
The issue could be traced back to IncrementalGeneratorInitializationContextExtensions.SelectLucideSvgFiles where we were checking if a filepath matches a regex (why of all reasons I did this, ill never remember) and the age old / vs \ paths caused the issue.
Changed it to a simpler FileEndsWith() and thus the issue is resolved
2 replies
Issue with configuring Auth0 and the "Allowed Callback url"
from as far as I can understand their docs, I think the callback is the OIDC
redirect_uri
, which I can't override myself as far as I understand
I eventually got a beginning to the functionality that I wanted by using the OnAuthenticationStateChanged
from PersistingRevalidatingAuthenticationStateProvider
https://github.com/InfiniLore/infinilore.cs/blob/6acef6a31869d16fbb9063c3ac3a0a6d15f96847/src/InfiniLore.Server.Services/AuthenticationStateSyncer/PersistingRevalidatingAuthenticationStateProvider.cs#L63
Which I can then at a later point use to create a command which creates a user for my database
I just feel frustrated because this feels like such a convoluted workaround to get to the functionality that I want13 replies