Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Multiple ProjectFactory implementations

$
0
0

Hi experts,

I created a new VS-Project Package, and three new Project types, which I copied to the respective template folder. For each of the projects, I have a separate ProjectFactory. While creating the projects basically works, the problem I face is that - no matter which project is created - always the SAME ProjectFactory is used.

In short, I did the following:

  1. [ProvideProjectFactory(typeof(Factory1), ...)] for all three factories
  2. RegisterProjectFactory(new Factory1()) for all three factories
  3. Assigned a GUID to each of the factories
  4. In the project's template file, the <ProjectGuid> holds the respective Factory's GUID

I think that should be all the necessary steps. What am I missing?

Thanks,
Max


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>