Created
February 27, 2013 10:56
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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