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

Handlebars.Net fails silently when used in .NET 8 Windows Service #581

Open
Lukykl1 opened this issue May 2, 2024 · 0 comments
Open

Handlebars.Net fails silently when used in .NET 8 Windows Service #581

Lukykl1 opened this issue May 2, 2024 · 0 comments
Labels

Comments

@Lukykl1
Copy link

Lukykl1 commented May 2, 2024

Description

When using Handlebars.Net within a .NET 8 Windows service, the library fails to operate correctly and does not throw any exceptions. This issue was resolved by targeting the project to .NET 8, suggesting a compatibility issue with .NET 8 that should be addressed.

Steps to Reproduce

  1. Create a Windows service using .NET 8.
  2. Implement Handlebars.Net to render templates.
  3. Observe that the service fails to render templates and does not throw any exceptions.

Expected behavior

Handlebars.Net should either successfully render templates or throw an explicit exception detailing what went wrong.

Actual behavior

The library fails silently with no output or exceptions, making debugging difficult.

Possible Solution

Updating Handlebars.Net to explicitly support .NET 8 could resolve this issue. Perhaps there are underlying compatibility issues that need to be addressed.

Additional context

The problem was resolved by explicitly targeting the project to .NET 8, which is not initially apparent as a necessary step for compatibility.

Environment

  • Handlebars.Net version: latest
  • .NET version: .NET 8
  • Operating system: Windows 10/11
@Lukykl1 Lukykl1 added the bug label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant