I have a project where I use the reference paths to store the necessary dlls.
My problem is when I checked these in my TFS server and after my colleague got the latest version from the TFS server, he could not see the reference paths on the property page in the project files.
What did I do wrong?
Assembly reference paths are not part of the project file. Visual Studio saves them in a user specific setting file (*.csproj.user or *.vbproj.user), which shouldn't be added to source control.
If you want to share assembly reference paths with the rest of the team you can add them manually to a project file with the <AssemblySearchPaths>
element:
<PropertyGroup>
<AssemblySearchPaths>
..\..\MyReferences\;
</AssemblySearchPaths>
</PropertyGroup>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With