title: Having trouble when using Newtonsoft.Json.dll externally. Entry points can not be found
body: <p>A cad program called NX has to run a VB code in a specific project. Therefore I can not utilize nuget to install any library. I should call a dll and its methods inside the code.</p>
  <pre><code>Declare Auto Function GenerateJsonText Lib &quot;D:\Lib\Nevtonsoft.Json.dll&quot; Alias &quot;SerializeObject&quot; (ByVal inputObject As Object) As String
  </code></pre>
  <p>in order to call this:</p>
  <pre><code>Dim serializedText As String = GenerateJsonText(p)
  </code></pre>
  <p>here &quot;p&quot; is an object that is not detailed here.</p>
  <p>When I run this cod I am getting an error :.... SerializeObject entry point has not been found in Newtonsoft.Json.dll</p>
  <p>here you can find the namespace:
  <a href="https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_JsonConvert.htm" rel="nofollow noreferrer">namespace definitions</a></p>