libSkiaSharp.dll in my plugins runtimes folder

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