Trying to add a new class to the References folder...
I add the class and rebuild the solution, but the class is not included in the library that's built. It may have something to do with my action element in the binding recipe I am not real familiar with that element). This is all to add a reference to an unbound reference. Any thoughts?
Thanks!
dwj
I don't quite understand your problem. Are you saying that the class you added is not *compiled* when you compile the project? Have you verified this with Reflector?
Or are you getting an error from GAT at runtime? Maybe the qualified type name for the unbound reference type in the CreateUnboundReference action is not correct for your class? Verify with Reflector the fully qualified name of your class, and use that as the ReferenceType attribute in the action.
HTH
Daniel Cazzulino [Solutions Architect MVP]
kzu
Sorry for my confusing post. The problem I was having was that the class I added was NOT compiled into the resulting library (which resulted in a GAT runtime exception). I did verify that using reflector.
Here's some other interesting news. I tried copying one the files that came with GAT (in the references folder - ClassLibraryReference.cs) and pasting it into the same folder. I then renamed the class and file to be the name that I needed. As soon as I did that and rebuilt, it showed up in the library as expected.
Is there some setting that must be set on new files added to the project? I could not find anything that worked aside from the previous;y mentioned solution.
Thanks for the help!
dwj
>>>Is there some setting that must be set on new files added to the project?
You can double check using the Properties windows (F4) that a given file has its build action set to "Compile".