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

Where does BlazorBlogsLibrary.Views.dll come from? #57

Closed
DanielSpindler83 opened this issue Dec 16, 2022 · 5 comments
Closed

Where does BlazorBlogsLibrary.Views.dll come from? #57

DanielSpindler83 opened this issue Dec 16, 2022 · 5 comments

Comments

@DanielSpindler83
Copy link

Hello,

Apologies if this is a silly noob question, but where does the file BlazorBlogsLibrary.Views.dll come from?
It does not seem to be a build output and yet is referenced in BlazorBlogsLibrary.csproj to copy the file after the build of that project.

What am I missing?

Thanks,

Daniel

@DanielSpindler83
Copy link
Author

I think this may be related to these issues...maybe...?
dotnet/aspnetcore#28190
dotnet/aspnetcore#27888

@ADefWebserver
Copy link
Owner

where does the file BlazorBlogsLibrary.Views.dll come from?

It comes from the https://github.com/ADefWebserver/Blazor-Blogs/tree/main/BlazorBlogsLibrary project. The .dlls from that project are put into the "BlazorBlogs/CustomModules" directory of the https://github.com/ADefWebserver/Blazor-Blogs/tree/main/BlazorBlogs project.

You just need to do a "rebuild all" to get it all to build properly.

@DanielSpindler83
Copy link
Author

Sorry, forgot to mention that I was trying to move to .NET6.
Issue is that .NET 6 build of BlazorBlogsLibrary.csproj does not output BlazorBlogsLibrary.Views.dll .
I tried cleaning it up to run without that reference, but now stuck with:
InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area: }.

@DanielSpindler83
Copy link
Author

Sorry - never mind I think I got it working.
I may drop a PR for the .NET 6 upgrade.
Thanks

@ADefWebserver
Copy link
Owner

Sorry - never mind I think I got it working. I may drop a PR for the .NET 6 upgrade. Thanks

Thanks for your assistance. However, I plan to upgrade to .Net 7 and do some major refactoring in January.

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