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 9183791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:53:26+00:00 2026-06-17T18:53:26+00:00

I am developing a Windows 8 store app. I added unit tests by choosing

  • 0

I am developing a Windows 8 store app. I added unit tests by choosing Solution >> Add >> new project >> Unit Test Library (Windows Store apps). I am then able to run the tests fine.

However, I then add a reference to my original Windows 8 store app project (following the instructions here), and when I try to run the tests again, I get the following error:

------ Discover test started ------
WriteTestCaseStarted
WriteTestCase Took Time = 3.0004
========== Discover test finished: 1 found (0:00:00.1350024) ==========
------ Run test started ------
Updating the layout...

Copying files: Total <1 mb to layout...

Registering the application to run from layout...

Deployment complete. Full package name: "c078c431-2a0d-4494-8dd9-47ae01ac938d_1.0.0.0_neutral__chny7cy2kxrnj"

Exception has been thrown by the target of an invocation.
========== Run test finished: 0 run (0:00:01.8770198) ==========

What am I doing wrong?

Update: Commenting out the following line from App.xaml solved the problem:

<ResourceDictionary Source="Common/StandardStyles.xaml"/>

Why?

  • 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-17T18:53:28+00:00Added an answer on June 17, 2026 at 6:53 pm

    Multiple things can cause this. Here are a couple I’ve found:

    • Application tag in app.xaml setting any properties (like RequestedTheme)
    • App.xaml referencing a ResourceDictionary which uses custom attached properties.

    Try commenting out contents of App.xaml to see if that helps.

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

Sidebar

Related Questions

Enviroment I am developing a Windows Store App I created a TextBox with wordwrapping
I am developing a Windows 8 Store app with html5/JS, a reading app. The
I'm developing an App for Windows Store and I have done some changes in
I am developing a windows store app that allows a User to place points
I'm developing a Windows 8 Windows Store app (XAML/C#) in which I have a
I am developing a Windows Store app that has some URL-s. I just would
I am developing Windows Phone 7.1 app, and want to test it against marketplace
I am developing a Windows 8 Store app. Till sometime back I could see
I have been developing a windows store app, where I need something like Periodically
I'm developing a windows store app using HTML and javascript. I need to login

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.