add app.config to register NamespaceParser from new Spring.Template.Velocity.Castle assembly in place of "well-known" parser in other assembly

This commit is contained in:
Steve Bohlen
2015-03-14 14:56:15 -04:00
parent 4623d52a56
commit 72c2f580c1
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="spring">
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
</sectionGroup>
</configSections>
<spring>
<parsers>
<parser type="Spring.Template.Velocity.Config.TemplateNamespaceParser, Spring.Template.Velocity.Castle" />
</parsers>
</spring>
</configuration>

View File

@@ -94,6 +94,7 @@
<None Include="..\Spring.Template.Velocity.Tests\Template\Velocity\SimpleTemplate.vm">
<Link>Template\Velocity\SimpleTemplate.vm</Link>
</None>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="Template\Velocity\config.properties" />
</ItemGroup>