after creating a custom plugin and build it this error appears and the reason is 3 Dlls that created each time I build the custom plugin.
after deleting the 3 Dlls the app worked fine
the Dlls are:
libzstd.dll
snappy32.dll
snappy64.dll
any idea how to fix this issue
I'm using v 4.80
Bad IL format.
Monday, November 25, 2024 1:50:00 PM
Rihab wrote:
Any Help.
after creating a custom plugin and build it this error appears and the reason is 3 Dlls that created each time I build the custom plugin.
after deleting the 3 Dlls the app worked fine
the Dlls are:
libzstd.dll
snappy32.dll
snappy64.dll
any idea how to fix this issue
I'm using v 4.80
after deleting the 3 Dlls the app worked fine
the Dlls are:
libzstd.dll
snappy32.dll
snappy64.dll
any idea how to fix this issue
I'm using v 4.80
Any Help.
0
Rihab wrote:
Just add these codes to [YourPluginName].csproj :
after creating a custom plugin and build it this error appears and the reason is 3 Dlls that created each time I build the custom plugin.
after deleting the 3 Dlls the app worked fine
the Dlls are:
libzstd.dll
snappy32.dll
snappy64.dll
any idea how to fix this issue
I'm using v 4.80
after deleting the 3 Dlls the app worked fine
the Dlls are:
libzstd.dll
snappy32.dll
snappy64.dll
any idea how to fix this issue
I'm using v 4.80
Just add these codes to [YourPluginName].csproj :
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<RemoveDir Directories="..\..\Web\Grand.Web\Plugins\[YourPluginOutput]\refs" />
<RemoveDir Directories="..\..\Web\Grand.Web\Plugins\[YourPluginOutput]\ref" />
<Delete Files="..\..\Web\Grand.Web\Plugins\[YourPluginOutput]\libzstd.dll" />
<Delete Files="..\..\Web\Grand.Web\Plugins\[YourPluginOutput]\snappy32.dll" />
<Delete Files="..\..\Web\Grand.Web\Plugins\[YourPluginOutput]\snappy64.dll" />
</Target>
0