I have a solution which contains a Windows Forms application and a DLL which contains base classes, including base forms which are used in the application. The forms app contains a project reference to the DLL. I have been able to use the standard inheritance picker to create new forms in the application which inherit from the DLL base form, but recently I have been getting an error: "Unable to add reference '<dllname>' to the current application. Check that a different version of '<dllname>' is not already referenced". There's only one reference to the dll in the form app's .csproj file, it's the project reference. I have verified this using a text editor to open the .csproj file. I can build the inherited form if I create it in the DLL project and the inheritance picker shows the exact same location for the component location as the forms app project does. Any ideas why this might be happening?
No comments:
Post a Comment