Dean Kuga
Dean Kuga

Reputation: 12131

.NET 4 ClickOnce where are images stored after deployment

I have a .NET 4 WPF app deployed via ClickOnce.

The app itself is located in this folder:

C:\Users\User\AppData\Local\Apps\2.0\20M1K3QV.1J5\YBVR1JRD.ZCH\mana..tion_94f2a286b90217ab_0001.0000_92543ff193690b91

In my solution images used by the app are located in a subfolder named Images, in a deployed app folder, however, there is no subfolder Images and I did a full search of the drive and was not able to find a specific image by name anywhere but in the original solution Images folder...

Anyway, my question is where are the images stored after ClickOnce deployement? Are they embedded into the app executable?

Upvotes: 0

Views: 1316

Answers (2)

Claudiu Constantin
Claudiu Constantin

Reputation: 2228

In your case the images are embedded in the .exe file, which is correct and recommended. If you want something else you should check the Build action and Copy to Output Directory settings in the Properties tool window for each image.

Upvotes: 2

William Dwyer
William Dwyer

Reputation: 1673

To add to what JaredPar already mentioned if they are set to copy they should create another folder the way you are expecting in your original post.

Most likely they are embedded in your EXE.

Check this Social.MSDN Link

Upvotes: 1

Related Questions