Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed FubuMVC.References.nuspec such that HtmlTags is targeted to t…

…he tools folder. This fixes an exception on missing HtmlTags lib when doing a fubu.exe createvdir as Bottles.Deployment depends on HtmlTags.
  • Loading branch information...
commit 3e8938a937ae7c849103854faaa5cc76f6277254 1 parent e77ee33
@ahjohannessen authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 packaging/nuget/fubumvc.references.nuspec
View
5 packaging/nuget/fubumvc.references.nuspec
@@ -25,7 +25,7 @@
<file src="..\..\src\FubuMVC.StructureMap\bin\release\FubuMVC.StructureMap.*" target="lib\net40" />
<file src="..\..\src\fubu\bin\release\fubu.exe" target="tools" />
- <file src="..\..\src\fubu\bin\release\Microsoft.Practices.ServiceLocation.dll" target="tools" />
+ <file src="..\..\src\fubu\bin\release\Microsoft.Practices.ServiceLocation.dll" target="tools" />
<file src="..\..\src\fubu\bin\release\FubuKayak.*" target="tools" />
<file src="..\..\src\fubu\bin\release\FubuMVC.OwinHost.*" target="tools" />
@@ -38,7 +38,8 @@
<file src="..\..\src\fubu\bin\release\FubuCore.*" target="tools" />
<file src="..\..\src\fubu\bin\release\FubuMVC.Core.*" target="tools" />
<file src="..\..\src\fubu\bin\release\StructureMap.dll" target="tools" />
- <file src="..\..\src\fubu\bin\release\Bottles*.*" target="tools" />
+ <file src="..\..\src\fubu\bin\release\Bottles*.*" target="tools" />
+ <file src="..\..\src\fubu\bin\release\HtmlTags.dll" target="tools" />
<file src="..\..\build\fubumvc-deployers.zip" target="tools" />
<file src="..\..\build\*Template.zip" target="tools" />
</files>

1 comment on commit 3e8938a

@ahjohannessen

Reason for failing is:

public class BootstrapDocument : HtmlDocument

inside Bottles.Deployment... and when doing this

factory.RegisterCommands(typeof(Recipe).Assembly);

public void RegisterCommands(Assembly assembly)
       {
           assembly
               .GetExportedTypes()
               .Where(x => x.Closes(typeof(FubuCommand<>)) && x.IsConcrete())
               .Each(t => { _commandTypes[CommandNameFor(t)] = t; });
       }

Boom!

Please sign in to comment.
Something went wrong with that request. Please try again.