Build samples

Dec 16, 2013 at 4:12 PM
Hello.

When I open "NPOI.Examples.2010.sln" and try build it, I had multiple unresolved assembly reference errors. I know that I would be add reference to binary NPOI dll's in a some project samples one-by-one, but Its count is too big in the samples solution.
  1. Can I add reference to all sample projects in solution in one action?
  2. And There is a technique for install binary dlls in system by default?
  3. How is it true technique for install NPOI binary dlls and any other libraries in system?
Sorry of my english and my newbie questions.

Best regards!
Coordinator
Dec 19, 2013 at 4:33 PM
You can use Notepad++ and replace all of the relative path of the assembly reference with an absolute path (on your computer) in the csproj file.
Marked as answer by foxxxx on 1/9/2014 at 5:42 PM
Dec 24, 2013 at 7:05 AM
That's a really big stuff to modify every project file...
I found that they use the path (in 20131204 examples package.zip):
..\..\..\solution\Lib\NPOI.dll
So we just create a solution folder and copy our dll files from the binary package into the above path.
Image

(Ionic.Zip.dll can be downloaded from: http://dotnetzip.codeplex.com/)
Coordinator
Jan 9, 2014 at 10:36 PM
I don't think it's a big deal because Notepad++ supports searching and replacing in files (including sub folders).
Marked as answer by foxxxx on 1/9/2014 at 5:42 PM
Jan 10, 2014 at 12:53 AM
Thanks for answers.
True: decision is realy obvious.
First decision is bulk replace paths in projects (Notepad++ for example). Second one is: download full the sources and build them,
Marked as answer by foxxxx on 1/9/2014 at 5:53 PM