7

I have a Xamarin Android project, and I am trying to add a reference to my own netstandard1.4 class library. When I add the reference, my Android application will no longer build. I get error MSB4057: The target "GetBuiltProjectOutputRecursive" does not exist in the project.

If I remove the reference, my android project builds fine.

The class library is a brand new library that I just created. It doesn't contain any actual code yet.

I am using Visual Studio 2017.

UPDATE: If I add a reference to my dll using the "Browse" function, it works. I only get the error when I add the reference to the project in my solution.

Dave
  • 3,676
  • 4
  • 28
  • 39
  • This appears to be a race condition. As sometimes the build works, and sometimes it does not. If I keep retrying, the project will eventually build. – Dave Jul 11 '17 at 12:56
  • More specifically, are you using Visual Studio 15.2 or 15.3? If you are on 15.2, have you tried 15.3(Preview Channel)? – Jon Douglas Jul 17 '17 at 08:04
  • I am using 15.2. I have not tried in 15.3 yet. – Dave Jul 17 '17 at 11:45
  • Please try 15.3 as you can install a "Preview" version of Visual Studio. https://www.visualstudio.com/vs/preview/ If this still occurs, please upload a minimal viable sample to your question. – Jon Douglas Jul 17 '17 at 15:30
  • I'm still running into this in 15.3.3, and no amount of building seems to result in success yet. – patridge Sep 01 '17 at 16:36

1 Answers1

0

This appears to be fixed in 15.4

Dave
  • 3,676
  • 4
  • 28
  • 39