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.
I have a Xamarin.Mac project and I added an Today Extension. After adding the extension project the host project no longer builds result in the following error:
/Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Error: The OutputPath property is not set for project 'TodayExtension.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x86'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. (ExtensionSamples)
At first I thought I might be doing something wrong so I downloaded the example project for Mac Extensions (https://developer.xamarin.com/samples/mac/ExtensionSamples/) and after fixing some signing issues it resulted in the same error: "The OutputPath property is not set for project...". Please advise how to proceed because I really need to build a Mac Today extension. Since the example provided by Xamarin also fails I think it is a Xamarin bug.
My environment is latest Visual Studio for Mac. See details below:
Visual Studio Community 2017 for Mac
Version 7.0.1 (build 24)
Installation UUID: c267e52d-f329-45c3-8c20-31e921fde950
Mono 220.127.116.11 (2017-02/5077205) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 500010001
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Sdks
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Apple Developer Tools
Xcode 8.3.3 (12175.1)
Version: 18.104.22.168 (Visual Studio Community)
Android SDK: /Users/jeroenbernsen/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
6.0 (API level 23)
7.1 (API level 25)
SDK Tools Version: 26.0.2
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 23.0.2
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
Version: 22.214.171.124 (Visual Studio Community)
Version: 10.10.0.36 (Visual Studio Community)
Build date: 2017-05-22 16:30:53-0400
Build date: Fri, 21 Apr 2017 17:57:12 GMT
Release ID: 700010024
Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9
Build date: 2017-05-19 05:44:51-04
Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93
Build lane: monodevelop-lion-d15-2
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
Please attach the full build log.
Created attachment 23911 [details]
Buildlog for extension sample
Thanks for the attachment. I was able to verify that this is a duplicate of a bug we've been tracking internally.
As a short term work around, you can change Preferences -> Projects -> Builds -> "Build with MSBuild instead of xbuild" to false and restart VSfM.
*** Bug 57495 has been marked as a duplicate of this bug. ***
Thanks a lot, the short term work around works for me. Now I got one step further but I run into the next problem, see bug 58521. I hope you can help with that as well.
d15-4 PR: https://github.com/xamarin/xamarin-macios/pull/2413
Have verified the bug with latest 15.4 build. Issue is seems to be fixed.
VSFM Version 7.2 Preview (7.2 build 496)
Mono 126.96.36.199 (2017-04/161f032) (64-bit)
Xamarin.Mac Version: 188.8.131.52
Xamarin.iOS Version: 10.14.0.10
Xamarin.Android Version: 184.108.40.206
Tested it on sample provided.
Attaching the sample for more info.
Created attachment 24028 [details]