Roger Kratz committed 3928d1b

auto copy of hibernate.cfg.xml if not exist

  • Participants
  • Parent commits 62efac7

Comments (0)

Files changed (1)

File NHibernate.Envers.SetForNet4Test/NHibernate.Envers.SetForNet4Test.csproj

   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <PropertyGroup>
+    <PreBuildEvent>if not exist $(ProjectDir)\hibernate.cfg.xml copy $(ProjectDir)\hibernate.cfg.xml.template $(ProjectDir)\hibernate.cfg.xml</PreBuildEvent>
+  </PropertyGroup>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">