2019-06-24 09:42:13 +08:00
|
|
|
<Project>
|
2019-09-29 11:01:25 +08:00
|
|
|
|
2019-06-24 09:42:13 +08:00
|
|
|
<PropertyGroup>
|
|
|
|
<Copyright>Longbow</Copyright>
|
|
|
|
<Authors>Argo Zhang(argo@163.com)</Authors>
|
|
|
|
<Company>Longbow</Company>
|
2019-07-31 22:50:54 +08:00
|
|
|
<LangVersion>latest</LangVersion>
|
2019-09-02 23:13:57 +08:00
|
|
|
<SignAssembly>true</SignAssembly>
|
|
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)src\Keys\Longbow.Utility.snk</AssemblyOriginatorKeyFile>
|
2019-07-31 22:50:54 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2019-11-12 11:46:12 +08:00
|
|
|
<Target Condition=" $(IsWebProject) == true Or $(IsTestProject) == true" Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
|
<Message Text="Copy lic file -> $(TargetDir)" Importance="high" />
|
2021-12-10 21:36:08 +08:00
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src\mvc\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src/mvc/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
|
2019-11-12 11:46:12 +08:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Condition=" $(IsWebProject) == true " Name="PostPublish" AfterTargets="Publish">
|
|
|
|
<Message Text="Publish lic file -> $(PublishDir)" Importance="high" />
|
2021-12-10 21:36:08 +08:00
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\mvc\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/mvc/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
|
2019-11-12 11:46:12 +08:00
|
|
|
<Message Text="Publish db file -> $(PublishDir)" Importance="high" />
|
2021-12-10 21:36:08 +08:00
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\mvc\admin\Bootstrap.Admin\BootstrapAdmin.db" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/mvc/admin/Bootstrap.Admin/BootstrapAdmin.db" SkipUnchangedFiles="true" />
|
2019-11-12 11:46:12 +08:00
|
|
|
</Target>
|
|
|
|
|
2019-09-28 17:40:44 +08:00
|
|
|
</Project>
|