Memw
Running custom build targets within library user
I have all my code to implement views within a big HTTP library I'm making, that parses files with html and c# together with custom expressions and all.
I was thinking that the best way would be leaving the user of the library (the library can be installed trough nuget) to declare a property like
Views
or something like that with a path, and then my library would copy these files from the user specified path to the user project bin so the library has access to those, any other suggestions on how to open view files for the library to access.
For now I was thinking on the first part, it would be possible to make a custom property available to the users csproj and running a target like
if the user has that property declared in their csproj?9 replies
HostedService stopping infinitely
I'm making a discord bot that has some other services running and I don't seem to get why when I try to stop my application it just be
Application is being stopped
I'd assume some process is blocking but I don't see any way of debugging that, I checked everywhere but I don't see anything
the potential problem might be that
Program.cs
and I have a service running that's ExceptionCatcherService
which should log any unhandled exception and restart the HostedService
3 replies