zhaolei
yesterday 50c487d938f5210d6cf5ec124ec767ff14a2ed45
commit | author | age
4a2e5b 1 <Project>
Z 2   
3   <PropertyGroup>
4     <Copyright>Longbow</Copyright>
5     <Authors>Argo Zhang(argo@163.com)</Authors>
6     <Company>Longbow</Company>
7     <LangVersion>latest</LangVersion>
8     <SignAssembly>true</SignAssembly>
9     <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)src\Keys\Longbow.Utility.snk</AssemblyOriginatorKeyFile>
10   </PropertyGroup>
11
12   <Target Condition=" $(IsWebProject) == true Or $(IsTestProject) == true" Name="PostBuild" AfterTargets="PostBuildEvent">
13     <Message Text="Copy lic file -> $(TargetDir)" Importance="high" />
14     <Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
15     <Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
16   </Target>
17
18   <Target Condition=" $(IsWebProject) == true " Name="PostPublish" AfterTargets="Publish">
19     <Message Text="Publish lic file -> $(PublishDir)" Importance="high" />
20     <Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
21     <Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
22     <Message Text="Publish db file -> $(PublishDir)" Importance="high" />
23     <Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\Bootstrap.Admin\BootstrapAdmin.db" SkipUnchangedFiles="true" />
24     <Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/Bootstrap.Admin/BootstrapAdmin.db" SkipUnchangedFiles="true" />
25   </Target>
26
27 </Project>