Compiling apps with DLL source
Posted on 2004-11-02
I have a small application to test a custom written DLL. The VB.Net solution contains 2 projects:
DLLTester - Actual application that calls the DLL routines for testing
MyDLL - The DLL code itself.
DLLTester is set as the startup project. Run the program and all is well.
My question has to do with re-compilation. Assume the program and DLL are working ok. Next I want to add a new class to the DLL and I do so. I right click MyDLL in the solution window and choose "Build". Now I go to my main app and do something like:
Dim Test as new MyDLL.NewClass
1 - Why is Newclass not a valid symbol? I just recompiled the DLL. Shouldn't the main program now see the new class?
2 - Why, when I right clicked the DLL and chose Build, did it attempt to build the entire solution? If I choose only the DLL, should it build only the DLL?