Publishing_Errors

I am trying to publish my app using the built_in publisher wizard of Visual Studio 2005 (VB.Net). I am struggling with two issues:

  • When I try to change the Application Icon I get the following Error Message:
    • Error 1 Unable to write to output file 'D:\Data\Wedge\Wedge_Volume\Wedge_Volume\obj\Debug\WedgeStat.exe':The specified image file did not contain a resource section. (The image file refers to the icon that I have chosen)
  • How do I ensure that the user can actually specify where he want's the app. to be installed on his machine?

Thanks

Christie

[642 byte] By [ChristieMyburgh] at [2007-12-24]
# 1

Make sure the resouce is in your project. If you can see the icon, the look at the property and make sure, it is marked as content (not as none).

Clickonce doesn't allow the application to be installed anywhere, it installs in its predefined location. That is by design (I was told)

dbcuser at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2
  1. I looked up that error message. It's a system error message (#1812, ERROR_RESOURCE_DATA_NOT_FOUND). Does this error occur when you just build the project?
  2. The ClickOnce application is installed to a location on the user's local settings folder. ClickOnce is designed so the user always starts the application from the start menu link created or from a web page link you provide.
ElizabethMaher-MSFT at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3

Elizabeth,

I'm getting issue #1 when I try to add an icon as the Application's icon in a WinForms project. Do you know how to resolve this? Thanks.

Robert McLaws

interscape at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 4

Hi

The problem is that the icon is to complicated.

So far I have found out that the following dimention is oK.

16 x 16 16 color

32x32 16 color

96x96 256 (I have never seen the result of this picture).

SO your option seems to be limit.

TerjeMyklebust at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 5

Just to inform you. If you want a icon that work:

16 x 16 bit 16 color and 32x32 16 color.

I have just spend som time to go around this limitation. But that is wat you get on the toolbar. In forms you can use better (higer resulution).

You can also se:

http://vb-helper.com/howto_net_app_icon.html

Just now I also get icon with 16 x 16 bit 256 color and 32x32 256 color to work. (I delete the 16 color version of the icon).

TerjeMyklebust at 2007-10-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...