473,770 Members | 3,398 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

designer file

TS
how do i regenerate the designer file, mine got out of sync and i deleted
it - thought it would create new one.
thanks
Jul 9 '07 #1
9 2268
TS
i was able to recover the file, but how do i get it back in sync????

"TS" <ma**********@n ospam.nospamwro te in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
how do i regenerate the designer file, mine got out of sync and i deleted
it - thought it would create new one.
thanks


Jul 9 '07 #2
Hi TS,

When you deleted the old designer files, try to right-click on your Web
Application Project and select "Convert to Web Application", this will help
you regenerate the designer files.

Please try this and let me know the result.

For more information, please see this:

http://webproject.scottgu.com/CSharp...igration2.aspx
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 10 '07 #3
TS
doing this wont create new file.

if i restore my file, i'm still left with it being out of sync. how do i get
it in sync?
"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:Q6******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi TS,

When you deleted the old designer files, try to right-click on your Web
Application Project and select "Convert to Web Application", this will
help
you regenerate the designer files.

Please try this and let me know the result.

For more information, please see this:

http://webproject.scottgu.com/CSharp...igration2.aspx
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.
>

Jul 10 '07 #4
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's related
to the project's settings.

By the way, you can also try to create a new simple Web Application Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 11 '07 #5
TS
yes web app project. i ended up geting it to work - when i pasted some html
into the html view, it then fired .designer to sync up.

thansk

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:L$******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's
related
to the project's settings.

By the way, you can also try to create a new simple Web Application
Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.
>

Jul 11 '07 #6
TS
i deleted it and tried to generate and i get:
generation of designer file failed: unable to load one or more of the
requested types. retrieve the loaderexception s property for more
information.

on a side note, clicking F7 doesnt' switch to code when in .aspx page html
view.

My page inherites from a base page that inherits from page.

thanks

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:L$******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi TS,

You're using Web Application Project, right? In my test, if I delete the
designer.cs file and use the "Convert To Web Application" function, the
designer.cs files will be re-generated.

You also mentioned that the file is also out of sync, I guess there might
be something wrong with the Web Application Project addin, if possible, I
suggest you to repair it by reinstalling it.

Also, I'm wondering if you could send me a reproducible project that has
this "out of sync" issue? I can test this on my side to see if it's
related
to the project's settings.

By the way, you can also try to create a new simple Web Application
Project
and test out by deleting the .designer.cs file and re-generate it.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.
>

Jul 11 '07 #7
Hi TS,

I tested it on my side by creating a class inheriting from Page and use
this class as the base class of the Web Form, but I still cannot reproduce
the issue. Have you tried testing with a simple web application project? I
suggest you create a copy of your project and remove some files at a time
to see if it still has the issue. When the project is small enough, maybe
you could send me a copy of it for further troubleshooting . Thank you for
the trouble.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 12 '07 #8
TS
i'm afraid i couldn't get it to reproduce.

I found a solution though - delete current designer file, close VS and
delete Bin and obj folders, then re-open and convert to web application and
it works.

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:br******** ********@TK2MSF TNGHUB02.phx.gb l...
Hi TS,

I tested it on my side by creating a class inheriting from Page and use
this class as the base class of the Web Form, but I still cannot reproduce
the issue. Have you tried testing with a simple web application project? I
suggest you create a copy of your project and remove some files at a time
to see if it still has the issue. When the project is small enough, maybe
you could send me a copy of it for further troubleshooting . Thank you for
the trouble.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no
rights.
>

Jul 13 '07 #9
Hi TS,

Thank you for sharing your experience here. Although the issue is not
reproducible, I believe someone else might find this post useful.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 16 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4680
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm implementing the page controller design pattern and everything has been working fine until now. My form inherits from a base class called CampusNET.CampusPage. The class exists, is included in the project and compiles just fine. If I replace the base...
2
1483
by: Bill nguyen | last post by:
Suddenly a new file was added to forms that I created in the last 2 days. I created and named a form frmDTDownload. In Solution Explorer, now I have frmDTNDownload.vb frmDTNDownload.Designer.vb frmDTNDownload.resx frmXXX.Designer.vb is new to me and it caused some weird error about form designer not working.
3
5274
by: Steven Nagy | last post by:
Hi all, ASP.NET : Framework 2.0 - C# A recent addition to my code generater will create GridView's and ObjectDataSource's in a control (ASCX). So the code gen creates an ascx, ascx.cs, ascx.designer.cs and a stylesheet. The 3 control files are placed together.
13
1381
by: active | last post by:
With VS2005 the windows form designer uses the files *.Designer.vb I hope no one at MS is reading this because I know it will upset them to know - I like the old way better! I've been looking at the Options available for the Windows Form Designer and do not see one that would give me the older method. Is there such an option?
2
4691
by: dejavue82 | last post by:
Does anybody know how to resolve the following errors? They were caused by the designer.cs file that was auto-generated by the LINQ to SQL designer. I am using the March 2007 Orcas CTP version of Visual Studio. Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C: \Documents and Settings\HP_Administrator\My Documents\Visual Studio
7
8150
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them in code that I write in the *.aspx.vb and *.ascx.vb files. Why is it no longer automatically declaring the controls? Is there a way to manually force Visual Studio 2005 to regenerate these files? Is there a setting somewhere that could have...
8
2316
by: TomC | last post by:
I want to bypass the Windows Form Designer in VS, to create a form programmatically. The elements of the form are to be arranged in a table, and I want the size of the table (and therefore the number of elements) to be determined at runtime, so dragging and dropping on the Form Designer won't cut the mustard. I'm coming from a Java background, and have almost always built my GUI's programmatically, but I realize that in C# this practice...
4
2647
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. - Why is this happening? - Can I disable automatic declaration and have everything be declared manually? - Any other options to fix this? Thanks in advance. Goran Djuranovic
2
2432
by: Tony Johansson | last post by:
Hello! There is a file called Forms1.Designer.cs that is located below Form1.cs if we assume that we call the file that name. I wonder if it's allowed to change in the file Forms1.Designer.cs except InitializeComponent ? One more question is it really any point to change in the Forms1.Designer.cs ? I just wonder if it's enought in general to change only in the Form1.cs if we call the file that name ?
6
3344
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
Yesterday Visual Studio gave me a strange error both at compiletime and at designtime that had no obvious connection to anything I had changed recently. After some effort tracking down the problem I discovered first a workaround, then the real cause of the problem. I would like to understand why what I am doing is frowned upon by Visual Studio and how to do this properly. My application is in one solution; supporting libraries including...
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10057
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10002
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8883
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.