|
Repository
NReco Repository Structure Overview
Folders
BlocksBlock is just a some set of shared resources (+integration rules)
Web App Dependencies
NReco Project FileTypical NReco web-project file should contain following "extensions". Common properties: <PropertyGroup>
<NRecoRepoRootDirectory>$(ProjectDir)..\..</NRecoRepoRootDirectory> <!-- path to NReco repository root -->
<NRecoTargetDirectory>$(ProjectDir)web</NRecoTargetDirectory> <!-- web root will be here -->
</PropertyGroup>References to shared blocks: <ItemGroup>
<BlockReference Include="Common">
<Visible>false</Visible>
</BlockReference>
<BlockReference Include="JQuery">
<Visible>false</Visible>
</BlockReference>
</ItemGroup>Include NReco targets: <Import Project="$(NRecoRepoRootDirectory)\build\NReco.Common.targets" /> <Import Project="$(NRecoRepoRootDirectory)\build\NReco.Blocks.targets" /> Register project befor/after targets: <Target Name="BeforeBuild" DependsOnTargets="NRecoCopyBlocks"/> <!-- merge with blocks --> <Target Name="AfterBuild" DependsOnTargets="NRecoPrepareWebapp;NRecoApplyTransformRules"/> <!-- merge itself and apply rules --> |
Sign in to add a comment