I have .NET 5 WEB API project that is consuming services from the submodules. These submodules have its own repository.
I am using GitBlash and BitBucket as repository.
I have added submodule reference by:
git submodule add http://bitbucket.org/myprojectA
then I went in Visual Studio, opened the project and created folder 'Submodule', followed by I add project references of submodule within the project folder. I commit and push changes.
Then I cloned the same project from BitBucket using SourceTree to test, I opened API project in visual studio and I got the warning message
one or more projects in the solution were not loaded correctly
Not sure what I am missing. Do I need to run some git bash command to update reference??
There are two possible solutions:
git submodule update --init --recursive
git clone --recursive <repo URL>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.