Search code examples
c#windows-phone-8windows-10-universal

Error while Generating Windows 10 Build in Visual Studio 2015 Update 3


I have developed a Windows 10 App and when I create App Packages for x86/x64/ARM. It generates .appx package for x86 but for others I get the following error

Error   CS0029  Cannot implicitly convert type 'Windows.UI.Xaml.Controls.Image' to 'Coding4Fun.Toolkit.Controls.SuperImage' MCS F:\Company\Windows 10\MCS\MCS\obj\x64\Release\Views\Questions_AnswersPage.g.cs

I got the same error at the start but I solved this and after that when I try to generate .appxupload, I get the above error for x64, the build generates successfully for x86.

While generating build, the configuration selected is the following

Configuration

Can someone suggest, am I doing something wrong? I have one Common project and 2 background Task(Push Notification and Timer)


Solution

  • I'm sometimes experiencing similar problems. I always manually rebuild the solution for all (x84, x64, ARM) platforms for Release configuration. Then I'm able to successfully generate an .appxupload package.