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.
When using a mac agent, scp sometimes does not copy the following file properly to windows.
This happens about every second time we use the following command.
msbuild "iOS/ScanditSDK.sln" "/p:Configuration=Release" /p:Platform="Any CPU" /p:ServerAddress=... /p:ServerUser=...
The file is just cut off at 16368=2^14 bytes. Which is the buffer size of scp "P:Renci.SshNet.ScpClient.BufferSize". There are similar problems out there.
They are both cut off at 4096=2^12.
I know you have already provided useful information about the issue, but can you please add the following data?
1. Xamarin Logs
Go to the menu "Help - Xamarin - Zip Logs". Please attach that zip file to the bug report.
(If you can connect to the Mac, then please run that command being connected to the Mac, that way we'll get the Mac logs as well).
2. Environment information
Go to the menu "Help - About Microsoft Visual Studio" and press "Copy Info". Please paste that info in a Bugzilla comment.
I would ask you about a full Diagnostic Build Output as well, but it seems like you've already found the key part of it.
The first links to the forums are also useful, hopefully the sample code from the second one can help.
Please provide the requested info. We'll investigate it.
I'm not sure I can provide the logs. But looking through them, there seems nothing of interest except for the following warning.
There is a mismatch between the installed Xamarin.iOS (version 10.0.1.8) on the Mac ....local (...) and the local Xamarin.iOS 10.0.0.1. While this may not be an issue, it might cause unexpected behaviors. When applying updates, make sure to keep both the Mac and Windows in sync.
But I can't see any updates for Xamarin in VisualStudio. There is no output in any of the logs during the time of build. Here the visual studio versions.
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA848
Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA848
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA848
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA848
Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 7.9.01018.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)
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/
Clang with Microsoft CodeGen 14.0.25516
Clang with Microsoft CodeGen
Command Bus, Event Stream and Async Manager Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
NuGet Package Manager 3.4.4
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.
Sandcastle Help File Builder SHFB
Visual Studio integration for the Sandcastle Help File Builder.
Copyright © 2011-2015, Eric Woodruff, All Rights Reserved.
SQL Server Data Tools 14.0.60519.0
Microsoft SQL Server Data Tools
TypeScript tools for Visual Studio
Visual C++ for Cross Platform Mobile Development (Android) 14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)
Visual C++ for Cross Platform Mobile Development (iOS) 14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)
Visual Studio Tools for Apache Cordova Update 10
Visual Studio Tools for Apache Cordova
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 126.96.36.1995 (7603786)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 188.8.131.52 (c1d1c79)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 10.0.0.1 (29910bb)
Visual Studio extension to enable development for Xamarin.iOS.
I have the same issue - trying to build from Visual Studio on a Mac agent, Messaging.g.cs is cut off at exactly 4,096 bytes. Has there been any progress?
The bug is assigned to be solved on the next Xamarin cycle, however we were not able to get a repro. We are using the solution attached in the link pasted in Description (https://forums.xamarin.com/discussion/67577/issue-building-a-binding-project-messaging-g-cs), but the Messaging.g.cs is being generated correctly and the build is completed successfully.
We will continue trying to get a repro that can allow us to determine a solution. Meanwhile, If you have a consistent repro with a specific solution and configuration, please let us know and attach it so we can move faster on this.
Also, please ensure to use the latest Alpha version, given that many fixes and improvements has been introduced around the SHH layer.
We're using a newer version of SSH.Net, which should address this issue.
Resolving the bug tentatively as fixed, but please feel free to reopen it with environment information and logs if you can still reproduce it.