I added Autoumapper and NUnit packages to my solution through Nuget and they work fine, and the project compiles on my computer.
When I announced the build server to build this solution, I received the following messages:
[MSBuild] AutoMapper\AutoMapperSpike.csproj: Build default targets (1s) [10:35:50][AutoMapper\AutoMapperSpike.csproj] ResolveAssemblyReferences [10:35:50][ResolveAssemblyReferences] ResolveAssemblyReference [10:35:50][ResolveAssemblyReference] Primary reference "AutoMapper". [10:35:50][ResolveAssemblyReference] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360, 9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "AutoMapper". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [10:35:50][ResolveAssemblyReference] For SearchPath "{HintPathFromItem}". [10:35:50][ResolveAssemblyReference] Considered "..\packages\AutoMapper.2.2.1\lib\net40\AutoMapper.dll", but it didn't exist.
Does anyone know how to solve this problem?
Another thing I noticed is that it creates artificts files in the build server also with the packages folder. The only thing he cannot do is build the project on the build server.
source share