Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "ManifestMerger" task failed unexpectedly #1413

Open
cesit-nav opened this issue Nov 11, 2022 · 0 comments
Open

The "ManifestMerger" task failed unexpectedly #1413

cesit-nav opened this issue Nov 11, 2022 · 0 comments

Comments

@cesit-nav
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant