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.
Filed on behalf of a user.
## Steps to reproduce
1. Open attached test case.
2. Build RefIssue.Droid project.
Build error: "Type 'IMyPlugin' is not defined" in file "PluginConsumer.vb"
This type is defined in the RefIssue.Portable.Plugins project, and used by PluginConsumer.vb in the RefIssue.Portable project. Both of these are VB.NET PCL projects.
Remove the project reference for RefIssue.Portable, and replace it with a reference to the compiled DLL for RefIssue.Portable. This DLL should be available in the Libs\PCLs directory after the first attempt to build the project.
## Version information
Windows 7 x64
Visual Studio 2012
What's "funny" is that this is IDE-specific: I can build with `msbuild` at the command line without any error at all, it's only within VS2012 that it fails.
Note: I only tested VS2012, not VS2010 or VS2013.
Xamarin Studio 4.0.3 refuses to load the .sln.
This bug was targeted for a past milestone, moving to the next active non-hotfix milestone.
Any news for a fix on this issue included in the release 4.10.1 or the beta 4.10.2?
If I add the 2 key lines from `Activity1.cs`:
> var test1 = new ProjectBridge();
... into a console C# project in Visual Studio, add all of the PCL library projects as references (no Xamarin projects involved), and run the app, then I get the same runtime error mentioned in comment 5 and comment 8:
> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
This bug report was filed to fix a build error. I have a suspicion the sample project wasn't intended to _run_ successfully. The build error has now been fixed, so I believe this bug can be marked as resolved fixed.