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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:34:34+00:00 2026-06-14T20:34:34+00:00

Starting off with the example here , I created an app to pin multiple

  • 0

Starting off with the example here, I created an app to pin multiple tiles to the Start screen. When I pin the first tile, I have no issues. However, when I return to the app (via the app list or the back key), and click on a second image to pin the second tile, I get an InvalidOperationException.

Here is my simple code:

    private void Pin_Tile1(object sender, RoutedEventArgs e)
    {
        StandardTileData data1 = new StandardTileData
        {
            BackgroundImage = new Uri("Assets/tile1.png", UriKind.Relative),
            Title = "Tile 1",
            BackContent = "asdf"
        };

        ShellTile.Create(new Uri("/MainPage.xaml", UriKind.Relative), data1);
    }

    private void Pin_Tile2(object sender, RoutedEventArgs e)
    {
        StandardTileData data20 = new StandardTileData
        {
            BackgroundImage = new Uri("Assets/tile2.png", UriKind.Relative),
            Title = "Tile 2",
            BackContent = "fdsa"
        };
        ShellTile.Create(new Uri("/MainPage.xaml", UriKind.Relative), data2); 

    }

Can anyone tell me what is going on? Thanks for looking

  • 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-14T20:34:35+00:00Added an answer on June 14, 2026 at 8:34 pm

    From here, each live tile must point to a unique Uri, that is where I messed up.

    Full list of requirements is:

    • Each Live Tile must point to a unique URI location.
    • Each time that you create a secondary tile, the user will be taken to
      their home screen to view it. You can’t create more than one
      secondary tile at a time.
    • Limit the number of secondary live tiles allowed.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am just starting off Windows OEM development and have come across these two
I'm starting off with NHibernate now and I still don't have a testable environment.
am just starting off with restkit for ios. I have a very simple json
I am just starting off with android and have been googling high and low
Here's an example Haskell FRP program using the reactive-banana library. I'm only just starting
Here's a basic example of what I have going on here: http://jsfiddle.net/kgqkM/2/ What I'm
Background: I'm starting off with Django, and have limited experience with Python, so please
I am just starting off with Objective-C and iphone app dev, i'm trying to
I starting off a project and starting build some of its structure. I am
We are starting off a new project with sitecore as our CMS. I was

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.