delay-load

Set Custom Path to Referenced DLL's?

自作多情 提交于 2019-12-17 03:48:11
问题 I've got a C# project (call it MainProj ) which references several other DLL projects. By adding these projects to MainProj 's references, it will build them and copy their resulting DLL's to MainProj's working directory. What I'd like to do is have these referenced DLL's be located in a subdirectory of MainProj 's working directory, i.e. MainProj/bin/DLLs, rather than the working directory itself. I'm not a very experienced C# programmer, but coming from the C++ world, I'm assuming one

cannot open input file 'Delayimp.lib'

≯℡__Kan透↙ 提交于 2019-12-13 07:48:26
问题 I am compiling a project under Visual Studio 2013 (OS: Windows 7). The Project is compiled with the Platform Toolset "Visual Studio 2008 (v90)". In the options I have set a dll to be loaded delayed like this: /DELAYLOAD:"PluginPost.dlll" The error I am getting is the following: 1>LINK : fatal error LNK1181: cannot open input file 'Delayimp.lib' And now my question is the following. I know that I need the Delayimp.lib in order to load a dll delayed, but where do I find this Delayimp.lib? Thank

Delay-loading TestCaseSource in NUnit

梦想的初衷 提交于 2019-12-06 03:53:34
问题 I have some NUnit tests which uses a TestCaseSource function. Unfortunately, the TestCaseSource function that I need takes a long time to initialize, because it scans a folder tree recursively to find all of the test images that would be passed into the test function. (Alternatively it could load from a file list XML every time it's run, but automatic discovery of new image files is still a requirement.) Is it possible to specify an NUnit attribute together with TestCaseSource such that NUnit

Delay-loading TestCaseSource in NUnit

萝らか妹 提交于 2019-12-04 08:28:33
I have some NUnit tests which uses a TestCaseSource function. Unfortunately, the TestCaseSource function that I need takes a long time to initialize, because it scans a folder tree recursively to find all of the test images that would be passed into the test function. (Alternatively it could load from a file list XML every time it's run, but automatic discovery of new image files is still a requirement.) Is it possible to specify an NUnit attribute together with TestCaseSource such that NUnit does not enumerate the test cases (does not call the TestCaseSource function) until either the user

Set Custom Path to Referenced DLL's?

空扰寡人 提交于 2019-11-26 17:07:12
I've got a C# project (call it MainProj ) which references several other DLL projects. By adding these projects to MainProj 's references, it will build them and copy their resulting DLL's to MainProj's working directory. What I'd like to do is have these referenced DLL's be located in a subdirectory of MainProj 's working directory, i.e. MainProj/bin/DLLs, rather than the working directory itself. I'm not a very experienced C# programmer, but coming from the C++ world, I'm assuming one approach would be to remove the project references and explicitly load the required DLL's by path and