libSkiaSharp.dll in my plugins runtimes folder

один год назад
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?

один год назад
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