Do you have problems with links to Visual Studio 2008 and C #?

I am working on a project, and it seems that every time someone checks the project from the source control to create it in their local field, they have problems because the links are no longer resolved.

I can’t understand if there are configuration issues or a problem with Visual Studio 2008. Anyone else running into this problem? If so, is it possible to fix this problem?

Note: this may have something to do with the explicit DLL referenced paths that are referenced or how they refer ... I'm not quite sure.

+3
source share
6 answers

I usually see this with one of three things.

  • A, B
  • GAC ( ) A, B
  • ,

Visual Studio , .

, .SUO .csproj.user. .

+2

.csproj. , , , - . : <HintPath> <ProjectReference>.

+1

, DLL-. DLL "" ( Visual Studio "" ), , DLL. , , , DLL. " " , .

+1

, , - / csproj.user <ReferencePath> under <propertygroup>

0

, DLL - DLL lib . , Visual Studio .

0
  • "Project References". DLL . / , . 2C.
  • . :

. DLL , , LIB. . .

. , , .. ( GAC, , c:\Program files\etc ..).

. DLL , .. . DLL . , Copy-Local .

, XML CSPROJ , ProjectReference HintPath.

Finally, every member of the team should be aware of this. If someone does something else, then again and again you will feel pain with each new “Get Latest”.

0
source

Source: https://habr.com/ru/post/1739007/


All Articles