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.
Created attachment 18416 [details]
So I just spun up a brand new Forms project, and set the PCL to .NETStandard1.5. I then uninstalled all the nuget packages and reinstalled forms, along with the recommended Compatibility bits.
In trying to build the project, I get errors about not being able to find the CodeGeneratedAttribute class, and a suggestion to bring in System.Diagnostics.Tools as that's where the namespace is forwarded to.
I've done exactly that, but still get the same error.
I do have a really hackey workaround that allows me to continue running the app, but obviously not ideal. I simply add this class to the project.
internal class GeneratedCodeAttribute
For reference, here's my project.json
Created attachment 20921 [details]
I was able to reproduce this in VS2015 with the project I'm attaching before updating the Microsoft .NET Core Tools for VS2015. After updating to
> Microsoft .NET Core Tools (Preview 2) 14.1.21111.0
I can now build the project successfully, so this appears to have been an upstream fix.
### Full version information
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Installed Version: Enterprise
Architecture and Modeling Tools 00322-80000-00000-AA031
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Visual Basic 2015 00322-80000-00000-AA031
Microsoft Visual Basic 2015
Visual C# 2015 00322-80000-00000-AA031
Microsoft Visual C# 2015
Visual C++ 2015 00322-80000-00000-AA031
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-80000-00000-AA031
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 7.18.00214.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 14.1.21111.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.8.1 14.0.11123.0
Azure App Service Tools v2.8.1
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Merq 1.1.14-alpha (21c13c9)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft .NET Core Tools (Preview 2) 14.1.21111.0
Microsoft .NET Core Tools (Preview 2)
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Mono Debugging for Visual Studio Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60519.0
Microsoft SQL Server Data Tools
TypeScript tools for Visual Studio
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.
Xamarin 184.108.40.2069 (4d2ed3d)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 220.127.116.11 (3a62f1e)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 10.4.0.128 (ba11e48)
Visual Studio extension to enable development for Xamarin.iOS.