Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 20164 [details]
Project target not installed.png
I can build the following Android sample on Visual Studio 2015 without any problems:
However, when I try to build it on VS2017 Enterprise RC, I first get this pop-up:
The C# project "CreditCardValidator.Droid.UITests" is targeting ".NETFramework, Version=4.5",
which is not installed on this machine. To proceed, select an option below:
1. Change the target to .NET Framework 4.6.1.
2. Download the targeting pack for ".NETFramework,Version=4.5".
See the attached project-target-not-installed.png. When I choose the first option, I get a bunch of build errors (see the attached build-errors.png).
When I start over and try the second option, attempting to install .NET framework 4.5 shows that it is already installed (see the attached net-4.5-already-installed.png).
Created attachment 20165 [details]
Created attachment 20166 [details]
.NET 4.5 already installed
Created attachment 20167 [details]
Created attachment 20182 [details]
Output window during build with diagnostic output enabled
Created attachment 20183 [details]
Error list output during build
Output window and error list output are both attached as text files. I'll give VS2017 RTW a shot next.
It looks like this problem is fixed in the RTW version. After I updated to today's release, I still get the .NET version pop-up, but it converts the project to .NET 4.6.1, builds the sample app without errors, and deploys to a phone successfully.
Thanks for the report.