pack://application:,,,

I was pretty sure to already have blogged about this ugly syntax: “pack://application:,,,” but apparently not.

This ugly syntax to get Uri referencing internal resources (Build action to Resource) is described here Pack URIs in WPF: “application:,,,” stands for “application:///” but ‘/’ must be replaced by ‘,’

Now it’s done.

It’s a good example of keep it simple and don’t try to take into account the entire world.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s