title: error c1107 could not find assembly please specify the assembly search path using /AI or by setting the LIBPATH environment variable
body: <p>I'm making two trivial C++/CLI projects, one is an executable and the other is a DLL. In the executable, I write</p>
  
  <pre><code>#using "DllLibName.dll"
  </code></pre>
  
  <p>and it gives me error c1107, which I though would be easy to solve. I googled for LIBPATH and went to Linker, General, Additional Library Directories and added the folder containing DllLibName.dll and it still wouldn't work. Same error.</p>
  
  <p>I tried replacing the directive with</p>
  
  <pre><code>#using "D:\AbsolutePath\DllLibName.dll"
  </code></pre>
  
  <p>and everything works. I don't wanna have to type in the full absolute path. What am I missing? This feels so stupid.</p>