Skip to content

Instantly share code, notes, and snippets.

@ErikSchierboom
Created February 27, 2013 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ErikSchierboom/5047101 to your computer and use it in GitHub Desktop.
Save ErikSchierboom/5047101 to your computer and use it in GitHub Desktop.
Autofac 3.0.1 does not work under Mono. The console application below has four assembly references: Autofac, Autofac.Configuration, System and System.Core
namespace ConsoleApplication1
{
using System;
using Autofac;
internal class Program
{
private static void Main(string[] args)
{
var builder = new ContainerBuilder();
var container = builder.Build();
Console.WriteLine("Hello!");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment