Hello,
I am getting the error "Target type-alias is unknown: 'Database'. Extension NLog.Database not included" when trying to save logs to the SQL Server database.
Hello,
I am getting the error "Target type-alias is unknown: 'Database'. Extension NLog.Database not included" when trying to save logs to the SQL Server database.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vishal YelveRank #178 · 13.6K reputationPosted Aug 12, 2022, 2:39 AM EDT
Deepak MRank #6,212 · 273 reputationPosted Aug 12, 2022, 3:01 AM EDT
Vishal YelveRank #178 · 13.6K reputationPosted Aug 12, 2022, 6:45 AM EDT
Naresh BeniwalRank #365 · 6.8K reputationPosted Nov 9, 2022, 12:36 AM EST
https://stackoverflow.com/questions/62031288/c-sharp-log-custom-exceptions-with-nlog