Windows UWP desktop app published in Visual Studio 2019 missing icons - windows

I've developed a UWP desktop app in VS 2019 and C#, and used VS to automatically generate visual assets from a source JPG image.
This works fine in Debug and Release configurations (in particular, the proper icon appears in the taskbar), but when I generate a self-signed msixbundle and use it to install the application on my laptop and run it, images are missing from several locations, including the taskbar icon and desktop shortcuts, but appear in others, such as the start menu, search results and flash screen.
I've tried playing with the settings for the automatic generator and manually generating images and updating the manifest file, but nothing seems to work. As nearly as I can figure out, the images needed for things like the taskbar icon are being generated into the Assets folder, but they are not being included in the bundle when published.
Is there a solution/workaround for this (short of getting a more competent developer)?
Edit: A blank, gray rectangle appears when icons are missing.

Related

Meaning of different Folder-icons in Visual Studio for Mac 2022 (preview) Solution Pad

What do the different colored dots at the bottom right-hand corner of the folder icons in the Solution Pad in Visual Studio 2022 Preview (for Mac) mean?
In this screenshot below, I am using Xamarin, but after trying to make changes via Xcode, my iOS-app stopped working. I then removed the existing iOS-project from the solution and added a new one, but I have not been able to get it work / open in the iPhoneSimulator since then.
I therefore suspect the folder-icons are indicating that the common-project is probably not linked(?) correctly with the new iOS-project, but perhaps its telling me something else?

Viewing binary files in MSVS under Windows 10

For ages I've been using MS visual studio 15 to view binary files, simply by doing file|open. My files have a custom extension, 'SQ3', but VS seemed to happily infer that they aren't text, and display them as binary. However, Win10 seems to have stopped that. Now if I do the same thing, a popup appears, asking me whether I want to find an application from the shop, or always use this application (presumably MSVS, the one I'm invoking from). There's a proceed button, but it doesn't respond. There seems to be no way that I can get VS to open and display the file.
Is there a way to stop the OS intervening so VS can do its thing?
Incidentally, having to rename files would be extremely inconvenient in this situation. TIA
Thanks, that's perfect.
In Visual Studio go to Tools/Options/Text Editor/File Extensions.
Add new entry to the list:
Extension: sq3
Editor: Binary Editor
Click Add and then OK to close the dialog. Files with .sq3 extension will now open with the hex editor when opening them or dragging them to Visual Studio.

Using xamarin android designer in visual studio doesn't change layout

I'm using the android designer in visual studio 2010, and I can put things on the layout without a problem. when i click to change the view from '4in WVGA (Nexus S)' to anything else, the background 'bounding box' changes size, but the content does not resize.
This happens even if I just create a brand new layout and don't put anything onto it.
Also, when I try to apply different themes, nothing changes. Anything I'm doing wrong, or is it a bug?
Found out that this is a known bug. MonoDevelop works fine. I assume they're working on it.

Visual studio does not show content of files

Picture says it all, it should currently be showing a file but as you can see its having issues drawing the content of the file.
I have unloaded all addons and restart visual studio.
If it mathers the previus project was a VS 2k8.
New Info:
If i wait a good 5min ( I have a Quad core I7 with 6gb ram, 295gtx. VS is running from a SSD).
It will load the text, but im unable to "edit", as it will have loaded some document (.cs ) but when i select the one i want to edit it not realy open that file.
It can best be described as visual studio having a 5min lag.
I had this precise bug. I would open files from the solution explorer but the editor window would either not appear, only 1-2 lines of 100+ line files would display, or the file would display but I could not scroll or otherwise edit the file. Some parts of VS were working, i.e. little tooltips would appear if I moused over the right part of the (invisible) text but I obviously couldn't do much in this state.
I have a lot of VS stuff installed so I thought it was some sort of plugin or extension that was causing things to go screwy. These installed items include:
Visual Studio 2010 10.0.30319.1
ReSharper 5.1.3000.12 (JetBrains)
DevExpress DXCore 10.1.5 (free community edition)
DX Source Outliner (reason for DXCore, from sbohlen)
Tabs Studio 2.0.6 (www.tabsstudio.com)
Productivity Power Tools 10.0.11019.3 (Microsoft)
Snippet Designer 1.3.0 (Matt Manela)
I solved it (2/18/2011) by Tools... Extension Manager... disabling the Productivity Power Tools and Snippet Designer. No idea what was going on but this fixed it for me and I was back to work. Probably something in the system drawing and/or display options.
EDIT
The issue continues. Unfortunately it is intermittent and I have not be able to reproduce it reliably. Now the suspects are the BugShooting and CaptureWiz screen capture tools. I've had the behavior show up and then disappear in and around the time of logging bugs with them.
2nd EDIT
The issue continually continues. I have not yet been able to determine the cause but usually quitting VS and restarting resolves the issue(s). Other parts of the behavior includes the menu options (File, Edit, View, etc.) not operating properly as they show only the highlight but not the actual menu items. The solution will build and run just fine, but things still won't show up properly.
I had a similar issue whereby VS2012 was telling me that I had active (open) files, but the text editor was not displaying them. Clicking on the file(s) in the solution explorer seemingly did nothing. Alt + Tab just cycled through the open files, but still, nothing rendered on screen.
I solved it by clicking on the "WINDOW" menu item and then"Close All Documents". Visual Studio then behaved as expected and opened (and rendered) the files correctly.
This bug was created by mumble 1.2.x, but is fixed in the snapshot versions of 1.3.x. YOu can likely get simular bugs by other software that does DirectX overlay.
I had the same issue in Visual Studio 2012. It was fixed by running a repair of Visual Studio 2012 via Add/ Remove Programs.
The following had no effect:
Closing and reopening a solution
Opening different file types
Restarting Visual Studio
Adding and removing plugins
Resetting options via the 'Reset all Settings' option in Visual Studio's 'Import and Export Settings'
Rebooting windows
I had this problem in Visual Studio 2013. Problem was: extension "Regex Tester". I had to uninstall this extension.

Windows Explorer - Dynamic Icons For Same File Extensions

For Visual Studio .sln files, Window Explorer is doing something "clever" to figure out whether to display the v8 or v9 icons.
Now when it comes to double-clicking/launching the icon, I know that it goes through a "Visual Studio Launcher" app which looks at the version info in the sln file and selectively runs VS2005 or VS2008
But any idea how it does the icon part. Presumably that simply by browsing to a folder, something is opening the file in the background and making a decision on which Icon to use, but its so seamless/quick.
Any idea how it's done. We have config generator here, that gets updated deployed by ClickOnce but it would be nice for people to see at a glance which version of the generator app, created the config files.
Cheers,
I think this is what you're looking for?
How to Create Icon Handlers
Take a look at this part of a tutorial to shell extensions on custom icons.

Resources