Yup, I can confirm I get the same problem, hintpath doesn't even fix the
issue anymore in 4.1.1.

Also, another problem cropped up.  The _ResolveAssemblies task dies too
because the Assemblies parameter
$(ProjectDir)$(OutDir)$(TargetFileName);@(ReferencePath)" comes out as:


C:\temp\Main\build\Android\release\Core\C:\temp\Main\build\Android\release\Core\OssCore.dll;C:\Program
Files (x86)\Re
ference
Assemblies\Microsoft\Framework\MonoAndroid\v2.2\Mono.Android.dll;C:\Program
Files (x86)\Reference Assemblies\
Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll;C:\Program Files
(x86)\Reference Assemblies\Microsoft\Framework\Mon
oAndroid\v1.0\System.Core.dll;C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System
.dll;C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll

I suspect there is an assumption that OutDir is a relative path of
ProjectDir, whereas OutDir for me is an absolute path (I recall a similar
assumption with the location of AndroidManifest.xml gave me some problems a
while back but, I hacked around this at the time by keeping duplicate copies
of the file floating about it would be nice if that was cleaned up too
though...)

Anyway, I will try to scrape all this together and get a repro submitted
when I get a spare moment...

Cheers
Iain

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/msbuild-crash-in-ResolveLibraryProjectImports-task-in-MFA-v4-1-tp5635151p5685494.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to