2019-06-24 09:42:13 +08:00
|
|
|
<Project>
|
|
|
|
<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-08-10 18:11:35 +08:00
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.2'">
|
|
|
|
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2019-09-28 11:12:46 +08:00
|
|
|
<Target Condition=" '$(TargetFramework)' == 'netcoreapp2.2' " Name="PostPublish" AfterTargets="Publish">
|
|
|
|
<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)' == 'UNIX'" 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-10-03 22:35:54 +08:00
|
|
|
<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-06-24 09:42:13 +08:00
|
|
|
<Target Condition=" '$(TargetFramework)' == 'netcoreapp2.2' " Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
</Project>
|