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 or GitHub 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.
# Steps to reproduce
Take any project (new or existing) and try to build UWP.
# Expected behavior
Project deploys correctly.
# Actual behavior
Error in console: "Cannot locate Packages.Config"
# Supplemental info (logs, images, videos)
User must update to beta branch of Xamarin within VS to force Xamarin to stop looking for packages.config.
# Test environment (full version information)
Microsoft Visual Studio Community 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Installed Version: Community
Microsoft Visual Studio Tools for Applications 2015 00322-20000-00000-AA006
Microsoft Visual Studio Tools for Applications 2015
Visual Basic 2015 00322-20000-00000-AA006
Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA006
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA006
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA006
Windows Phone SDK 8.0 - ENU
Add New File 3.5
The fastest and easiest way to add new files to any project - including files that start with a dot
ASP.NET and Web Tools 2015.1 14.1.20624.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9 14.0.20316.0
Azure App Service Tools v2.9
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.0.6000.0
Microsoft Azure Data Lake Tools for Visual Studio
Bundler & Minifier 2.1.279
Code alignment 12.1
Code alignment helps you present your code beautifully, enhancing clarity and readability.
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
File Nesting 2.5.62
Automatically nest files based on file name and enables developers to nest and unnest any file manually
Image Optimizer 3.6.93
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.
Image Sprites 1.3.38
Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed.
JetBrains ReSharper Ultimate 2015.2 Build 103.0.20150818.200216
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.
Markdown Editor 1.7.148
A full featured Markdown editor with live preview and syntax highligting. Supports GitHub flavored Markdown.
Microsoft .NET Core Tools (Preview 2) 14.1.20624.0
Microsoft .NET Core Tools (Preview 2)
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40323.3
Node.js Tools 1.1.40329.04
Adds support for developing and debugging Node.js apps in Visual Studio
Node.js Tools - Profiling 1.1.40329.04
Profiling support for Node.js projects.
NuGet Package Manager 3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Open Command Line 2.1.175
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.
Package Installer 1.8.85
Makes it easier, faster and more convenient than ever to install Bower, npm, JSPM, TSD, Typings and NuGet packages to any project
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
Python Tools for Visual Studio 2.2.40621.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Django Integration 2.2.40621.00
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support 2.2.40621.00
Profiling support for Python projects.
SQL Server Analysis Services 13.0.1601.5
Microsoft SQL Server Analysis Services Designer
SQL Server Data Tools 14.0.60629.0
Microsoft SQL Server Data Tools
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
SQL Server Reporting Services 13.0.1601.5
Microsoft SQL Server Reporting Services Designers
Suggested Extensions 1.1.74
Get suggestions on what extensions you need to handle various file types and projects when you need them.
Hosting json editor into a tool window
TypeScript tools for Visual Studio
Visual Studio Tools for Apache Cordova Update 10
Visual Studio Tools for Apache Cordova
Visual Studio Tools for Unity 22.214.171.124
Visual Studio Tools for Unity
Visual Studio Tools for Universal Windows Apps 14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Web Analyzer 1.7.77
Web Compiler 1.11.319
Compiler for LESS, Sass and CoffeeScript files
Web Essentials 2015.3 3.0.235
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015
Xamarin 126.96.36.1998 (b9b610a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Inspector Support 0.9.0.14 (4d868da)
Adds support for inspecting Xamarin and WPF apps.
Xamarin.Android 188.8.131.52 (f742154)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 184.108.40.206 (9eca876)
Visual Studio extension to enable development for Xamarin.iOS.
Can you please clarify the scenario?
Is this issue present building UWP projects caused by having Xamarin current stable installed on the same environment? or are you reporting an issue on Xamarin.Forms UWP support?
As per description, it seems like the bug is already fixed with `cycle8` builds. Please confirm.
I thought the bug was fixed (it managed to fix it on my Surface Book), but did not fix the issue on my desktop.
On my desktop, I just switched back to the latest stable build, 220.127.116.11, and still receive this error.
Scenario 1 :
Open an existing Xamarin.Forms shared project.
Select UWP as the startup project
Deploy to local device
Could not locate C:\Users\Desktop\Desktop\8.24.16\Hendrick%20Mobile\ShopInsightsMobile\ShopInsightsMobile.UWP\packages.config. Ensure that this project has Microsoft.Bcl.Build installed and packages.config is located next to the project file. ShopInsightsMobile.UWP
Moving the report to Product Forms, for visibility from the Xamarin.Forms team, as this looks like an issue with Xamarin.Forms UWP support.
Oddly enough, the Stable branch works fine on my Surface Book, but not on my desktop.
I compared my Desktop w/ my Visual Studio diagnostics (versions of VS, Xamarin, etc) with a co-worker, and they are identical, but he does not have that problem.
On the Surface Book, it will still throw an error about packages.config, but it still builds the project. Not sure.
What version of Forms are you trying to use? I'm able to build and run a UWP project on the latest prerelease, and have the stable branch installed on VS.
I am in Seattle for the rest of the week, and this work was done on my desktop, in Philadelphia.
When I return on Monday I'll follow up in this thread with the version information and my DXdiag.
Were you able to resolve this issue on your Surface Book?
Xamarin Forms Team
I just tried building a new project on my desktop. It works fine.
Tried the same steps on my Surface Book, and ran into these errors:
Figured I had to restart VS, so I did, and it only came back with:
Error CS0103 The name 'InitializeComponent' does not exist in the current context XamTest.UWP
Are you still experiencing issues with this using the latest stable versions of everything?
It seems to work again!
Glad to hear it. Going to set this to resolved, then.