Today, I update from Visual studio 16.9 Community Edition to Visual Studio 16.10 Community Edition. But as upgrade finish my project stop working, I have an UWP app with Package project in solution and it was all working. But since upgrade it stop creating Package file for sideload distribution. We are getting following error:
System.Runtime.InteropServices.COMException (0x80070716): The specified resource name cannot be found in the image file. (Exception from HRESULT: 0x80070716)
at Microsoft.VisualStudio.Deployment.AppxFactory.CreatePackageReader(IStream inputStream)
at Microsoft.VisualStudio.Deployment.AppxInteropHelpers.GetAppxManifestReader3(String appxFilePath)
at Microsoft.Build.AppxPackage.AppxPackageFile.ReadAppxPackageFile()
at Microsoft.Build.AppxPackage.GenerateAppInstallerFile.AddPackageDependencies(XElement dependenciesRoot)
at Microsoft.Build.AppxPackage.GenerateAppInstallerFile.AddDependenciesIfNecessary(XElement element)
at Microsoft.Build.AppxPackage.GenerateAppInstallerFile.CreateAppInstallerFile(String uri, Boolean addOnLaunchUpdateCheck)
at Microsoft.Build.AppxPackage.GenerateAppInstallerFile.ExecuteImplementation() Package C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets 6362
After the failure I try to run the Code on VS 16.7 and it compile thre just fine, but not on machine with Windows 10, 64bit, 21H! with VS 16.10 .. Please suggest what should I change fix to make it working again.