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-09-28 20:36:17 +08:00
|
|
|
<Target Condition=" '$(TargetFramework)' == 'netcoreapp3.0' " Name="PostPublish" AfterTargets="Publish">
|
2019-09-28 11:12:46 +08:00
|
|
|
<Message Text="Publish -> $(PublishDir)" Importance="high" />
|
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\Bootstrap.Admin\BootstrapAdmin.db" SkipUnchangedFiles="true" />
|
2019-09-29 11:01:25 +08:00
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(PublishDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/Bootstrap.Admin/BootstrapAdmin.db" SkipUnchangedFiles="true" />
|
2019-09-28 11:12:46 +08:00
|
|
|
</Target>
|
|
|
|
|
2019-09-28 20:36:17 +08:00
|
|
|
<Target Condition=" '$(TargetFramework)' == 'netcoreapp3.0' " Name="PostBuild" AfterTargets="PostBuildEvent">
|
2019-06-24 09:42:13 +08:00
|
|
|
<Message Text="Copy file -> $(TargetDir)" Importance="high" />
|
2019-09-05 13:58:06 +08:00
|
|
|
<Copy Condition="'$(OS)' == 'Windows_NT'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src\admin\keys\Longbow.lic" SkipUnchangedFiles="true" />
|
|
|
|
<Copy Condition="'$(OS)' == 'UNIX'" DestinationFolder="$(TargetDir)" SourceFiles="$(MSBuildThisFileDirectory)src/admin/keys/Longbow.lic" SkipUnchangedFiles="true" />
|
2019-06-24 09:42:13 +08:00
|
|
|
</Target>
|
|
|
|
|
2019-09-28 17:40:44 +08:00
|
|
|
</Project>
|