Help me - Many Project <--> 1 model

I have a solution with 3 project (VS-2005)

  • LibraryManagement.Boudary (VB.Net project - WindowForm)
  • LibraryManagement.Controller(C# Class Library)
  • LibraryManagement.Entity(C# Class Libray)

I want to use 3 project with one model to round trip engineering.
I see SDE-VS support 1 project <–> 1 model
Does SDE-VS support many project<–> 1 model ?
Please help me about this problem
Thanks very much for any reply.

Best regards.
Hoang Anh Nguyen

Hi Hoang Anh Nguyen,

Thank you for your post. We are sorry that we do not support reference between projects at the moment, but it will be supported within this year. If there is any news about this issue, I’ll come back to you immediately.

Alternatively, you can import all the models into your main model to reference between models. Below are the steps:

  1. in Solution Properties, select a project as startup project
  2. right-click the project and select Open SDE-VS
  3. right-click the project and select Update UML Model
  4. select File > Save SDE-VS Project
    (Repeat step 1 to 4 for all 3 projects)
  5. set the project that contains your main model as the startup project in Solution Properties
  6. right-click the project and select Open SDE-VS
  7. select File > Import… > UML Model… and specify the SDE-VS project (.vpp)
    After importing all the SDE-VS projects (.vpp) into your project containing the main model, you will be able to reference between models.

Please note that in this way, code synchronization may generate duplicated models, which are from other projects, into src folder. To avoid this, please do not select the models imported from other SDE-VS projects (.vpp) when synchronizing code.

I hope these can help. If there are any further inquiries, please feel free to contact me.

Best regards,
Lilian Wong

hi Lilian Wong,
Thank you very much for your help.

Best regards,

Hoang Anh Nguyen

Hi hoanganhis,

Thanks for your reply and I’m glad that I can help. If you have any other questions in the future, please feel free to ask.

Best regards,
Lilian Wong