Skip to content

Instantly share code, notes, and snippets.

@jmarnold
Created September 7, 2011 21:40
Show Gist options
  • Save jmarnold/1201849 to your computer and use it in GitHub Desktop.
Save jmarnold/1201849 to your computer and use it in GitHub Desktop.
NuGet Testing
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
FubuApplication
.For<Test>()
.StructureMapObjectFactory()
.Bootstrap(RouteTable.Routes);
}
}
public class Test : FubuRegistry
{
public Test()
{
IncludeDiagnostics(true);
}
}

Steps to Test

  • Create an ASP.NET Empty Web Application
  • Install the FubuMVC.References NuGet
  • Add a global.asax and copy/paste the Global.cs file

Can you get to diagnostics (/_fubu)?

@ahjohannessen
Copy link

Just tried - works on my machine :)

@jmarnold
Copy link
Author

jmarnold commented Sep 7, 2011

Now try installing diagnostics and see if IonicZip doesn't blow up again :(

@ahjohannessen
Copy link

Yep, it blows - All fubu projects need to have Ionic.Zip removed - only Bottles needs it and gets it via the /lib folder - not as a nuget package.

Ionic.Zip has not been removed from the adv. diagnostics nuget + the current FubuMVC nuget stuff still has ref to it - that also needs to be removed. Dru is aware of the last part.

@jmarnold
Copy link
Author

jmarnold commented Sep 8, 2011

You wanna make a quick mailing list post just to make sure everyone's clear on that? :)

@ahjohannessen
Copy link

Yeah :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment