libSkiaSharp.dll in my plugins runtimes folder

1 year ago
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 year ago
Actually you no need for "runtimes" folder and can remove it.
11 months ago
Thank you for answer, but how to prevent create this folder when build?
11 months ago
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 months ago
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 months ago
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