Bug 27308 - error BI0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
Summary: error BI0000: Unexpected error - Please file a bug report at http://bugzilla....
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.9
Hardware: Macintosh Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-02-23 11:14 UTC by xamarin
Modified: 2017-01-04 10:17 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description xamarin 2015-02-23 11:14:11 UTC
When trying to compile a native bindings project in MSVS, I get the following error:

1>  C:\Program Files (x86)\MSBuild\Xamarin\iOS\btouch.exe /compiler:\ /baselib:"C:\Program Files (x86)\MSBuild\Xamarin\iOS\monotouch.dll" /unsafe /d:DEBUG ApiDefinition.cs /s:StructsAndEnums.cs -r C:\Work\MyProject\backend\packages\Microsoft.Bcl.Async.1.0.168\lib\portable-net45+win8+wpa81\Microsoft.Threading.Tasks.dll -r C:\Work\MyProject\backend\packages\Microsoft.Bcl.Async.1.0.168\lib\portable-net45+win8+wpa81\Microsoft.Threading.Tasks.Extensions.dll -r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\monotouch.dll" -r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\mscorlib.dll" -r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\System.dll" -r C:\Work\MyProject\backend\packages\Microsoft.Bcl.Async.1.0.168\lib\portable-net45+win8+wpa81\Microsoft.Threading.Tasks.dll -r C:\Work\MyProject\backend\packages\Microsoft.Bcl.Async.1.0.168\lib\portable-net45+win8+wpa81\Microsoft.Threading.Tasks.Extensions.dll /tmpdir:obj\Debug\ios\ /sourceonly:obj\Debug\ios\\sources.list  (TaskId:29)

error BI0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at BindingTouch.Main2(String[] args)
   at BindingTouch.Main(String[] args)

The project was created using Xamarin Studio on Mac and seems to compile fine there. 

Is there a way I can make this work when compiling with Visual Studio?
Comment 1 xamarin 2015-02-23 11:20:33 UTC
Deconstructing the command-line it seems the problem is the empty compiler switch:  
   /compiler:\

What is supposed to go there?
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2015-04-09 11:16:36 UTC
Support for iOS bindings projects in Visual Studio is a new feature starting in XamarinVS 3.11 (currently on the Alpha channel).

This bug was originally filed against XamarinVS 4.0 (C6), but that version has not been released yet, so I suspect the actual version might have been one of the XamarinVS 3.9 versions.


Please:


- Add your complete version information from "Help -> About Microsoft Visual Studio -> Copy Info" on this bug. (See also [1].)

> [1] https://kb.xamarin.com/customer/portal/articles/1910343-when-and-how-should-i-file-a-bug-report-

(If this link redirects to the top-level `https://kb.xamarin.com` page the first time you click it, try clicking it once more.)



- If you're already using XamarinVS 3.11, please attach the Diagnostic Build Output [2] for the project onto this bug report.

> [2] https://kb.xamarin.com/customer/portal/articles/1675684#verbose-build-output-logs



Thanks in advance!
Comment 3 michele.scandura 2015-06-08 10:44:39 UTC
I can confirm the bug, but only for binding projects targeting Classic Api.
In our scenario, we have a binding project targeting classic that works on a mac but not from visual studio.
I was able to build the binding project when targeting Unified.
Hope that helps.
Comment 4 Jose Gallardo 2016-12-22 21:52:46 UTC
Hi,
I'll mark the bug as resolved fixed based on Comments 2 and 3.
Please feel free to reopen it if you can still reproduce the issue with current bits.
Thanks!