TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mmcguirk
NA
1
0
Installing to the GAC
Aug 8 2004 10:23 AM
Hi, I created a dll, MyForm.dll which contains a form inherited from System.Windows.Forms.Form. And would like to automatically add a reference to MyForm.dll when I add a MyForm to a project. I signed it with sn.exe, and created an install program that installs this dll into the GAC. I also run a custom action which installs all the necessary files (vsz, vsdir, ... ) for this form to appear in the add new item dialog. In the default.js file for the MyAddFormWizard, I added the following code: var refmanager = GetCSharpReferenceManager(selProj); refmanager.Add("MyForm" ); I also tried var refmanager = GetCSharpReferenceManager(selProj); refmanager.Add("MyForm.dll" ); In hopes that a reference to my dll would be added to the project when I add my form to the project. Instead I get a message saying that the dll cannot be found. Also, When I open the Add Reference dialog on a project. MyForm.dll does not appear in the list on the .NET tabpage. I have verified all the VS files, and MyForm.dll is in the GAC. Is there something else I must do to accomplish what I am trying to do?
Reply
Answers (
2
)
Running Sql Script File (*.Sql) Through Setup(msi) ...
Customize MSI Installation - User Interface Dialog