Plugin not copying file to Plugins/Bin

Posted: March 17, 2019 at 12:35 PM Quote #225173
Hi, I am using the nuget package Select.HtmlToPdf.NetCore and I added the below code to my project solution and it copies the "Select.HtmlToPdf.dll" and "Select.Html.dep" to the "\Plugins\Distributor.Products" directory. However, it does not copy them to "Plugins\bin". It only copies "Select.HtmlToPdf.dll"

  <ItemGroup>
    <PackageReference Include="HtmlAgilityPack.NetCore" Version="1.5.0.1" />
    <PackageReference Include="Select.HtmlToPdf.NetCore" Version="18.4.0" />
  </ItemGroup>

  <Target Name="FilterCopyLocalItems" AfterTargets="ResolveLockFileCopyLocalProjectDeps">
    <ItemGroup>
      <ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="'%(Filename)' != 'Select.HtmlToPdf'" />
      <ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="'%(Filename)' != 'Select.Html.dep'" />
    </ItemGroup>
  </Target>


Thoughts?
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Custom T-Shirts at http://www.ochapparel.com
Posted: April 03, 2019 at 8:48 PM Quote #227026
bump
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Custom T-Shirts at http://www.ochapparel.com
Posted: July 03, 2019 at 11:41 AM Quote #242111
According to this publication, you just have to add the following line in your .csproj
https://github.com/nopSolutions/nopCommerce/issues/3208
   <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Tecnofin
Posted: July 03, 2019 at 4:37 PM Quote #242135
espiro16 wrote:
According to this publication, you just have to add the following line in your .csproj
https://github.com/nopSolutions/nopCommerce/issues/3208
   <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>


I can try. But I think I have it. It’s when it goes to the Bin folder. Not my plugin build folder.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Custom T-Shirts at http://www.ochapparel.com
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.