Open VanHinthem opened 4 years ago
Yes, you can use source control to share the configuration used to generate the entities. It's stored as JSON, so it's easy to merge with other branches.
That not what I meant, I meant a "shared project type" in visual studio.
No, TT files are not supported in Shared Projects.
What you can do is add the TT file to another project as a container, add a symbolic link of the generated files in the 'shared project' folder in Windows pointing to the original files in the other project, and then add it to the 'shared project' in Visual Studio.
Windows Explorer:
Add the linked files to the SharedProject.
You could add the generated files as a direct link in the plugin project, but then you have to add all the generated files manually to every project, which might not be the most convenient.
I highly recommend that you generate a schema file per plugin project; for web services, you can use a single schema file.
Hi @yagasoft, Hi @VanHinthem,
I implemented a solution for this Issue, i can upload it in my Fork.
br
Hello, @AngelRodriguez8008 ,
It would be great if you would create a pull request, please. This project structure is used frequently and would benefit many people indeed.
Hi @yagasoft,
I did it one year ago or more, i remember your version was too complex to make the Changes that I needed & i decided to use original code from xairrick.
I have no time at the moment to make a Pull Request in your Fork, but I guest you can take a look what I did in the follow code and redo it.
CrmCodeGenerator.VSPackage/CrmCodeGenerator.VSPackage.vsct at Line 72
CrmCodeGenerator.VSPackage/Commands/ApplyCustomTool.cs
I can put it in my todo-list but it can take some time (months), until it get done.
br
Thank you, @AngelRodriguez8008 .
Your welcome @yagasoft ! Feel free to contact me if you need some help.
Those this also work in a shared project type?