I am trying to create a template in VS2013 that copies all .dlls from the template folder to the new project and registers them. So someone using my template can start working right away without having to manually register the .dlls.
I have added the references in a project and then made a template out of it. Then I created class that inherits from iWizard and copies the .dlls. Finally I edited the .vsproj file to include a reference to my iWizard class.
However when I create a new project based on my templates the .dlls are only recognized after I click on the references tab in Visual Studio. I do not need to do anything else than clicking on project->references. I do not need to add them. So it is a minor inconvenience, but essentially still a buggy program/template.
So I tried adding a reference in the iWizard like this:
Dim proj As VSLangProj.VSProject = project.Object
proj.References.Add("MyDll.dll")"project" is the argument from Public Sub ProjectFinishedGenerating(project As Project)
This has no effect though. I still need to click on references before I can use my .dlls.