How and where do I set Newtonsoft.Json.dll reference to load from hs.GetAppPath / bin / mypluginname ?
Announcement
Collapse
No announcement yet.
Newtonsoft.Json.dll bin location
Collapse
X
-
Newtonsoft.Json.dll bin location
Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | SwedenTags: None
-
add the probing privatepath to your app.config file, this is what I do;
Code:<?xml version="1.0" encoding="utf-8"?> <configuration> <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing="true" /> </settings> </system.net> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="Bin/LAMetric;bin/LAMetric"/> </assemblyBinding> </runtime> </configuration>
-
[QUOTE=mrhappy;1286309]add the probing privatepath to your app.config file, this is what I do;
That make sense. Thank you.Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
[QUOTE=tonlof;1286318]Originally posted by mrhappy View Postadd the probing privatepath to your app.config file, this is what I do;
That make sense. Thank you.
PHP Code:<configuration>
<startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\tasker;bin/tasker;Bin\tasker;Bin/tasker;tasker"/>
</assemblyBinding>
</runtime>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
Please excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
-
This is the config file content I use for one of my plug-ins which works just fine:
PHP Code:<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin/YourPlugIn"/>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Paul..
Comment
-
Originally posted by sooty View PostThis is the config file content I use for one of my plug-ins which works just fine:
PHP Code:<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin/YourPlugIn"/>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Paul..
I had a mixup with missplaced <startup> tagPlease excuse any spelling and grammatical errors I may make.
--
Tasker Plugin / Speech Droid
Tonlof | Sweden
Comment
Comment