I'm trying to add my icon as the default application icon in my Visual Studio project. The Microsoft documentation says to click on Project -> Project Properties, and then select the Application tab in the Project Designer.
When I click on Project -> Project Properties, what comes up is not the Project Designer, it's (Project Name) Property Pages. As you can see in the photo below, there is nothing even remotely related to an "Application" tab.
Image of Project Property Pages
How can I add my icon as the default app icon?
There is a .rc file that is generated automatically when an icon is added to the resources of the project via these instructions.
There is actually a comment within this file that answers the question directly.
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
Following this comment are all the icons, and as expected, the one with the lowest ID becomes the application icon.
Note: Sometimes when running the executable within VS, the icon will not show up in the toolbar.
Related
Starting from a standard Xamarin forms app template and changing the app icons in assets.xcassets, I am unable to make this take effect. The initial xamarin icon keeps showing when deployed to physical devices.
In assets.xcassets, I added all the required image sized.
I ensured that in plist info this asset was set as app icons source.
I have tried cleaning, rebuilding and deleting from the ipad and iphone I am testing with. No success.
I tried deleting the default asset and creating a new one, and make pinfo point to this, and still the old Xamarin icon shows up. This makes me think that there is a cache somewhere on either my windows pc, on which I am developing using vs2019, or on the mac which VS is connected to for doing the actual build, and this is not getting updated, since otherwise that old icon should not exist any longer.
I did read this answer
Xamarin forms: Launcher icon for ios
Which indicates that the OP has a problem with a mismatched path to the asset, but that does not seem to be the case for me. The xcasset folder is at the root of the ios project. As this is simply the default test project it is app1/App1.ios/Fawk.xcassets and the entry in pinfo is
XSAppIconAssets
Fawk.xcassets/AppIcons.appiconset
Does this make any kind of sense?
Edit: Tried vs2019, xamarin forms template. Deleted default asset in assetcatalogs under ios, created a new one, set all my custom icon images (png), updated info.plist/visual assets/appicon to my new asset and then ran it on a physical device. The default xamarin icon is what shows up. This seems to indicate it is not a cache issue, as I suspected, but... something else...
You can right-click Assets.xcassets and view it in the folder, there is a json file in it, please check if the file name is correct.
According to the official documentation, if you are not connected to a Mac, it will only display the original image. For more information, you can check: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart#limitations
Developing in VueJS 3 CLI and added the Vetur extension for support. Found several references to change the indent settings in the Vetur config file but have no clue where the location of this file might be on my machine.
Turns out that if you open Extensions in Visual Studio Core, find the Vetur listing, in the lower right corner of the reference there is a sprocket icon for Settings (see screen shot below). Click on this icon and that will open a dropdown dialog with the Extension Setting option, then click to open the Settings file (#ext:octref.vetur) in VS Core tab that lists all of the formatters and the configuration option for changing Indent from 2 spaces.
I created a JavaFX app and have set window titles. The stage itself has a title, however when I hover over the icon in the dock or view task-manager while running the app I get the package name for the class.
Example:
How do I show stage title when I hover over the icon instead of showing the package name (authentication.EmployeeLogin in this case)?
The application was deployed for windows using Launch4J.
Although you have set the titles for your windows within your Java code, you need to do the same for the executable itself when deploying your application.
Check your Launch4J parameters when building your native executable.
I am building an app in Flex Builder 4 (iOS and Android) and have my app worked almost to completion and about ready for deployment. Unfortunately, I cannot find how to change the app icon and title for the system to read, so my app still shows up as Main with the default package symbol in the launcher. Does anyone know where to apply changes to these properties?
You need to edit these details in the .xml file for your project. It will be located in the root of your src folder and will be named something like MyProject-app.xml. Double click this, there you can edit the filename, version number, icon, etc.
NOTE: the default view is Design, i found it much easier to edit in the Source view.
i've created a web setup project and i wanted it to create a desktop shortcut to the web application (ex: http://localhost/xx/yy.aspx). up to this point it was pretty easy: i created a shortcut (doesnt matter where), gave it the url i wanted, added this to the User's Desktop special folder of my web setup project, and it was placed on the desktop after the installation. but then i wanted to display my custom shortcut icon. i set the icon of the shortcut i've created on my file system. then i re-included this to the setup project. however after the installation the shortcut kept showing the default IE icon again. (i tried these on windows 2003 server, on win xp the shortcut showed up iconless)
after some trials i found another way: i recreated an iconless shortcut on my file system, opened my web setup project, included this shortcut and my icon to Web Application Folder under File System on Target Machine, then clicked on User's Desktop, right clicked on the right hand side blank area, selected Create New Shortcut and chose the shortcut i've just added. Then under User's Desktop i clicked on the newly created shortcut, opened the Properties window and set its Icon property to my included icon. These steps solved it all both on 2003 server and win xp.
Though this wasnt really a question i wanted to share it anyways because it was quite annoying.
So was the problem you were not including the actual ico, exe or dll file containing the icon in the installer? shortcut files (.lnk) do not actually contain a copy of the icon, just a link to them.