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
GitHub or 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.
Using XamarinStudio, alpha channel. Just got update for Mono 3.2.7. Installed it, and PCL projects don't compile anymore:
The error is:
/Users/miha/work/Project.Portable.Core/Project.Portable.Core.csproj: Error: /Users/miha/work/Project.Portable.Core/Project.Portable.Core.csproj: /Library/Frameworks/Mono.framework/Versions/3.2.7/lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.CSharp.targets: Project file could not be imported, it was being imported by /Users/miha/work/Project.Portable.Core/Project.Portable.Core.csproj: /Library/Frameworks/Mono.framework/Versions/3.2.7/lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.CSharp.targets could not import "$(MSBuildToolsPath)\Microsoft.Portable.CSharp.Targets" (Project.Portable.Core)
I checked, and Microsoft.Portable.CSharp.Targets is missing from Mono:
[miha:/Library/Frameworks/Mono.framework/Versions]find . |grep Portable.CSharp
As a workaround, I copied Microsoft.Portable.CSharp.targets from another machine with Mono 3.2.6 from v4.0 directory to /Library/Frameworks/Mono.framework/Versions/3.2.7/lib/mono/4.5/Microsoft.Portable.CSharp.targets and my project compiles again, though I'm not 100% sure that this file is the correct one.
*** Bug 17825 has been marked as a duplicate of this bug. ***
*** Bug 17830 has been marked as a duplicate of this bug. ***
Fixed in master and 3.2.7 branch.
*** Bug 18115 has been marked as a duplicate of this bug. ***
*** Bug 18297 has been marked as a duplicate of this bug. ***
*** Bug 18605 has been marked as a duplicate of this bug. ***