NuGet / Home

Repo for NuGet Client issues
Other
1.49k stars 250 forks source link

Cannot build NuGet package: "GetPackageTargetPath does not exist in the project" error. #6685

Closed goldmont closed 2 years ago

goldmont commented 6 years ago

NuGet version: 4.3.0.4406 Visual Studio for Mac version: 7.4 (build 1033) OS version: macOS 10.13.3

Hi, I'm trying to build my private NuGet package but everytime I build my cross-platform Xamarin library using Visual Studio, the "GetPackageTargetPath does not exist in the project." error occurs. I made a tiny sample project containing just the Nugetizer. Just try to build.

Building: Sample.NuGet (Debug)
Build started 3/16/2018 1:03:48 PM.
Build started 3/16/2018 1:03:48 PM.
Build started 3/16/2018 1:03:49 PM.
__________________________________________________
Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample/Sample.csproj" (Build target(s)):

Target ResolveAssemblyReferences:
    A TargetFramework profile exclusion list will be generated.
Target GenerateTargetFrameworkMonikerAttribute:
  Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target CoreCompile:
    /Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/4.5/csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG /errorendlocation /preferreduilang:en-US /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/mscorlib.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/mscorlib.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/Microsoft.CSharp.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/Microsoft.VisualBasic.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Collections.Concurrent.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Collections.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.ComponentModel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.ComponentModel.EventBasedAsync.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Core.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Diagnostics.Contracts.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Diagnostics.Debug.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Diagnostics.Tools.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Diagnostics.Tracing.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Dynamic.Runtime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Globalization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.IO.Compression.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.IO.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Linq.Expressions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Linq.Parallel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Linq.Queryable.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Net.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Net.Http.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Net.NetworkInformation.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Net.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Net.Requests.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Numerics.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.ObjectModel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Reflection.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Reflection.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Reflection.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Resources.ResourceManager.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.InteropServices.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.InteropServices.WindowsRuntime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Numerics.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Serialization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Serialization.Json.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Serialization.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Runtime.Serialization.Xml.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Security.Principal.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.ServiceModel.Web.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Text.Encoding.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Text.Encoding.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Text.RegularExpressions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Threading.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Threading.Tasks.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Threading.Tasks.Parallel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Windows.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.ReaderWriter.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.Serialization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.XDocument.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile111/System.Xml.XmlSerializer.dll /debug+ /debug:portable /optimize- /out:obj/Debug/Sample.dll /target:library /utf8output MyClass.cs Properties/AssemblyInfo.cs "/var/folders/b5/qkl3lgfj7n5dtpvmpczvmk7m0000gn/T/.NETPortable,Version=v4.5,Profile=Profile111.AssemblyAttributes.cs"
Target CopyFilesToOutputDirectory:
    Copying file from "obj/Debug/Sample.dll" to "bin/Debug/Sample.dll".
    Sample -> /Users/peppe1197/Development/VisualStudio/Sample/Sample/bin/Debug/Sample.dll
    Copying file from "obj/Debug/Sample.pdb" to "bin/Debug/Sample.pdb".
__________________________________________________
Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.Android/Sample.Android.csproj" (Build target(s)):

Target _SetLatestTargetFrameworkVersion:
    Found Java SDK version 1.8.0.
Target _ResolveMonoAndroidSdks:
    MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/
    Android Platform API level: 27
    TargetFrameworkVersion: v8.1
    Android NDK: /Users/peppe1197/Library/Developer/Xamarin/android-ndk/android-ndk-r14b/
    Android SDK: /Users/peppe1197/Android/SDK/
    Android SDK Build Tools: /Users/peppe1197/Android/SDK/build-tools/28.0.0-rc1/
    Java SDK: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/
Target _GetPrimaryCpuAbi:
    _PrimaryCpuAbi=
Target _CheckInstantRunCondition:
    Dex Fast Deployment Enabled: False
Target _SetupInstantRun:
    Android Java Class for Fast Deployment: 
Target _SetupApplicationJavaClass:
    Application Java class: android.app.Application
Target _ValidateAndroidPackageProperties:
      PackageName: Sample.Sample
Target _GenerateAndroidAssetsDir:
  Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
Target _ComputeAndroidResourcePaths:
    Creating directory "obj/Debug/res/".
Target _CreateAdditionalResourceCache:
  Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _GenerateAndroidResourceDir:
  Skipping target "_GenerateAndroidResourceDir" because it has no outputs.
Target _DefineBuildTargetAbis:
    Build target ABI: arm64-v8a;armeabi;armeabi-v7a;x86;x86_64
Target _AddLibraryProjectsEmbeddedResourceToProject:
  Skipping target "_AddLibraryProjectsEmbeddedResourceToProject" because it has no inputs.
Target _CreateAdditionalResourceCache:
  Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
Target _GenerateJavaDesignerForComponent:
  Skipping target "_GenerateJavaDesignerForComponent" because it has no inputs.
Target GenerateTargetFrameworkMonikerAttribute:
  Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target CoreCompile:
    /Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/4.5/csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;__XAMARIN_ANDROID_v1_0__;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__;__ANDROID_10__;__ANDROID_11__;__ANDROID_12__;__ANDROID_13__;__ANDROID_14__;__ANDROID_15__;__ANDROID_16__;__ANDROID_17__;__ANDROID_18__;__ANDROID_19__;__ANDROID_20__;__ANDROID_21__;__ANDROID_22__;__ANDROID_23__;__ANDROID_24__;__ANDROID_25__;__ANDROID_26__;__ANDROID_27__ /errorendlocation /preferreduilang:en-US /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Java.Interop.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Registry.AccessControl.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Registry.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/netstandard.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.AppContext.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.Concurrent.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.NonGeneric.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.Specialized.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.Annotations.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.EventBasedAsync.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.TypeConverter.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Console.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Data.Common.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Data.SqlClient.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Contracts.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Debug.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.FileVersionInfo.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Process.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.StackTrace.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TextWriterTraceListener.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tools.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TraceEvent.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TraceSource.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tracing.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Drawing.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Dynamic.Runtime.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.Calendars.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.Extensions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.Compression.ZipFile.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.AccessControl.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.DriveInfo.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.Watcher.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.IsolatedStorage.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.MemoryMappedFiles.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.Pipes.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.UnmanagedMemoryStream.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Expressions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Parallel.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Queryable.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.AuthenticationManager.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Cache.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.HttpListener.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Mail.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.NameResolution.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.NetworkInformation.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Ping.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Requests.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Security.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.ServicePoint.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Sockets.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Utilities.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebHeaderCollection.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebSockets.Client.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebSockets.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ObjectModel.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.DispatchProxy.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.ILGeneration.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.Lightweight.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Extensions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.TypeExtensions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Resources.ReaderWriter.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Resources.ResourceManager.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.CompilerServices.VisualC.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Extensions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Handles.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.RuntimeInformation.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.WindowsRuntime.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Loader.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Numerics.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Formatters.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Json.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Xml.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.AccessControl.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Claims.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Algorithms.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Cng.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Csp.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.DeriveBytes.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encoding.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.Aes.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.ECDiffieHellman.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.ECDsa.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Hashing.Algorithms.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Hashing.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.OpenSsl.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Pkcs.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.ProtectedData.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.RandomNumberGenerator.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.RSA.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.X509Certificates.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Principal.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Principal.Windows.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.SecureString.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Duplex.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Http.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.NetTcp.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Primitives.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Security.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceProcess.ServiceController.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.CodePages.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.Extensions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.RegularExpressions.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.AccessControl.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Overlapped.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.Parallel.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Thread.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.ThreadPool.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Timer.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ValueTuple.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.ReaderWriter.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XDocument.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XmlDocument.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XmlSerializer.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XPath.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XPath.XDocument.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XPath.XmlDocument.dll /reference:/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.Xsl.Primitives.dll /debug+ /debug:portable /optimize- /out:obj/Debug/Sample.dll /target:library /utf8output Properties/AssemblyInfo.cs "/var/folders/b5/qkl3lgfj7n5dtpvmpczvmk7m0000gn/T/MonoAndroid,Version=v8.1.AssemblyAttributes.cs"
Target CopyFilesToOutputDirectory:
    Copying file from "obj/Debug/Sample.dll" to "bin/Debug/Sample.dll".
    Sample.Android -> /Users/peppe1197/Development/VisualStudio/Sample/Sample.Android/bin/Debug/Sample.dll
    Copying file from "obj/Debug/Sample.pdb" to "bin/Debug/Sample.pdb".
__________________________________________________
Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.iOS/Sample.iOS.csproj" (Build target(s)):

Target PrepareForBuild:
    Creating directory "obj/Debug/".
Target _BeforeCoreCompileInterfaceDefinitions:
  Skipping target "_BeforeCoreCompileInterfaceDefinitions" because it has no inputs.
Target _BeforeCoreCompileInterfaceDefinitions:
  Skipping target "_BeforeCoreCompileInterfaceDefinitions" because it has no inputs.
Target _BeforeCoreCompileInterfaceDefinitions:
  Skipping target "_BeforeCoreCompileInterfaceDefinitions" because it has no inputs.
Target _CoreCompileInterfaceDefinitions:
  Skipping target "_CoreCompileInterfaceDefinitions" because it has no inputs.
Target _BeforeCoreCompileImageAssets:
  Skipping target "_BeforeCoreCompileImageAssets" because it has no inputs.
Target _BeforeCoreCompileImageAssets:
  Skipping target "_BeforeCoreCompileImageAssets" because it has no inputs.
Target _BeforeCoreCompileImageAssets:
  Skipping target "_BeforeCoreCompileImageAssets" because it has no inputs.
Target _CoreCompileImageAssets:
  Skipping target "_CoreCompileImageAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _CoreCompileSceneKitAssets:
  Skipping target "_CoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _CoreCompileTextureAtlases:
  Skipping target "_CoreCompileTextureAtlases" because it has no inputs.
Target _BeforeCompileCoreMLModels:
  Skipping target "_BeforeCompileCoreMLModels" because it has no inputs.
Target _BeforeCompileCoreMLModels:
  Skipping target "_BeforeCompileCoreMLModels" because it has no inputs.
Target _BeforeCompileCoreMLModels:
  Skipping target "_BeforeCompileCoreMLModels" because it has no inputs.
Target _CoreCompileCoreMLModels:
  Skipping target "_CoreCompileCoreMLModels" because it has no inputs.
Target _CoreOptimizePngImages:
  Skipping target "_CoreOptimizePngImages" because it has no outputs.
Target _CoreOptimizePropertyLists:
  Skipping target "_CoreOptimizePropertyLists" because it has no inputs.
Target _CoreOptimizeLocalizationFiles:
  Skipping target "_CoreOptimizeLocalizationFiles" because it has no inputs.
Target GenerateTargetFrameworkMonikerAttribute:
  Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target CoreCompile:
    /Library/Frameworks/Mono.framework/Versions/5.8.0/lib/mono/4.5/csc.exe /noconfig /nowarn:2008 /nostdlib+ /errorreport:prompt /warn:4 /define:__IOS__;__MOBILE__;__UNIFIED__;DEBUG /errorendlocation /preferreduilang:en-US /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll /debug+ /debug:portable /optimize- /out:obj/Debug/Sample.dll /target:library /utf8output Properties/AssemblyInfo.cs "/var/folders/b5/qkl3lgfj7n5dtpvmpczvmk7m0000gn/T/Xamarin.iOS,Version=v1.0.AssemblyAttributes.cs"
Target CopyFilesToOutputDirectory:
    Copying file from "obj/Debug/Sample.dll" to "bin/Debug/Sample.dll".
    Sample.iOS -> /Users/peppe1197/Development/VisualStudio/Sample/Sample.iOS/bin/Debug/Sample.dll
    Copying file from "obj/Debug/Sample.pdb" to "bin/Debug/Sample.pdb".
__________________________________________________
Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" (Build target(s)):

Target ResolveProjectReferences:
    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample/Sample.csproj" (GetTargetPath target(s)):

    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample.Android/Sample.Android.csproj" (GetTargetPath target(s)):

    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample.iOS/Sample.iOS.csproj" (GetTargetPath target(s)):

    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample/Sample.csproj" (GetNativeManifest target(s)):

    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample.Android/Sample.Android.csproj" (GetNativeManifest target(s)):

    __________________________________________________
    Project "/Users/peppe1197/Development/VisualStudio/Sample/Sample.NuGet/Sample.NuGet.nuproj" is building "/Users/peppe1197/Development/VisualStudio/Sample/Sample.iOS/Sample.iOS.csproj" (GetNativeManifest target(s)):

/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057: The target "GetPackageContents
/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057:    
/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057:      GetPackageTargetPath" does not exist in the project.

Done building project "Sample.NuGet.nuproj" -- FAILED.

Build FAILED.

/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057: The target "GetPackageContents
/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057:    
/Users/peppe1197/Development/VisualStudio/Sample/packages/NuGet.Build.Packaging.0.2.2/build/NuGet.Build.Packaging.targets(374,22): error MSB4057:      GetPackageTargetPath" does not exist in the project.
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.08

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.08

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.69

---------------------- Done ----------------------

Build: 1 error, 0 warnings

Sample project: Dropbox

TheXenocide commented 6 years ago

I have also experienced this issue when referencing multi-targeted (TargetFrameworks) projects; I thought perhaps it was related to my using the MSBuild.Sdk.Extras project to multi-target monoandroid71/xamarinios10 along with netstandard2.0 so I split my projects back out into separate Shared Project with .Droid/.iOS variants and this particular error goes away when the NuProj references multiple separate projects which will work for me for now.