Skip to content

Support MSBuild (non-project.json) projects #22

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

Merged
merged 2 commits into from
Sep 1, 2016

Conversation

skomis-mm
Copy link
Contributor

fixes this

if (assumed != null && !assemblies.ContainsKey(assumed.FullName))
assemblies.Add(assumed.FullName, assumed);

foreach (var assemblyRef in library.Assemblies)
Copy link
Contributor Author

@skomis-mm skomis-mm Aug 31, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explanation about removed lines 166-172:

  1. Assemblies collection is always empty (see this)
  2. RuntimeLibraries has full graph in it (see updated Sample project: it references Serilog.Sinks.RollingFile, but configures Serilog.Sinks.File sink succesfully)

@nblumhardt
Copy link
Member

Thanks for tackling this, looks like the right approach. Added a few comments inline.

Regards,
Nick

@nblumhardt nblumhardt merged commit 5266181 into serilog:dev Sep 1, 2016
@skomis-mm skomis-mm deleted the serilog-dev branch October 4, 2016 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support MSBuild (non-project.json) projects
2 participants