Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8771387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:46:26+00:00 2026-06-13T17:46:26+00:00

I am developing some UI components with the new Metro Design (WinRT) in order

  • 0

I am developing some UI components with the new Metro Design (WinRT) in order to provide them to a third party company.
We are having some trouble deploying the package of the controls.
When they reference our .dll files produced by our controls on a new Project, they can access all the objects and instantiate them, but when compiling, an error of the type:

"Payload file '...\bin\Debug\Charts\Line\Line.xaml' does not exist.". (if we provide the /bin .dll)

OR

XamlParseException at Windows.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation) (if we use the .dll from /obj folder)

We know a “workaround for this problem is to deploy/provide the xaml” files as well with the .dll to our customers, but we would really like to avoid showing our XAML code.

Thanks in advance

NG

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:46:27+00:00Added an answer on June 13, 2026 at 5:46 pm

    XAML files are loose files in Windows 8 WinRT/XAML, so you do have to share the XAML files if you want to make use of the built-in tools that bind XAML and code behind together.

    You will probably want to read Tim Heuer’s article on building deployable controls here. He mentions two methods to share your controls – either using VS Extensions SDK where they will be installed into Visual Studio or as NuGet packages where you can share a NuGet package. That way the files will not be visible when you first look at the component you share, though they will be included in the project folder, so if someone looks closer – they will see your XAML.

    The alternative you seem to want to avoid is to share the dll + xaml files as just files to drop into the project. You would need to put the xaml files into a folder with the same name as the dll (sans the file extension) for them to be found by the tools. Just an alternative to using the tools.

    If you look at the apps you install from the store – you can see all the XAML files that come with them. There is no good alternative at this point really other than writing tons of code to somehow embed the XAML into your binary or replace it with code behind.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing some user controls so that I can use them at
I'm developing some widgets into a library for internal use at the company I
I'm developing application in WPF but some components are written using WinForms. I wan't
I'm developing a asp.net application and I use some components. I have a component
I'm developing a CMS largely based on Zend Framework components. Some of the database
I take part in developing a Java project, which uses some C++ components, thus
I'm developing a XPCOM C++ component that have to use some RegExps functions Does
I am developing some application in Linux .This Linux is a virtual machine running
I'm currently developing some computer-vision application for blind people. Now we decided to move
I am developing some SWIG-generated Java bindings for a C library. The library contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.