Bug 52522 - "Xamarin.Messaging.Tasks.CreateArchiveDirectory" task could not be loaded from the assembly
Summary: "Xamarin.Messaging.Tasks.CreateArchiveDirectory" task could not be loaded fro...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: 15.2
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-15 12:26 UTC by aliashkevich
Modified: 2017-04-12 18:21 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description aliashkevich 2017-02-15 12:26:10 UTC
Microsoft Visual Studio Professional 2015
Version 14.0.25431.01 Update 3
Xamarin.iOS 10.3.1.8 (7beaef4)

I have following error in VS if I do add:
<ArchiveOnBuild>true</ArchiveOnBuild>
to my project file:

The "Xamarin.Messaging.Tasks.CreateArchiveDirectory" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.Messaging.Tasks.dll. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Looks like the reason is described here:
https://forums.xamarin.com/discussion/comment/252987/
Additional info here:
https://forums.xamarin.com/discussion/comment/252981/#Comment_252981
Comment 2 Jose Gallardo 2017-03-08 12:29:38 UTC
Hi,

There is a mismatch indeed on the namespace, and it's on the same commit. We'll investigate and figure out what was the purpose of that change and how should it actually work.

Thanks

-j
Comment 3 xamarin-release-manager 2017-04-12 18:21:51 UTC
Fixed in version 4.5.0.385 (master)

Author: josegallardo
Commit: 8989f2e1b7825f3fa600199494760d0e945b03f1 (xamarin/XamarinVS)