© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
8 replies
Hark Dand

✅ Set up SpecFlow Logging with 2 different projects

Currently I am trying to do some logging while using the SpecFlow BDD framework.
In my solutions I have 2 projects setup (generic names):
Project
Project
and
Project.Specs
Project.Specs
.
Project.Specs
Project.Specs
is home to the SpecFlow part of my solution.
I have my Dependencies setup so that
Project.Specs
Project.Specs
has a reference to
Project
Project
.
All fine and dandy, but I'm struggling to get a Logging tool going.
SpecFlow has some documentation on how to use its Output API (https://docs.specflow.org/projects/specflow/en/latest/outputapi/outputapi.html) when only using a single project - at least that's what I'm getting from the documentation.

Example: Say I've got a class called
Person
Person
in Project and a Feature for it in my
Project.Specs
Project.Specs
. I want to have some logging done in a method inside of
Person
Person
. However, I do not know how this setup would look like in a 2-project-solution.

I have also tried using
NLog
NLog
but to no avail. It did not cause any errors but it didn't work either.

Thank you very much!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Creating pipeline with selenium specflow
C#CC# / help
2y ago
set with different values
C#CC# / help
2y ago
❔ Variables from different classes not adding up 2
C#CC# / help
4y ago
help with shared code between 2 projects
C#CC# / help
2y ago