---
title: "Discussion on \"Keeping WPF pack URIs alive through obfuscation\" | Hashnode"
description: "Discussion on \"Keeping WPF pack URIs alive through obfuscation\". A WPF app that runs perfectly in Debug can throw IOException: Cannot locate resource 'views/mainwindow.xaml' the first time you launch its obfuscated build — before a single line of your view-model co"
url: "https://hashnode.com/posts/keeping-wpf-pack-uris-alive-through-obfuscation/6afdb6b8a893f0ec89002b38"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Keeping WPF pack URIs alive through obfuscation](https://delta1labs.hashnode.dev/keeping-wpf-pack-uris-alive-through-obfuscation?utm_source=hashnode&utm_medium=feed)

A WPF app that runs perfectly in Debug can throw IOException: Cannot locate resource 'views/mainwindow.xaml' the first time you launch its obfuscated build — before a single line of your view-model co

Nov 18 · 7 min read · delta1labs.hashnode.dev  
Updated 9h ago  
Read the article

-   [#wpf](https://hashnode.com/tag/wpf)
-   [#nebula](https://hashnode.com/tag/nebula)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
