69 lines
2.7 KiB
XML
69 lines
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Nop.Plugin.Misc.MyTestPlugin1</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>false</CopyLocalLockFileAssemblies>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="logo.jpg" />
|
|
<None Remove="plugin.json" />
|
|
<None Remove="Views\_ViewImports.cshtml" />
|
|
<None Remove="Areas\Admin\Views\_ViewImports.cshtml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="logo.jpg">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="plugin.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Views\_ViewImports.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Areas\Admin\Views\_ViewImports.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="Areas\Admin\Views\_ViewImports.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Update="Views\_ViewImports.cshtml">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Presentation\Nop.Web\Nop.Web.csproj" />
|
|
<ClearPluginAssemblies Include="$(MSBuildProjectDirectory)\..\..\Build\ClearPluginAssemblies.proj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Areas\Admin\Components\" />
|
|
<Folder Include="Areas\Admin\Controllers\" />
|
|
<Folder Include="Areas\Admin\Extensions\" />
|
|
<Folder Include="Areas\Admin\Factories\" />
|
|
<Folder Include="Areas\Admin\Models\" />
|
|
<Folder Include="Areas\Admin\Validators\" />
|
|
<Folder Include="Components\" />
|
|
<Folder Include="Controllers\" />
|
|
<Folder Include="Extensions\" />
|
|
<Folder Include="Factories\" />
|
|
<Folder Include="Models\" />
|
|
<Folder Include="Services\" />
|
|
<Folder Include="Validators\" />
|
|
</ItemGroup>
|
|
|
|
<!-- This target execute after "Build" target -->
|
|
<Target Name="NopTarget" AfterTargets="Build">
|
|
<MSBuild Projects="@(ClearPluginAssemblies)" Properties="PluginPath=$(MSBuildProjectDirectory)\$(OutDir)" Targets="NopClear" />
|
|
</Target>
|
|
|
|
</Project>
|