49 lines
2.2 KiB
XML
49 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<Copyright>SOME_COPYRIGHT</Copyright>
|
|
<Company>YOUR_COMPANY</Company>
|
|
<Authors>SOME_AUTHORS</Authors>
|
|
<PackageLicenseUrl>PACKAGE_LICENSE_URL</PackageLicenseUrl>
|
|
<PackageProjectUrl>PACKAGE_PROJECT_URL</PackageProjectUrl>
|
|
<RepositoryUrl>REPOSITORY_URL</RepositoryUrl>
|
|
<RepositoryType>Git</RepositoryType>
|
|
<!--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>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Widgets.AgeVerification\</OutputPath>
|
|
<OutDir>$(OutputPath)</OutDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Widgets.AgeVerification\</OutputPath>
|
|
<OutDir>$(OutputPath)</OutDir>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj" />
|
|
<ClearPluginAssemblies Include="$(MSBuildProjectDirectory)\..\..\Build\ClearPluginAssemblies.proj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Remove="logo.png" />
|
|
<None Remove="Views\AgeVerificationPopup.cshtml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="logo.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Views\AgeVerificationPopup.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</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>
|
|
|
|
|
|
|
|
|