Skip to content

Instantly share code, notes, and snippets.

View martincostello's full-sized avatar
🚀
Coding stuff

Martin Costello martincostello

🚀
Coding stuff
View GitHub Profile
@martincostello
martincostello / XunitTestOutputLogger.cs
Created February 26, 2016 15:04
BenchmarkDotNet Logger for Xunit
namespace MartinCostello
{
using BenchmarkDotNet.Loggers;
using Xunit.Abstractions;
/// <summary>
/// A class that writes output to the test output for Xunit. This class cannot be inherited.
/// </summary>
public sealed class XunitTestOutputLogger : ILogger
{
@martincostello
martincostello / Build.cmd
Last active November 8, 2017 09:30
How To Find Which Assemblies Cause The MSB3277 Warning
REM How to find the root cause of the warning:
REM "MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved".
REM 1) Run MSBuild with the option '/verbosity:detailed' and pipe the output to a file.
REM 2) Find all lines that contain the text "There was a conflict between ".
REM 3) Fix all conflicting assembly versions in any project(s).
REM For .NET Framework/MSBuild:
MSBuild.exe MyProject.msbuild /verbosity:detailed >> _AssemblyConflicts.log
REM For .NET Core:
@martincostello
martincostello / keybase.md
Last active March 25, 2016 14:31
keybase.io Verification Gist

Keybase proof

I hereby claim:

  • I am martincostello on github.
  • I am martincostello (https://keybase.io/martincostello) on keybase.
  • I have a public key whose fingerprint is 09E6 0E06 CD38 314B 9F25 1C62 74A5 B223 F73B 2AF3

To claim this, I am signing this object: