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

  • Home
  • SEARCH
  • 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 1080805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:05:10+00:00 2026-05-16T22:05:10+00:00

I have a simple Silverlight app that I want to run on Windows Phone

  • 0

I have a simple Silverlight app that I want to run on Windows Phone 7 almost exactly as is. I’ve created a new Windows Phone 7 project and when I reference the Silverlight app I get a warning that says “Adding a reference to a Silverlight project might not work properly. Do you want to continue?”.

If I continue and try to run anyway, the WP7 project never starts or sometimes I get “AG_E_PARSER_BAD_TYPE error” and it points to the line in the xaml I used a control from the Silverlight project .

The code between these two projects is about 99% the same. Is there another way to reuse code then what I am trying? Or how can I get this to work?

  • 1 1 Answer
  • 1 View
  • 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-05-16T22:05:11+00:00Added an answer on May 16, 2026 at 10:05 pm

    The typical way of achieving this is by using a pattern like MVVM which will allow you to define a common model and viewmodel layer (perhaps in a separate project) the defining a different view layer that references that common project.

    You said it yourself, you will only share MOST of the code, not all of it, so you will, at least at some time, need to create device/front-end specific logic and layout.

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

Sidebar

Related Questions

I have an existing Silverlight 3 app that I want to add Live Mesh
I have a simple Silverlight project that is just getting a set of entities
I have a silverlight app that uses a simple Login.aspx page. I have all
I have a very simple test app just to play around with Windows Phone
I have created a nice silverlight control doing exactly what I want it to
Windows Phone 7.5 Silverlight app I want to let the user drag the image
I have a simple Silverlight app which simply sets a DataGrid's ItemsSource to the
I am creating simple app on Silverlight 4. In folder of View I have
I have the following code in a very simple Silverlight 4 app. void MainPage_Loaded(object
I have a Silverlight 4 app that is allowing the user to upload a

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.