Skip to content

Building a default .NET Core 1.1 project displays a bunch of "conflicts" #1533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
davkean opened this issue Aug 24, 2017 · 3 comments
Closed
Assignees

Comments

@davkean
Copy link
Member

davkean commented Aug 24, 2017

  1. msbuild foo.csproj
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

</Project>

Expected: No messages around conflicts
Actual:

Build contains a bunch of messages about conflicts - not sure what to do about them:

Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 08/24/17 3:20:16 PM.
Project "C:\Users\davkean\Source\Repos\ConsoleApp90\ConsoleApp90\ConsoleApp90.csproj" on node 1 (default targets).
_HandlePackageFileConflicts:
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\debian-x64\native\libuv.so' and 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\fedora-x64\native\libuv.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\debian-x64\native\libuv.so' and 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\opensuse-x64\native\libuv.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\debian-x64\native\libuv.so' and 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\rhel-x64\native\libuv.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\win7-arm\native\libuv.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\win7-x64\native\libuv.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\win7-arm\native\libuv.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\libuv\1.9.1\runtimes\win7-x86\native\libuv.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win-x64\native\Microsoft.DiaSymReader.Native.amd64.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win\native\Microsoft.DiaSymReader.Native.amd64.dll'
  .  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win-x86\native\Microsoft.DiaSymReader.Native.x86.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win\native\Microsoft.DiaSymReader.Native.x86.dll'.  C
  ould not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win\native\Microsoft.DiaSymReader.Native.arm.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.diasymreader.native\1.4.1\runtimes\win8-arm\native\Microsoft.DiaSymReader.Native.arm.dll'.
  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.win32.registry\4.3.0\runtimes\unix\lib\netstandard1.3\Microsoft.Win32.Registry.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\microsoft.win32.registry\4.3.0\runtimes\win\lib\netstandard1.3\Microsoft.Win32.Registry.dll'.  Could no
  t determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.fedora.23-x64.runtime.native.syst
  em.security.cryptography.openssl\4.3.1\runtimes\fedora.23-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.fedora.24-x64.runtime.native.syst
  em.security.cryptography.openssl\4.3.1\runtimes\fedora.24-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.
  system.security.cryptography.openssl\4.3.1\runtimes\opensuse.13.2-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.opensuse.42.1-x64.runtime.native.
  system.security.cryptography.openssl\4.3.1\runtimes\opensuse.42.1-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.rhel.7-x64.runtime.native.system.
  security.cryptography.openssl\4.3.1\runtimes\rhel.7-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.ubuntu.14.04-x64.runtime.native.s
  ystem.security.cryptography.openssl\4.3.1\runtimes\ubuntu.14.04-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.ubuntu.16.04-x64.runtime.native.s
  ystem.security.cryptography.openssl\4.3.1\runtimes\ubuntu.16.04-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.1\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Users\davkean\.nuget\packages\runtime.ubuntu.16.10-x64.runtime.native.s
  ystem.security.cryptography.openssl\4.3.1\runtimes\ubuntu.16.10-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.fileversioninfo\4.0.0\runtimes\unix\lib\netstandard1.3\System.Diagnostics.FileVersionInfo.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.fileversioninfo\4.0.0\runtimes\win\lib\netstandard1.3\System.Dia
  gnostics.FileVersionInfo.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.process\4.3.0\runtimes\linux\lib\netstandard1.4\System.Diagnostics.Process.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.process\4.3.0\runtimes\osx\lib\netstandard1.4\System.Diagnostics.Process.dll'.
   Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.process\4.3.0\runtimes\linux\lib\netstandard1.4\System.Diagnostics.Process.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.diagnostics.process\4.3.0\runtimes\win\lib\netstandard1.4\System.Diagnostics.Process.dll'.
   Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.globalization.extensions\4.3.0\runtimes\unix\lib\netstandard1.3\System.Globalization.Extensions.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.globalization.extensions\4.3.0\runtimes\win\lib\netstandard1.3\System.Globalizatio
  n.Extensions.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.io.compression\4.3.0\runtimes\unix\lib\netstandard1.3\System.IO.Compression.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.io.compression\4.3.0\runtimes\win\lib\netstandard1.3\System.IO.Compression.dll'.  Could not determine
  winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.io.filesystem.watcher\4.3.0\runtimes\linux\lib\netstandard1.3\System.IO.FileSystem.Watcher.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.io.filesystem.watcher\4.3.0\runtimes\osx\lib\netstandard1.3\System.IO.FileSystem.Watche
  r.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.io.filesystem.watcher\4.3.0\runtimes\linux\lib\netstandard1.3\System.IO.FileSystem.Watcher.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.io.filesystem.watcher\4.3.0\runtimes\win\lib\netstandard1.3\System.IO.FileSystem.Watche
  r.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.io.memorymappedfiles\4.3.0\runtimes\unix\lib\netstandard1.3\System.IO.MemoryMappedFiles.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.io.memorymappedfiles\4.3.0\runtimes\win\lib\netstandard1.3\System.IO.MemoryMappedFiles.dll
  '.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.net.http\4.3.2\runtimes\unix\lib\netstandard1.6\System.Net.Http.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.net.http\4.3.2\runtimes\win\lib\netstandard1.3\System.Net.Http.dll'.  Could not determine winner due to equal file
   and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.net.nameresolution\4.3.0\runtimes\unix\lib\netstandard1.3\System.Net.NameResolution.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.net.nameresolution\4.3.0\runtimes\win\lib\netstandard1.3\System.Net.NameResolution.dll'.  Coul
  d not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.net.requests\4.3.0\runtimes\unix\lib\netstandard1.3\System.Net.Requests.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.net.requests\4.3.0\runtimes\win\lib\netstandard1.3\System.Net.Requests.dll'.  Could not determine winner d
  ue to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.net.security\4.3.1\runtimes\unix\lib\netstandard1.6\System.Net.Security.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.net.security\4.3.1\runtimes\win\lib\netstandard1.3\System.Net.Security.dll'.  Could not determine winner d
  ue to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.runtime.interopservices.runtimeinformation\4.3.0\lib\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.runtime.interopservices.runtimeinformation\4.3.0\runtimes\un
  ix\lib\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.runtime.interopservices.runtimeinformation\4.3.0\lib\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.runtime.interopservices.runtimeinformation\4.3.0\runtimes\wi
  n\lib\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.algorithms\4.3.0\runtimes\osx\lib\netstandard1.6\System.Security.Cryptography.Algorithms.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.algorithms\4.3.0\runtimes\unix\lib\netstandar
  d1.6\System.Security.Cryptography.Algorithms.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.algorithms\4.3.0\runtimes\osx\lib\netstandard1.6\System.Security.Cryptography.Algorithms.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.algorithms\4.3.0\runtimes\win\lib\netstandard
  1.6\System.Security.Cryptography.Algorithms.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.cng\4.3.0\runtimes\unix\lib\netstandard1.6\System.Security.Cryptography.Cng.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.cng\4.3.0\runtimes\win\lib\netstandard1.6\System.Security.
  Cryptography.Cng.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.csp\4.3.0\runtimes\unix\lib\netstandard1.3\System.Security.Cryptography.Csp.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.csp\4.3.0\runtimes\win\lib\netstandard1.3\System.Security.
  Cryptography.Csp.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.encoding\4.3.0\runtimes\unix\lib\netstandard1.3\System.Security.Cryptography.Encoding.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.encoding\4.3.0\runtimes\win\lib\netstandard1.3\S
  ystem.Security.Cryptography.Encoding.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.openssl\4.3.0\lib\netstandard1.6\System.Security.Cryptography.OpenSsl.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.openssl\4.3.0\runtimes\unix\lib\netstandard1.6\System.Security.C
  ryptography.OpenSsl.dll'.  Choosing 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.openssl\4.3.0\runtimes\unix\lib\netstandard1.6\System.Security.Cryptography.OpenSsl.dll' because AssemblyVersion '4.0.1.0' is greater than '4.0.0.0'.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.x509certificates\4.3.0\runtimes\unix\lib\netstandard1.6\System.Security.Cryptography.X509Certificates.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.cryptography.x509certificates\4.3.0\runtimes\
  win\lib\netstandard1.6\System.Security.Cryptography.X509Certificates.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.security.principal.windows\4.3.0\runtimes\unix\lib\netstandard1.3\System.Security.Principal.Windows.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.security.principal.windows\4.3.0\runtimes\win\lib\netstandard1.3\System.Securi
  ty.Principal.Windows.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.text.encoding.codepages\4.0.1\runtimes\unix\lib\netstandard1.3\System.Text.Encoding.CodePages.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.text.encoding.codepages\4.0.1\runtimes\win\lib\netstandard1.3\System.Text.Encoding.C
  odePages.dll'.  Could not determine winner due to equal file and assembly versions.
  Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.threading.overlapped\4.3.0\runtimes\unix\lib\netstandard1.3\System.Threading.Overlapped.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.threading.overlapped\4.3.0\runtimes\win\lib\netstandard1.3\System.Threading.Overlapped.dll
  '.  Could not determine winner due to equal file and assembly versions.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreGenerateAssemblyInfo:
Skipping target "CoreGenerateAssemblyInfo" because all output files are up-to-date with respect to the input files.
CoreCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1705 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;DEBUG;NETCOREAPP1_1 /reference:C:\Users\davkean\.nuget\packages\microsoft.csharp\4.3.0\ref\netstandard1.0\Microsof
  t.CSharp.dll /reference:C:\Users\davkean\.nuget\packages\microsoft.visualbasic\10.1.0\ref\netstandard1.1\Microsoft.VisualBasic.dll /reference:C:\Users\davkean\.nuget\packages\microsoft.win32.primitives\4.3.0\ref\netstandard1.3\Microsoft.Win32.Primitives.dll /reference:C:\Users\davkean\.nuget\packages\system.appco
  ntext\4.3.0\ref\netstandard1.6\System.AppContext.dll /reference:C:\Users\davkean\.nuget\packages\system.buffers\4.3.0\lib\netstandard1.1\System.Buffers.dll /reference:C:\Users\davkean\.nuget\packages\system.collections.concurrent\4.3.0\ref\netstandard1.3\System.Collections.Concurrent.dll /reference:C:\Users\davke
  an\.nuget\packages\system.collections\4.3.0\ref\netstandard1.3\System.Collections.dll /reference:C:\Users\davkean\.nuget\packages\system.collections.immutable\1.3.0\lib\netstandard1.0\System.Collections.Immutable.dll /reference:C:\Users\davkean\.nuget\packages\system.componentmodel.annotations\4.3.0\ref\netstanda
  rd1.4\System.ComponentModel.Annotations.dll /reference:C:\Users\davkean\.nuget\packages\system.componentmodel\4.3.0\ref\netstandard1.0\System.ComponentModel.dll /reference:C:\Users\davkean\.nuget\packages\system.console\4.3.0\ref\netstandard1.3\System.Console.dll /reference:C:\Users\davkean\.nuget\packages\system
  .diagnostics.debug\4.3.0\ref\netstandard1.3\System.Diagnostics.Debug.dll /reference:C:\Users\davkean\.nuget\packages\system.diagnostics.diagnosticsource\4.3.1\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll /reference:C:\Users\davkean\.nuget\packages\system.diagnostics.process\4.3.0\ref\netstandard1.4\
  System.Diagnostics.Process.dll /reference:C:\Users\davkean\.nuget\packages\system.diagnostics.tools\4.3.0\ref\netstandard1.0\System.Diagnostics.Tools.dll /reference:C:\Users\davkean\.nuget\packages\system.diagnostics.tracing\4.3.0\ref\netstandard1.5\System.Diagnostics.Tracing.dll /reference:C:\Users\davkean\.nuge
  t\packages\system.dynamic.runtime\4.3.0\ref\netstandard1.3\System.Dynamic.Runtime.dll /reference:C:\Users\davkean\.nuget\packages\system.globalization.calendars\4.3.0\ref\netstandard1.3\System.Globalization.Calendars.dll /reference:C:\Users\davkean\.nuget\packages\system.globalization\4.3.0\ref\netstandard1.3\Sys
  tem.Globalization.dll /reference:C:\Users\davkean\.nuget\packages\system.globalization.extensions\4.3.0\ref\netstandard1.3\System.Globalization.Extensions.dll /reference:C:\Users\davkean\.nuget\packages\system.io.compression\4.3.0\ref\netstandard1.3\System.IO.Compression.dll /reference:C:\Users\davkean\.nuget\pac
  kages\system.io.compression.zipfile\4.3.0\ref\netstandard1.3\System.IO.Compression.ZipFile.dll /reference:C:\Users\davkean\.nuget\packages\system.io\4.3.0\ref\netstandard1.5\System.IO.dll /reference:C:\Users\davkean\.nuget\packages\system.io.filesystem\4.3.0\ref\netstandard1.3\System.IO.FileSystem.dll /reference:
  C:\Users\davkean\.nuget\packages\system.io.filesystem.primitives\4.3.0\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll /reference:C:\Users\davkean\.nuget\packages\system.io.filesystem.watcher\4.3.0\ref\netstandard1.3\System.IO.FileSystem.Watcher.dll /reference:C:\Users\davkean\.nuget\packages\system.io.mem
  orymappedfiles\4.3.0\ref\netstandard1.3\System.IO.MemoryMappedFiles.dll /reference:C:\Users\davkean\.nuget\packages\system.io.unmanagedmemorystream\4.3.0\ref\netstandard1.3\System.IO.UnmanagedMemoryStream.dll /reference:C:\Users\davkean\.nuget\packages\system.linq\4.3.0\ref\netstandard1.6\System.Linq.dll /referen
  ce:C:\Users\davkean\.nuget\packages\system.linq.expressions\4.3.0\ref\netstandard1.6\System.Linq.Expressions.dll /reference:C:\Users\davkean\.nuget\packages\system.linq.parallel\4.3.0\ref\netstandard1.1\System.Linq.Parallel.dll /reference:C:\Users\davkean\.nuget\packages\system.linq.queryable\4.3.0\ref\netstandar
  d1.0\System.Linq.Queryable.dll /reference:C:\Users\davkean\.nuget\packages\system.net.http\4.3.2\ref\netstandard1.3\System.Net.Http.dll /reference:C:\Users\davkean\.nuget\packages\system.net.nameresolution\4.3.0\ref\netstandard1.3\System.Net.NameResolution.dll /reference:C:\Users\davkean\.nuget\packages\system.ne
  t.primitives\4.3.0\ref\netstandard1.3\System.Net.Primitives.dll /reference:C:\Users\davkean\.nuget\packages\system.net.requests\4.3.0\ref\netstandard1.3\System.Net.Requests.dll /reference:C:\Users\davkean\.nuget\packages\system.net.security\4.3.1\ref\netstandard1.3\System.Net.Security.dll /reference:C:\Users\davk
  ean\.nuget\packages\system.net.sockets\4.3.0\ref\netstandard1.3\System.Net.Sockets.dll /reference:C:\Users\davkean\.nuget\packages\system.net.webheadercollection\4.3.0\ref\netstandard1.3\System.Net.WebHeaderCollection.dll /reference:C:\Users\davkean\.nuget\packages\system.numerics.vectors\4.3.0\ref\netstandard1.0
  \System.Numerics.Vectors.dll /reference:C:\Users\davkean\.nuget\packages\system.objectmodel\4.3.0\ref\netstandard1.3\System.ObjectModel.dll /reference:C:\Users\davkean\.nuget\packages\system.reflection.dispatchproxy\4.3.0\ref\netstandard1.3\System.Reflection.DispatchProxy.dll /reference:C:\Users\davkean\.nuget\pa
  ckages\system.reflection\4.3.0\ref\netstandard1.5\System.Reflection.dll /reference:C:\Users\davkean\.nuget\packages\system.reflection.extensions\4.3.0\ref\netstandard1.0\System.Reflection.Extensions.dll /reference:C:\Users\davkean\.nuget\packages\system.reflection.metadata\1.4.1\lib\netstandard1.1\System.Reflecti
  on.Metadata.dll /reference:C:\Users\davkean\.nuget\packages\system.reflection.primitives\4.3.0\ref\netstandard1.0\System.Reflection.Primitives.dll /reference:C:\Users\davkean\.nuget\packages\system.reflection.typeextensions\4.3.0\ref\netstandard1.5\System.Reflection.TypeExtensions.dll /reference:C:\Users\davkean\
  .nuget\packages\system.resources.reader\4.3.0\lib\netstandard1.0\System.Resources.Reader.dll /reference:C:\Users\davkean\.nuget\packages\system.resources.resourcemanager\4.3.0\ref\netstandard1.0\System.Resources.ResourceManager.dll /reference:C:\Users\davkean\.nuget\packages\system.runtime\4.3.0\ref\netstandard1.
  5\System.Runtime.dll /reference:C:\Users\davkean\.nuget\packages\system.runtime.extensions\4.3.0\ref\netstandard1.5\System.Runtime.Extensions.dll /reference:C:\Users\davkean\.nuget\packages\system.runtime.handles\4.3.0\ref\netstandard1.3\System.Runtime.Handles.dll /reference:C:\Users\davkean\.nuget\packages\syste
  m.runtime.interopservices\4.3.0\ref\netcoreapp1.1\System.Runtime.InteropServices.dll /reference:C:\Users\davkean\.nuget\packages\system.runtime.interopservices.runtimeinformation\4.3.0\ref\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll /reference:C:\Users\davkean\.nuget\packages\system.runti
  me.numerics\4.3.0\ref\netstandard1.1\System.Runtime.Numerics.dll /reference:C:\Users\davkean\.nuget\packages\system.security.cryptography.algorithms\4.3.0\ref\netstandard1.6\System.Security.Cryptography.Algorithms.dll /reference:C:\Users\davkean\.nuget\packages\system.security.cryptography.encoding\4.3.0\ref\nets
  tandard1.3\System.Security.Cryptography.Encoding.dll /reference:C:\Users\davkean\.nuget\packages\system.security.cryptography.primitives\4.3.0\ref\netstandard1.3\System.Security.Cryptography.Primitives.dll /reference:C:\Users\davkean\.nuget\packages\system.security.cryptography.x509certificates\4.3.0\ref\netstand
  ard1.4\System.Security.Cryptography.X509Certificates.dll /reference:C:\Users\davkean\.nuget\packages\system.security.principal\4.3.0\ref\netstandard1.0\System.Security.Principal.dll /reference:C:\Users\davkean\.nuget\packages\system.text.encoding\4.3.0\ref\netstandard1.3\System.Text.Encoding.dll /reference:C:\Use
  rs\davkean\.nuget\packages\system.text.encoding.extensions\4.3.0\ref\netstandard1.3\System.Text.Encoding.Extensions.dll /reference:C:\Users\davkean\.nuget\packages\system.text.regularexpressions\4.3.0\ref\netcoreapp1.1\System.Text.RegularExpressions.dll /reference:C:\Users\davkean\.nuget\packages\system.threading
  \4.3.0\ref\netstandard1.3\System.Threading.dll /reference:C:\Users\davkean\.nuget\packages\system.threading.tasks.dataflow\4.7.0\lib\netstandard1.1\System.Threading.Tasks.Dataflow.dll /reference:C:\Users\davkean\.nuget\packages\system.threading.tasks\4.3.0\ref\netstandard1.3\System.Threading.Tasks.dll /reference:
  C:\Users\davkean\.nuget\packages\system.threading.tasks.extensions\4.3.0\lib\netstandard1.0\System.Threading.Tasks.Extensions.dll /reference:C:\Users\davkean\.nuget\packages\system.threading.tasks.parallel\4.3.0\ref\netstandard1.1\System.Threading.Tasks.Parallel.dll /reference:C:\Users\davkean\.nuget\packages\sys
  tem.threading.thread\4.3.0\ref\netstandard1.3\System.Threading.Thread.dll /reference:C:\Users\davkean\.nuget\packages\system.threading.threadpool\4.3.0\ref\netstandard1.3\System.Threading.ThreadPool.dll /reference:C:\Users\davkean\.nuget\packages\system.threading.timer\4.3.0\ref\netstandard1.2\System.Threading.Ti
  mer.dll /reference:C:\Users\davkean\.nuget\packages\system.xml.readerwriter\4.3.0\ref\netstandard1.3\System.Xml.ReaderWriter.dll /reference:C:\Users\davkean\.nuget\packages\system.xml.xdocument\4.3.0\ref\netstandard1.3\System.Xml.XDocument.dll /debug+ /debug:portable /filealign:512 /nologo /optimize- /out:obj\Deb
  ug\netcoreapp1.1\ConsoleApp90.dll /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /target:exe /warnaserror- /utf8output /deterministic+ /analyzer:C:\Users\davkean\.nuget\packages\microsoft.codeanalysis.analyzers\
  1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll /analyzer:C:\Users\davkean\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll Program.cs "C:\Users\davkean\AppData\Local\Temp\.NETCoreApp,Version=v1.1.AssemblyAttributes.cs" obj\Debug
  \netcoreapp1.1\ConsoleApp90.AssemblyInfo.cs /warnaserror+:NU1605
  Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin\Roslyn
CopyFilesToOutputDirectory:
  Copying file from "obj\Debug\netcoreapp1.1\ConsoleApp90.dll" to "bin\Debug\netcoreapp1.1\ConsoleApp90.dll".
  ConsoleApp90 -> C:\Users\davkean\Source\Repos\ConsoleApp90\ConsoleApp90\bin\Debug\netcoreapp1.1\ConsoleApp90.dll
  Copying file from "obj\Debug\netcoreapp1.1\ConsoleApp90.pdb" to "bin\Debug\netcoreapp1.1\ConsoleApp90.pdb".
CleanupEmptyRefsFolder:
  Directory "C:\Users\davkean\Source\Repos\ConsoleApp90\ConsoleApp90\bin\Debug\netcoreapp1.1\refs" doesn't exist. Skipping.
Done Building Project "C:\Users\davkean\Source\Repos\ConsoleApp90\ConsoleApp90\ConsoleApp90.csproj" (default targets).
@ericstj
Copy link
Member

ericstj commented Aug 24, 2017

I believe this is related to #1510. Messages like this are bogus:

Encountered conflict between 'Runtime:C:\Users\davkean\.nuget\packages\system.net.security\4.3.1\runtimes\unix\lib\netstandard1.6\System.Net.Security.dll' and 'Runtime:C:\Users\davkean\.nuget\packages\system.net.security\4.3.1\runtimes\win\lib\netstandard1.3\System.Net.Security.dll'.

Because the assemblies will have a different path and will not conflict. I think the calculation of the targetpath from within the task for these RID-specific items is busted.

/cc @dsplaisted

@livarcocc
Copy link
Contributor

Unless I am missing something about this bug, it has since been fixed. So I am closing it.

If that's not the case, let me know how to repro it and re-activate it.

@jstawski
Copy link

jstawski commented Apr 4, 2018

Hello, we are currently running into an issue that seems to be related to this. Building and deploying through Visual Studio is ok, but doing so through VSTS is not. The bottom line is that on Visual Studio the right DLL is chosen and copied to the Bin folder, while on VSTS the wrong one is used. More info: https://developercommunity.visualstudio.com/content/problem/228261/vsts-build-choosing-wrong-dll.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants