Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 203171

Re: What setting to set to stop .NET dll being copied to build folder

$
0
0

Very cool...

 

But now I can test the PPL creation, and my new conclusion is that you cannot avoid copying the DLL file.

 

If I leave the project from which I build my code open, it remains in memory at the path from which it is built (e.g. C:\Sources\MyNETProject\HelloWorld.dll) and so opening my built lvlibp file causes a conflict as the OP found (expected C:\InstalledFiles\MyNETProject\HelloWorld.dll, found C:\Sources\...)

If I close the source code first, I just load it from the installed/copied version and all is well.

 

By adding the DLL to my project (before building, so moving out of dependencies) I can at least choose to:

  • rename it
  • move it somewhere specific
  • if I wanted, create a post-build action and delete it, but this might break my PPL... :/

Perhaps renaming it (HelloWorld.dll -> MyCompany_HelloWorld.dll) and placing it in a desired location (C:\MyCompany\MyNETAssemblies\) you could achieve what you want?


Viewing all articles
Browse latest Browse all 203171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>