blogifierdotnet / Blogifier

Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
https://blogifier.net
MIT License
1.28k stars 518 forks source link

Exception when starting project #185

Closed neo302 closed 4 years ago

neo302 commented 4 years ago

I downloaded the project from the master branch and when I start the project, it hits an exception on the Core.AppConfig GetAssemblies method on line:

var product = assembly.GetCustomAttribute().Product;

The error: System.NullReferenceException: 'Object reference not set to an instance of an object.'

The product is: "Serilog.Extensions.Logging" Assembly: {Serilog.Sinks.File, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10}

Thank you

rxtur commented 4 years ago

This code is for side-loading plugins, it is within try/catch and should not be a problem. Current code is not using plugins out of the box, so you can comment out code in question if needed.

neo302 commented 4 years ago

Thank you!