libSkiaSharp.dll in my plugins runtimes folder

1 năm cách đây
Hi there,
I developped Payment plugin, when i check the publish folder i see libSkiaSharp.dll in my plugins runtimes folder, its very high file for upload to web servers for install my plugin. How to remove it?

1 năm cách đây
Actually you no need for "runtimes" folder and can remove it.
11 tháng cách đây
Thank you for answer, but how to prevent create this folder when build?
11 tháng cách đây
Do you have this in your .csproj file:

  <!-- 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>
11 tháng cách đây
New York wrote:
Do you have this in your .csproj file:

  <!-- 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>


Yes i have
11 tháng cách đây
I found this solution, but i am not sure.

https://stackoverflow.com/questions/41755276/runtimes-folder-after-publishing-a-net-core-app-to-azure-publish-via-vs-onlin