-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Dependencies don't flow from new NETStandard project to old Desktop projects through ProjectReferences #901
Comments
In case it is interesting here is the ResolveAssemblyReferences output from the log. ResolveAssemblyReferences output from log2>Target "ResolveAssemblyReferences: (TargetId:115)" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets" from project "C:\temp\14565\DesktopConsoleApp\DesktopConsoleApp.csproj" (target "ResolveReferences" depends on it): 2>Added Item(s): 2> _ReferenceInstalledAssemblyDirectory= 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\ 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\ 2>Set Property: ResolveAssemblyReferencesStateFile=obj\Debug\DesktopConsoleApp.csprojResolveAssemblyReference.cache 2>Added Item(s): 2> _ResolveAssemblyReferencesApplicationConfigFileForExes= 2> App.config 2> OriginalItemSpec=App.config 2> TargetPath=DesktopConsoleApp.exe.config 2>Set Property: ResolveAssemblyReferencesSilent=false 2>Set Property: ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch=Warning 2>Removed Item(s): Reference=System.Core 2>Added Item(s): 2> Reference= 2> System.Core 2> Implicit=true 2>Task "ResolveAssemblyReference" (TaskId:73) 2> Task Parameter: 2> Assemblies= 2> System 2> System.Xml.Linq 2> System.Data.DataSetExtensions 2> Microsoft.CSharp 2> System.Data 2> System.Net.Http 2> System.Xml 2> System.Core 2> Implicit=true (TaskId:73) 2> Task Parameter: 2> AssemblyFiles= 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> BuildReference=true 2> Configuration=Debug 2> FullConfiguration=Debug|AnyCPU 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll (TaskId:73) 2> Task Parameter: 2> TargetFrameworkDirectories= 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\ 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\ (TaskId:73) 2> Task Parameter:CandidateAssemblyFiles=App.config (TaskId:73) 2> Task Parameter: 2> SearchPaths= 2> {CandidateAssemblyFiles} 2> {HintPathFromItem} 2> {TargetFrameworkDirectory} 2> {AssemblyFoldersFromConfig:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\AssemblyFolders.config,v4.6.1} 2> {Registry:Software\Microsoft\.NETFramework,v4.6.1,AssemblyFoldersEx} 2> {AssemblyFolders} 2> {GAC} 2> {RawFileName} 2> bin\Debug\ (TaskId:73) 2> Task Parameter: 2> AllowedAssemblyExtensions= 2> .winmd 2> .dll 2> .exe (TaskId:73) 2> Task Parameter: 2> AllowedRelatedFileExtensions= 2> .pdb 2> .xml 2> .pri 2> .dll.config 2> .exe.config (TaskId:73) 2> Task Parameter:TargetProcessorArchitecture=msil (TaskId:73) 2> Task Parameter:AppConfigFile=App.config (TaskId:73) 2> Task Parameter:AutoUnify=True (TaskId:73) 2> Task Parameter:SupportsBindingRedirectGeneration=True (TaskId:73) 2> Task Parameter:FindSatellites=True (TaskId:73) 2> Task Parameter:FindSerializationAssemblies=True (TaskId:73) 2> Task Parameter:FindRelatedFiles=True (TaskId:73) 2> Task Parameter:Silent=False (TaskId:73) 2> Task Parameter:TargetFrameworkVersion=v4.6.1 (TaskId:73) 2> Task Parameter:TargetFrameworkMoniker=.NETFramework,Version=v4.6.1 (TaskId:73) 2> Task Parameter:TargetFrameworkMonikerDisplayName=.NET Framework 4.6.1 (TaskId:73) 2> Task Parameter:TargetedRuntimeVersion=v4.0.30319 (TaskId:73) 2> Task Parameter:StateFile=obj\Debug\DesktopConsoleApp.csprojResolveAssemblyReference.cache (TaskId:73) 2> Task Parameter:FullTargetFrameworkSubsetNames=Full (TaskId:73) 2> Task Parameter:FullFrameworkFolders=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\ (TaskId:73) 2> Task Parameter:WarnOrErrorOnTargetArchitectureMismatch=Warning (TaskId:73) 2> TargetFrameworkMoniker: (TaskId:73) 2> .NETFramework,Version=v4.6.1 (TaskId:73) 2> TargetFrameworkMonikerDisplayName: (TaskId:73) 2> .NET Framework 4.6.1 (TaskId:73) 2> TargetedRuntimeVersion: (TaskId:73) 2> v4.0.30319 (TaskId:73) 2> Assemblies: (TaskId:73) 2> System (TaskId:73) 2> System.Xml.Linq (TaskId:73) 2> System.Data.DataSetExtensions (TaskId:73) 2> Microsoft.CSharp (TaskId:73) 2> System.Data (TaskId:73) 2> System.Net.Http (TaskId:73) 2> System.Xml (TaskId:73) 2> System.Core (TaskId:73) 2> AssemblyFiles: (TaskId:73) 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll (TaskId:73) 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll (TaskId:73) 2> CandidateAssemblyFiles: (TaskId:73) 2> TargetFrameworkDirectories: (TaskId:73) 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\ (TaskId:73) 2> InstalledAssemblyTables: (TaskId:73) 2> IgnoreInstalledAssemblyTable: (TaskId:73) 2> False (TaskId:73) 2> SearchPaths: (TaskId:73) 2> {CandidateAssemblyFiles} (TaskId:73) 2> {HintPathFromItem} (TaskId:73) 2> {TargetFrameworkDirectory} (TaskId:73) 2> {AssemblyFoldersFromConfig:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\AssemblyFolders.config,v4.6.1} (TaskId:73) 2> {Registry:Software\Microsoft\.NETFramework,v4.6.1,AssemblyFoldersEx} (TaskId:73) 2> {AssemblyFolders} (TaskId:73) 2> {GAC} (TaskId:73) 2> {RawFileName} (TaskId:73) 2> bin\Debug\ (TaskId:73) 2> AllowedAssemblyExtensions: (TaskId:73) 2> .winmd (TaskId:73) 2> .dll (TaskId:73) 2> .exe (TaskId:73) 2> AllowedRelatedFileExtensions: (TaskId:73) 2> .pdb (TaskId:73) 2> .xml (TaskId:73) 2> .pri (TaskId:73) 2> .dll.config (TaskId:73) 2> .exe.config (TaskId:73) 2> AppConfigFile: (TaskId:73) 2> App.config (TaskId:73) 2> AutoUnify: (TaskId:73) 2> True (TaskId:73) 2> CopyLocalDependenciesWhenParentReferenceInGac: (TaskId:73) 2> True (TaskId:73) 2> FindDependencies: (TaskId:73) 2> True (TaskId:73) 2> TargetProcessorArchitecture: (TaskId:73) 2> msil (TaskId:73) 2> StateFile: (TaskId:73) 2> obj\Debug\DesktopConsoleApp.csprojResolveAssemblyReference.cache (TaskId:73) 2> InstalledAssemblySubsetTables: (TaskId:73) 2> IgnoreInstalledAssemblySubsetTable: (TaskId:73) 2> False (TaskId:73) 2> TargetFrameworkSubsets: (TaskId:73) 2> FullTargetFrameworkSubsetNames: (TaskId:73) 2> Full (TaskId:73) 2> ProfileName: (TaskId:73) 2> (TaskId:73) 2> FullFrameworkFolders: (TaskId:73) 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\ (TaskId:73) 2> LatestTargetFrameworkDirectories: (TaskId:73) 2> ProfileTablesLocation: (TaskId:73) 2> Primary reference "NetstandardLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null". (TaskId:73) 2> Resolved file path is "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll". (TaskId:73) 2> Reference found at search path location "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll". (TaskId:73) 2> Found related file "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.pdb". (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll". (TaskId:73) 2> Reference found at search path location "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll". (TaskId:73) 2> This reference is not "CopyLocal" because it's in a Frameworks directory. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.Linq.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.Linq.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.DataSetExtensions.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.DataSetExtensions.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.CSharp.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.CSharp.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Net.Http.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Net.Http.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Primary reference "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Core.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Core.winmd", but it didn't exist. (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Dependency "System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:73) 2> Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\System.Runtime.dll". (TaskId:73) 2> Reference found at search path location "{TargetFrameworkDirectory}". (TaskId:73) 2> For SearchPath "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3". (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\System.Runtime.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\System.Runtime.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\System.Runtime.exe", but it didn't exist. (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Runtime.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Runtime.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Runtime.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\System.Runtime.winmd", but it didn't exist. (TaskId:73) 2> Required by "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll". (TaskId:73) 2> This reference is not "CopyLocal" because it's a prerequisite file. (TaskId:73) 2> The ImageRuntimeVersion for this reference is "v4.0.30319". (TaskId:73) 2> Dependency "Microsoft.Win32.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:73) 2> Could not resolve this reference. Could not locate the assembly "Microsoft.Win32.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. (TaskId:73) 2> For SearchPath "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3". (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> For SearchPath "{TargetFrameworkDirectory}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> For SearchPath "{AssemblyFoldersFromConfig:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\AssemblyFolders.config,v4.6.1}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SqlDb\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SqlDb\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\SqlDb\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.5\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Common\Assemblies\v2.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> For SearchPath "{Registry:Software\Microsoft\.NETFramework,v4.6.1,AssemblyFoldersEx}". (TaskId:73) 2> Considered AssemblyFoldersEx locations. (TaskId:73) 2> For SearchPath "{AssemblyFolders}". (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft SQL Server\130\SDK\Assemblies\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft SQL Server\130\SDK\Assemblies\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files (x86)\Microsoft SQL Server\130\SDK\Assemblies\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> For SearchPath "{GAC}". (TaskId:73) 2> Considered "Microsoft.Win32.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", which was not found in the GAC. (TaskId:73) 2> For SearchPath "bin\Debug\". (TaskId:73) 2> Considered "bin\Debug\Microsoft.Win32.Primitives.winmd", but it didn't exist. (TaskId:73) 2> Considered "bin\Debug\Microsoft.Win32.Primitives.dll", but it didn't exist. (TaskId:73) 2> Considered "bin\Debug\Microsoft.Win32.Primitives.exe", but it didn't exist. (TaskId:73) 2> Required by "C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll". (TaskId:73) 2> AssemblyFoldersEx location: "{Registry:Software\Microsoft\.NETFramework,v4.6.1,AssemblyFoldersEx}" (TaskId:73) 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\MSBuild\v14.0 (TaskId:73) 2> C:\Program Files (x86)\Microsoft Web Tools\ReferenceAssemblies\14.0\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ReferenceAssemblies\v4.5\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PublicAssemblies\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Prototyping\Libraries\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Libraries\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft WCF Data Services\5.6.4\bin\.NETFramework\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ReferenceAssemblies\v4.0\ (TaskId:73) 2> (TaskId:73) 2> C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Prototyping\Libraries\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\ (TaskId:73) 2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ReferenceAssemblies\v2.0\ (TaskId:73) 2> C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\\PublicAssemblies (TaskId:73) 2> C:\Program Files (x86)\Microsoft Chart Controls\Assemblies (TaskId:73) 2> C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies\ (TaskId:73) 2> Output Item(s): 2> ReferencePath= 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.CSharp.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=Microsoft.CSharp 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> Version=4.0.0.0 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName=NetstandardLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2> ImageRuntime=v4.0.30319 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ProjectReferenceOriginalItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=1.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Core.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> Implicit=true 2> OriginalItemSpec=System.Core 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.DataSetExtensions.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Data.DataSetExtensions 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Data 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Net.Http.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Net.Http 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Xml 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.Linq.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Xml.Linq 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 (TaskId:73) 2> Output Item(s): 2> _ResolveAssemblyReferenceResolvedFiles= 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Microsoft.CSharp.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=Microsoft.CSharp 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\mscorlib.dll 2> Version=4.0.0.0 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName=NetstandardLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2> ImageRuntime=v4.0.30319 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ProjectReferenceOriginalItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=1.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Core.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> Implicit=true 2> OriginalItemSpec=System.Core 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.DataSetExtensions.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Data.DataSetExtensions 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Data.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Data 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Net.Http.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Net.Http 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Xml 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Xml.Linq.dll 2> CopyLocal=false 2> FrameworkFile=true 2> FusionName=System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 2> ImageRuntime=v4.0.30319 2> OriginalItemSpec=System.Xml.Linq 2> Redist=Microsoft-Windows-CLRCoreComp.4.6.1 2> ReferenceSourceTarget=ResolveAssemblyReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> Version=4.0.0.0 (TaskId:73) 2> Output Item(s): 2> ReferenceDependencyPaths= 2> C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\Facades\System.Runtime.dll 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=false 2> FrameworkFile=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName=System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 2> ImageRuntime=v4.0.30319 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom={TargetFrameworkDirectory} 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=4.0.20.0 (TaskId:73) 2> Output Item(s): 2> _ReferenceRelatedPaths= 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.pdb 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName= 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=1.0.0.0 (TaskId:73) 2> Output Item(s): 2> ReferenceCopyLocalPaths= 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName=NetstandardLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2> ImageRuntime=v4.0.30319 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ProjectReferenceOriginalItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=1.0.0.0 2> C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.pdb 2> BuildReference=true 2> Configuration=Debug 2> CopyLocal=true 2> FullConfiguration=Debug|AnyCPU 2> FusionName= 2> MSBuildSourceProjectFile=C:\temp\14565\NetstandardLibrary\NetstandardLibrary.csproj 2> MSBuildSourceTargetName=GetTargetPath 2> Name=NetstandardLibrary 2> OriginalItemSpec=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> OriginalProjectReferenceItemSpec=..\NetstandardLibrary\NetstandardLibrary.csproj 2> OutputItemType= 2> Platform=AnyCPU 2> Project={0FE233C8-525C-49D7-A630-3A0B64676D8A} 2> ReferenceOutputAssembly=true 2> ReferenceSourceTarget=ProjectReference 2> ResolvedFrom=C:\temp\14565\NetstandardLibrary\bin\Debug\netstandard1.3\NetstandardLibrary.dll 2> SetConfiguration=Configuration=Debug 2> SetPlatform=Platform=AnyCPU 2> SetTargetFramework=TargetFramework=netstandard1.3;ProjectHasSingleTargetFramework=true 2> TargetPlatformIdentifier=Windows 2> TargetPlatformMoniker=Windows,Version=7.0 2> Targets= 2> UndefineProperties=;TargetFramework;ProjectHasSingleTargetFramework 2> Version=1.0.0.0 (TaskId:73) 2> Output Item(s): FileWrites=obj\Debug\DesktopConsoleApp.csprojResolveAssemblyReference.cache (TaskId:73) 2> Output Property: DependsOnSystemRuntime=True (TaskId:73) 2>Done executing task "ResolveAssemblyReference". (TaskId:73) 2>Done building target "ResolveAssemblyReferences" in project "DesktopConsoleApp.csproj".: (TargetId:115)I particularly found this part interesting that RAR saw the missing dependency but didn't bubble it up as an issue.
|
I think the issue here it's that the desktop project is not in PackageReference mode, so the reference don't flow. This is a bad experience, we've had several other issues filled for this. |
@dsplaisted Not sure about that, I saw it in a PackageRef project here: https://github.com/dotnet/corefx/issues/14565#issuecomment-280880858 |
For anyone that might still be hitting this you can workaround it by explicitly making the .NET Framework project a ProjectReference based project by setting the following property in the project:
There is also a good change you will need auto-bindingredirects as well so make sure that is set in your project:
|
weshaggard, can you elaborate on the workaround? Where should I put the text below (which file)? In which project, the one targeting the .NET Standard or the one referencing the .Net Standard project (the .Net Framework project)?
|
In the .NET Framework project that is consuming the .NET Standard library. Note that if you have a packages.config file with nuget packages installed you will need to reinstall them as that property opts you into the PackageReference model instead of the packages.config model (see https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files for some more information). |
@weshaggard - does PackageReference just happen to work with .NET Framework projects? The doc you linked suggests it's not supported:
|
I've been using |
cc @AlexGhiondea fyi. |
My .net framework 4.7 project already has the package references in the project file. I also tried adding the |
BTW, what I'm noticing is that the exception I'm getting of for System.Data.Common version 4.1.0.0. If I look at the .net standard library, it uses the MySqlConnector nuget package, which has a dependency on System.Data.Common version 4.3.0.0. I can not find anything that wants to use version 4.1.0.0 If I use nuget to add this package to the .net framework app, then this is fixed, but it throws it for another dependency in the ,net standard class library. |
@weshaggard can you help with the latest info above? |
I'm still having this issue with VS15.3 and netstandard 2.0 You could try upvoting it there... |
@remcolam I pulled down your same solution from your reported issue and I did repro the issue but I was able to fix it by adding |
@weshaggard I was under the impression that was needed when switching from packages.config to project references, and I created these projects from the beginning with project references... But I will try it and let you know. It still seems to me visual studio should be making sure the dependencies flow through correctly, so I'll keep the issue open at visual studio community... 😉 |
Yes that us what it does but the package dependencies don't currently flow correctly in the packages.config world only in the new ProjectReference world.
I completely agree this is an issue that should be address which is why I opened this issue to track it as well. I'm only a consumer of these tools and so I would also like this fixed and what I suggested here is merely a workaround. |
Adding |
Why is this workaround necessary? Why is the behavior not defaulted to copying needed dependencies to the build directory? Under what scenario would I rather NOT have them copied? FYI this is still occurring in Visual Studio 2017 and .NET Standard 2.0. |
@babelshift SDK projects don't copy dependencies to the output directory because the output can be different depending on what the TFM of the consuming project is. Consider the following: A (project) (net461) A -> B -> Newtonsoft.Json For this dependency graph, the version of Newtonsoft.Json copied to A's output folder is net45, the version copied into the output of B is ns1.1 |
@davidfowl So what's the long term solution here? Using the Please help me understand a bit more.
After build, the Console App's bin directory contains:
This will fail at runtime because Class Library 2.dll and Newtonsoft.Json.dll are non-existent. The Visual Studio tooling seems to offer no assistance to remedy this unless I'm missing something. |
Yes, that's the long term solution.
Is Console App (.NET 4.6.1) using package reference? If, not then this is a known issue. We should have blocked that reference but we don't and it ends up breaking at runtime. |
Is this just for package references? I was directed here from the same issue regarding project references. I have the netstandard2.0 project in the same solution and I'm trying to reference from .net framework console app and nothing resolves. I added in the package restore style but it doesn't seem to work for me. Repro from scratch here: https://github.com/dasjestyr/netstandard_ref_error Using VS2017.3.3. |
I'm using VS2017 15.3.3 and .NET Core 2.0.0 SDK. My (simplified) solution consists of following projects:
Using Is this intended behavior of package reference or a bug? |
Have you tried adding a net461 target to the standard library? That fixed it for me. |
The ideal scenario is that the class library is netstandard*.* and the test project targets |
Still got the problem in VS2017 15.5 , .NET Framework 4.6.1 and Core 2.0 Standard 1.4 |
This works for project references for the project in the same solution. If I try to add a reference to an external project .dll from a project in another solution, that project's dependencies don't get copied into the output folder of the referring project. |
I think I'm seeing the same thing with a JavaScript UWP app, as the default VS template uses Referencing a .NET Standard 1.4 component using |
@jnm2 I believe what you want to do is have the test project for a netstandard library actually target only netcoreapp. Then it will only pick up the netstandard version of the class library. I don't really see the point of having the test project target both net*** and netcoreapp. So basically reverse of what you're saying. |
There is an argument to be made for testing a netstandard1.4 class library against net47;netcoreapp1.1;netcoreapp2.0 since the behaviors are different. But that's very difficult to do if the class library also targets net* or netcoreapp*, with current tooling. There are discussions other places about making this easier by allowing tests to target netstandard1.4 and configuring the test runner to execute the same test dll against multiple runtimes and versions. My point is only that you should not target the class library as netstandard1.4;net461 unless your test project is netcoreapp*.*;net461 or else you'll be shipping an untested unique dll and that's a very bad thing to do. |
@weshaggard This solution didn't work for me. |
@godrose any chance you could post a simple repo solution somewhere? I do expect you are hitting the limitations outlined in this issue but I can hopefully help you find the right workaround. |
I have an actual not-so-simple repro solution you can clone.
How to reproduce the issue:
If these repo steps are too much I'll try to add a lighter repo tomorrow. |
@godrose interestingly enough I got just the opposite results from you. With the simple clone at commit LogoFX/Samples.Specifications@437cf10 I get the "object reference is not set to an instance of an object" error. However if I go back one commit to LogoFX/Samples.Specifications@8603d82 and do a full clean (i.e. close VS and run git clean -xdf) then I can successfully login and see the grid of data. Can you please make sure you are cleaning, not only the bin folder but the obj folders as well, ideally a full git clean -xdf. While looking around in the solution I noticed you have a lot of other projects which use packages.config files. It is generally not advised to mix and match solutions with some projects using packages.config and other projects using ProjectReference. The two models don't play well together as the packages.config projects do not correctly flow dependencies from referenced projects/packages. |
Thanks. I will check this.
I'm just trying out this approach to see if it fixes the issue
…On 21 Feb 2018 20:09, "Wes Haggard" ***@***.***> wrote:
@godrose <https://github.com/godrose> interestingly enough I got just the
opposite results from you. With the simple clone at commit
***@***.***
<LogoFX/Samples.Specifications@437cf10>
I get the "object reference is not set to an instance of an object" error.
However if I go back one commit to ***@***.***
<LogoFX/Samples.Specifications@8603d82>
and do a full clean (i.e. close VS and run git clean -xdf) then I can
successfully login and see the grid of data. Can you please make sure you
are cleaning, not only the bin folder but the obj folders as well, ideally
a full git clean -xdf.
While looking around in the solution I noticed you have a lot of other
projects which use packages.config files. It is generally not advised to
mix and match solutions with some projects using packages.config and other
projects using ProjectReference. The two models don't play well together as
the packages.config projects do not correctly flow dependencies from
referenced projects/packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#901 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHbkIxE1fewGpp2tiotemxgssSsIFU9cks5tXFvjgaJpZM4MI9nG>
.
|
@weshaggard |
Not a question, but an observation and approach we're depending upon.... We are also experiencing some issues and have a concern about addressing the reverse transitive dependency issue for reflection loaded IoC patterns.... exe -> A <- B -> C Also, there are multiple items loaded this way this has been working fine in purely net 4.6.1, but now with netstandard, we have been having different issues on production machines and dev machines. |
I have experienced this same issue, but the workaround didn't seem to resolve the problem in my case. Here are some steps to reproduce a simple version of what I'm seeing:
Not sure if it's something specifically to do with how web application projects resolve dependencies, but adding the The only way I could work around the problem was to install all the dependencies in both projects. |
I encountered this problem today, and it happened to be with the exact same System.Data.SqlClient.dll that @greg84 ran into problems with. I have uploaded a simple repro like @greg84 described here: |
There are two ways to fix this:
|
Can we just don't break .NET Framework projects introducing half done (like .NET Core) style features? |
I've encountered this issue today when I deploy to my Azure App Service. We're running Full Framework 4.7 and one of our libraries is responsible for rendering Razor views to string for export. It leverages `
|
Winforms project working but installer is broken. Had to add packagereference tag to csproj for it to work. dotnet/sdk#901 IS63_CreateWebApiProject
that's really a bad experience |
The workaround isn't working for me. The scenario might be slightly different:
If I run
... but this does not appear as a warning/error in the Visual Studio build output. My NETFramework project has the suggested properties in the csproj file:
I can solve the problem by adding a direct reference to the missing assembly in either my NETStandard class library or my NETFramework project, but it seems like a possible bug somewhere. |
It was not able to find the DNS assembly dotnet/sdk#901
…ct". It was not able to find the DNS assembly dotnet/sdk#901
Copied from https://github.com/dotnet/corefx/issues/14565.
From @jnm2
Am I doing something incorrect? I was not sure if this is the same problem as the other problems I've had with netstandard. Just by luck, every single one of my forays into netstandard have failed with this same type of issue. I have great confidence that it's just me and these will all be fixed by VS2017's RTM.
Create a new .NET Standard library targeting netstandard1.3.
Create a static method Class1.DoWork() that throws new Win32Exception().
Add a .NET Framework console app targeting net462
In Program.cs, call Class1.DoWork() and add a reference to the library project.
Run the console app and get:
Is this a binding redirect issue or something? I hope this isn't the way things are intended to be? As long as this type of error exists, can you please maintain a netstandard troubleshooting document with step-by-step guidance for the workaround?
I would hope that scenarios like this would be covered by integration tests.
https://github.com/jnm2/misc-codesamples/raw/master/Bug%20reports/.NET/NetStandard%20Win32Exception%20causes%20file%20not%20found.zip
From @weshaggard
Looking at his solution the issue stems from the fact that the ProjectReference from the DesktopConsoleApp to the NETStandardLibrary project isn't flowing the dependencies correctly so it isn't seeing Microsoft.Win32.Primitives at all. It isn't even an issue with binding redirects in this case it is just a missing dependency. To workaround it you can add a reference to the Microsoft.Win32.Primitives nuget package to the DesktopConsoleApp. However this sounds like a tooling issue where dependencies aren't flowing.
The text was updated successfully, but these errors were encountered: