Hi i have two projects lets say A and B, they have source files which are same, now i want that if file in one project change its reflected in another project. in simple word i want one copy for all these shared source files,
Important, these files are in different folders due to project structure i cannot put them in one common folder.
Project A
-- Views(folder)
-- Login.cs
-- Stock.cs
-- Controller(folder)
-- LoginController.cs
-- StockController.cs
Project B
-- Views(folder)
-- Login.cs
-- WholeSellers.cs
-- Controller(folder)
-- LoginController.cs
-- WholeSellersController.cs
now in above project you can see that login and LoginController is shared files but in different folders, and i cannot put them in one folder due to project folder structure limitation and also cannot create shared separate project because they cannot be build separately.
i have used Git sub-module but it create single common folder which is not my case, any other solution? please help me.