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 for Bug 61030 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Since I upgrade visual studio 2017 for 15.5 release, I am getting the following error:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. The missing file is ..\..\packages\Xamarin.Forms.18.104.22.168934\build\netstandard1.0\Xamarin.Forms.props.
*** Bug 61031 has been marked as a duplicate of this bug. ***
Same problem here. I downgraded to and older Xamarin.Forms version because of another bug in the latest Xamarin.Forms version. What a mess!!! This drives me crazy (sorry guys).
It drives me crazy too!!
I'm using Visual Studio for mac poooooor nuget package manager to update one by one, I have 9 Class Libraries, I did it to all of them, After spending a lot of time, I faced with this error :(
(Sorry guys, We all need more attention)
Locally I can build without problem but on 2017-12-07 my VSTS Xamarin Forms Android builds started to fail with above error. How can I fix my vsts build?
Are you targeting .NET Standard 2.0? We don't support 1.0.
And 1.4? I am targeting .NET Standard 1.4.
I have put together a test project targeting netstandard 1.4 in Visual Studio 2017 15.5.2. I can build with Xamarin.Forms versions 2.4.0 and version 2.5.0.
If this occurs locally for you, can you verify that the file is not actually there? On Windows, try checking C:\Users\<username>\.nuget\packages\Xamarin.Forms\22.214.171.124934\build\netstandard1.0. If it is not there, please delete the folder and try restoring packages again from Visual Studio.
If this occurs on VSTS for you, can you verify that your build is set to restore nuget packages and that you are not using a checked-in version of the packages folder that perhaps is missing the file?
Locally it build fine, the problem is in the VSTS build. I am sure I did not check in the packages in Git and I have a restore packages step before the build step.
I might have found the issue. When upgrading from XF 126.96.36.199635 to 188.8.131.52934 only the Android csproj file keeps two references to 91635. to be exact line:
<Import Project="..\..\packages\Xamarin.Forms.184.108.40.206635\build\netstandard1.0\Xamarin.Forms.props" Condition="Exists('..\..\packages\Xamarin.Forms.220.127.116.11635\build\netstandard1.0\Xamarin.Forms.props')" />
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.18.104.22.168635\build\netstandard1.0\Xamarin.Forms.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.22.214.171.124635\build\netstandard1.0\Xamarin.Forms.props'))" />
I manually removed these lines from my Android csproj file and locally it builds and runs fine. Unfortunately I ran out of free VSTS minutes so I can't build on VSTS right now to test my hypothesis but I am quite sure it is related. Hope this helps.
Extra information. The VSTS build problem started when I upgraded from 126.96.36.199635 to 188.8.131.52934. Then I reverted the checkin and it was building fine again.
I've also had the problem with the upgrade from 184.108.40.206635 to 220.127.116.11934. My project file also referenced both versions.
The .props file is present in my packages folder in C:\users\ but there is no directory matching the 121934 package version in my solution directory while it does have a directory for 91635. The error indicates ..\..\packages\ in the path so I assume it is looking in my solution folder and not in the C:\users\ folder.
I can confirm that after removing the old X.F. refrences to 18.104.22.168635 in the .net standard csproj file the vsts build now builds fine as before as I already expected.
I am with this issue too. Any news about how to fix it?
@Raphael Augusto da Silva
Open your android.csproj file with a text editor and remove all references to the old X.F. version (the one you are upgrading from). Clean and rebuild and you should be fine. Worked for me.