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.
Create new MFA app
Right click the solution, add new project
Select MFA library project
Right click the MFA library project, add new file
Select C# class
Give the class a method like:
public void DoSomething()
You should now have a 2 project solution, the library project should have the new added class.
Add the library project as a reference to the main project
Add a using statement for the library to the activity1.cs file in the main project
Create a new instance of the new class and call the DoSomething method.
App should build and 'sup' should be output to the console
Build fails - MD thinks we did not add the reference to the library (we did)
To fix this, restart MD. Without any other changes the build will succeed.
Failed case - referencing a class in a library:
This next one also shows that I can get it to say that it's building successfully when it shouldn't (after I delete the reference): http://screencast.com/t/l4DM7gZdzC
MD 220.127.116.11 (RC1, build 2)
MFA 4.2.3 (stable)
I think you said this was fixed lluis, is that right?
Here is the commit on the branch:
Though I think with this fix there will be some cases where it will still fail, for example project A references project B, and the "output path" project option of "B" is changed, then A will not be refreshed and will not pick up the updated B.