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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:21:52+00:00 2026-05-23T19:21:52+00:00

g.i.cs class keeps changing its base class back to its default System.Windows.Controls.Page After I’ve

  • 0

g.i.cs class keeps changing its base class back to its default

System.Windows.Controls.Page

After I’ve changed it to

System.Windows.Controls.UserControl

I need it to be a UserControl because the other partial class’ base class is a UserControl

After compiling I get the message

“…file.g.i.cs This file has been modified outside of the source
editor. Do you want to reload it?”

If I say no, I can compile, but after a while, it switches back again. If I choose yes, it instantly switches back.

Any ideas?

Oh, and no one else is working on the files 🙂

  • 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-05-23T19:21:52+00:00Added an answer on May 23, 2026 at 7:21 pm

    Ok, I didn’t find the solution, but I found out why it happens in the first place. When adding the Silver Light file, I chose ‘Silverlight Page’. I should have chosen ‘Silverlight User Control’. I guess once you choose one, you can’t turn it into the other… Hope this helps someone eventually lol.

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

Sidebar

Related Questions

I'm having some questions about changing the class/state of a link back to normal
I have a multi-R/W lock class that keeps the read, write and pending read
I have a class to parse a matrix that keeps the result in an
I want to keep the class simple and not defined a constructor so i
We have a class library where we keep a lot of the stuff that
I have implemented VirtualPathProvider class so I can keep all my views in the
I would like to keep a list of a certain class of objects in
What would you recommend for class that needs to keep a list of unique
I would like to keep a static counter in a garbage collected class and
I have a class that I've written a TypeConverter for. I want to keep

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.