55 lines
2.5 KiB
XML
55 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Copyright>Copyright © Nisaba Solutions</Copyright>
|
|
<Company>Nisaba Solutions</Company>
|
|
<Authors>Nisaba Solutions</Authors>
|
|
<PackageLicenseUrl>https://www.nisaba.solutions</PackageLicenseUrl>
|
|
<PackageProjectUrl>https://www.nisaba.solutions</PackageProjectUrl>
|
|
<RepositoryType>Git</RepositoryType>
|
|
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.BTCPayServer</OutputPath>
|
|
<OutDir>$(OutputPath)</OutDir>
|
|
<!--Set this parameter to true to get the dlls copied from the NuGet cache to the output of your project. You need to set this parameter to true if your plugin has a nuget package to ensure that the dlls copied from the NuGet cache to the output of your project-->
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<None Remove="logo.jpg" />
|
|
<None Remove="plugin.json" />
|
|
<None Remove="Views\Configure.cshtml" />
|
|
<None Remove="Views\PaymentInfo.cshtml" />
|
|
<None Remove="Views\_ViewImports.cshtml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj" />
|
|
<ClearPluginAssemblies Include="$(MSBuildProjectDirectory)\..\..\Build\ClearPluginAssemblies.proj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="logo.jpg">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="plugin.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Views\Configure.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Views\PaymentInfo.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Views\_ViewImports.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Models\" />
|
|
<Folder Include="Services\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="BTCPayServer.Client" Version="2.0.1" />
|
|
</ItemGroup>
|
|
<!-- This target execute after "Build" target -->
|
|
<Target Name="NopTarget" AfterTargets="Build">
|
|
<!-- Delete unnecessary libraries from plugins path -->
|
|
<MSBuild Projects="@(ClearPluginAssemblies)" Properties="PluginPath=$(MSBuildProjectDirectory)\$(OutDir)" Targets="NopClear" />
|
|
</Target>
|
|
</Project> |