Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

The "ManifestMerger" task failed unexpectedly #1413

Open
@cesit-nav

Description

Hello Team,
Today I got VS 2022 updated with 17.4 and getting error like MenifestMerge here is the log please check

3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: The "ManifestMerger" task failed unexpectedly.
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: System.IO.FileNotFoundException: Could not find file 'C:\Users\jitendrabhaidhirubha\source\repos\Andersons Home and Garden Mobile App\Andersons\Andersons.Android\obj\Debug\130\android\AndroidManifest.xml.tmp'.
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: File name: 'C:\Users\jitendrabhaidhirubha\source\repos\Andersons Home and Garden Mobile App\Andersons\Andersons.Android\obj\Debug\130\android\AndroidManifest.xml.tmp'
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.Xml.XmlTextReaderImpl.FinishInitUriString()
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at Xamarin.Android.Tasks.ManifestDocument..ctor(String templateFilename)
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at Xamarin.Android.Tasks.ManifestMerger.Execute()
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
3>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1527,3): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 02:23.616 ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Elapsed 02:23.618 ==========

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions