在我的项目.csproj
文件的副本中,我引用了一个程序集:
<ProjectReference Include="..\..\..\..\..\Components\Stackoverflow.NET Library\Stackoverflow Dot Net Library.csproj">
<Project>{CFF8D7A7-D7D9-4460-84E6-E44FD9D33ACF}</Project>
<Name>Stackoverflow Dot Net Library</Name>
</ProjectReference>
每当其他开发人员获得该.csproj
文件的版本时,他必须将其更改为:
<ProjectReference Include="..\..\..\..\Stackoverflow DotNet Library\Stackoverflow Dot Net Library.csproj">
<Project>{CFF8D7A7-D7D9-4460-84E6-E44FD9D33ACF}</Project>
<Name>Stackoverflow Dot Net Library</Name>
</ProjectReference>
当他检查时,我必须检查并将其修改回:
<ProjectReference Include="..\..\..\..\..\Components\Stackoverflow.NET Library\Stackoverflow Dot Net Library.csproj">
<Project>{CFF8D7A7-D7D9-4460-84E6-E44FD9D33ACF}</Project>
<Name>Stackoverflow Dot Net Library</Name>
</ProjectReference>
然后另一位开发人员将文件修改为:
<ProjectReference Include="C:\Users\Jeff\Documents\Develop\VS2010\Stackoverflow.NET Library\Stackoverflow Dot Net Library.csproj">
<Project>{CFF8D7A7-D7D9-4460-84E6-E44FD9D33ACF}</Project>
<Name>Stackoverflow Dot Net Library</Name>
</ProjectReference>
接下来检查我必须将其改回:
<ProjectReference Include="..\..\..\..\..\Components\Stackoverflow.NET Library\Stackoverflow Dot Net Library.csproj">
<Project>{CFF8D7A7-D7D9-4460-84E6-E44FD9D33ACF}</Project>
<Name>Stackoverflow Dot Net Library</Name>
</ProjectReference>
鉴于库程序集:
我们如何让多个开发人员使用相同的解决方案?
注意: Visual C#Studio 2010 Express Edition