XAML layout changes not updating on build - c#

I have a Windows Phone 8 project that I am working on in VS2012.
Its been doing this for a while, but I haven't got to the bottom of it.
If you make any changes to the XAML, like moving a grid, and then deploy it to the phone.
But the changes are not applied when the viewing the app on the phone, the grid hasnt moved. The only way to apply it, it is uninstall the app from the phone and deploy again, or delete the 'Release' folder which it has built and build again.
C# code changes are deployed ok though.

Does the project name contain (or the folder it is in) any spaces?
In my case, removing spaces solved the problem.

Related

My app icon is not visible in share menu windows 10 - UWP

Icon is not being displayed in Share menu next to my app name. But its displayed correctly in icon
I have added icons to all the options in visual studio
The assets you are using are right. At first, I didn't see any problem when I used RTM OS version (Version 1511, OS Build 10586.494). However, from your screenshot, it seems you are using Insider Preview Build. So I tested it again on Windows 10 Insider Preview Build 14393 and I can reproduce your issue.
Actually, your app icon is not invisible. It seems that System has cached the app icon used in Share menu when your app is deployed for the first time. After this, even we reset the app icon and redeploy the app, the icon in Share menu still won't change. I guess you've run your app with the default assets before you set your own assets. So in Share menu, it still use the default icon, but in Start panel, it is correct. You can created a new project with your own assets and then run this new project, you icon should be able to display in Share menu correctly.
This issue seems only affect Insider Preview Build. For Insider Preview issues, please feel free to share feedbacks with Microsoft. You can report this issue with Windows Feedback app. Your feedback has made Windows better!
All Logos Related to UWP are stored in Package.appxmanifest. Edit it using an xml editor. See if there is any image that is still a default icon.

Visual Studio 2015 Update 2: Registration of the app failed. (0x80073cf6)

I'm experiencing the Registration of the app failed. (0x80073cf6) error.
What I've tried so far:
Delete the package in AppData (I can't find it anymore there, the package family name has been changed to my associated store listing).
Repair Visual Studio
Acquire developer license
Make a new project (that works, for the 1st time, after that same error).
It happens on my phone (950XL, developer unlocked) and on my machine.
I can't debug my app in anyway now.
I'm on Update 2 of VS 2015
In the question, the project-type is not specified, but I think, it can be the same problem, I have...
I have installed VS2015 Update 3 RC and created a Xamarin.Forms shared project from template (without any changes in the project).
Same error for UWP- and Windows 8.1 projects, where Windows Phone 8.1 works in the emulator.
I store my project on a network-drive (what never was a problem with earlier .forms-projects, that have not included UWP- and Windows 8.1-projects).
I have changed the Output path from \bin\debug\ (=sub-directory of the project folder on the network drive) to C:\Temp\Debug and... the error has gone.
So.. it seems as (at least Xamarin-) UWP- and Windows8.1-projects have a problem, when the output-directory points to a network drive.
This is not a final solution for projects on a network-drive, but a workaround to be able to develop until the real problem can be solved (I hope for some changes in VS or a clear advice, what to change regarding the rights of the network drive to solve the problem from MS).
<Properties>
<DisplayName>Name</DisplayName>
<PublisherDisplayName>Other Name</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
In the app manifest file, change the "Name" to anything else. And it'll work.
That is it.

ClickOnce app icon didn't update in some cases

I help maintain a WPF application deployed via ClickOnce. When I first installed it, we were using Icon #1 as our app icon (specified by clicking Properties on the Project and setting the "Icon" field); this is the icon that shows up as the Desktop shortcut.
Recently our company's logo changed so I updated the icon to Icon #2 and deployed a new release to the ClickOnce server. On some of the computers running the software, upon receiving the updated release, the icon changed as expected. However, on a few, the old icon is still showing, even though I can see the program has updated to the latest version deployed in ClickOnce.
Why is this? Has anyone else encountered this? And what can I do to fix it? By the way, the program is self-signed; not sure if that makes a difference.

CEFSharp Not Loading, and showing invisible area

I am trying to use cefsharp so i downloaded the repository from their website and tried to copy and paste every thing as it is from the windows forms application to my application in order to use the ChromiumWebBrowser.cs that comes with it... however when i run my application it only display a white area (sometimes just invisible hole) with no error or anything... have been trying for over 30 hours with no luck although it is running normally at the example project.
You dont need to copy any thing, just install Cefsharp from Nugetmanager of Visual studio.
GetStartfromhere
See this related issue for suggestions: CefSharp WinForms Web Browser Won't Display
If that doesn't help a few particular items you should check:
Work your way from the CefSharp.MinimalExample repo which now contains a WinForms example
Start your project by using the NuGet package (as mentioned in the SO answer above). It takes care of copying all needed Chromium resources
Make sure your NuGet version is at least 2.7
Setup your project configuration as either x86 or x64 ... with AnyCPU the NuGet magic won't work currently

Windows Phone 8, Overwriting old app?

I could have sworn in WP7 whenever you deployed your application it overwrote the previous version. However it seems that it no longer does that? Is there a setting to turn that back on, or do I have to keep deleting the app before I deploy.
In my experience, deploying to the phone will do an in-place update (keeping all isolated storage, very similar to an actual store update) unless it detects a clean-rebuild has been performed or some other metadata has changed (such as the app ID).
So if you are seeing it do an incremental-deploy, that is normal. If you want it to do a clean reinstall, then do a clean-rebuild from visual studio (or just uninstall it from the phone before deploying again).

Categories