Answer the question
In order to leave comments, you need to log in
How to get rid of such warnings in teamcity?
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "KellermanSoftware.Compare-NET-Objects, Version=3.3.0.0, Culture=neutral, PublicKeyToken=d970ace04cc85217, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
Answer the question
In order to leave comments, you need to log in
Use NuGet to work with dependencies ( https://www.nuget.org/packages/CompareNETObjects/ is just what you need), and if you already use it, obviously, you need to fix the list of dependencies in packages.config, or do a nuget restore before calling MSBuild.
Since the assembly is not found, then either: a) the path to it is incorrect; b) the path is correct, but it is not pumped out by nuget when building;
There may also be c) a jamb with versions / tokens, but this is unlikely.
Well, of course, if your code compiles and works without problems, remove this reference from the project altogether.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question