Reputation: 6238
Simple question.
I have multiple projects e.g.
SomeDir/Common/Utils.csproj SomeDir/Services/Common/Utils.csproj
Projects's namespace reflect folder structure, how can I add both of these utils projects as assembly to another project? Visual studio seems to complain about the name.
Upvotes: 2
Views: 517
Reputation: 6238
One option is just editing the .csproj the UI of VS does not support loading 2 projects with the same name, editing the file is just fine.
As addition, these projects will end up in Artifactory, so then the problem will no longer persist.
Upvotes: 0
Reputation: 1536
I would give my projects more descriptive names. Even though both projects are utils, there will still be a difference in what they are meant to do, or where they should be used. An example of this descriptive naming could be:
This would adress the problem of conflicting names, and will also make it more clear to anyone reading your code.
Upvotes: 3