Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / July 2004

Tip: Looking for answers? Try searching our database.

How to suppress message "you must rebuild your project..." in task list?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeroen - 16 Apr 2004 13:31 GMT
Hi,

I sometimes get the following task show up in the task list:
"You must rebuild your project for the change to MyApplication.MyForm to
show up in any open designers"

It is irritating that the task list shows up with that message.
Is there a way to suppress this task?

Thanks in advance.

Regards,

Jeroen
Robert Gruen [MSFT] - 20 Apr 2004 17:18 GMT
Jeroen,

From my knowledge there is no way to supress that message other than to
avoid the condition that causes it (close all designers before making a
change, immediately recompiling after maiking a change, etc.).

Thanks!  Robert Gruen
Microsoft, VB.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
#From: "Jeroen" <jcfvhelvoort@prettel.nl>
#Subject: How to suppress message "you must rebuild your project..." in
task list?
#Date: Fri, 16 Apr 2004 14:31:19 +0200
#Lines: 16
#X-Priority: 3
#X-MSMail-Priority: Normal
#X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
#X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
#Message-ID: <#$$L266IEHA.2764@TK2MSFTNGP10.phx.gbl>
#Newsgroups: microsoft.public.dotnet.framework.windowsforms.designtime
#NNTP-Posting-Host: ip503cb020.speed.planet.nl 80.60.176.32
#Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
#Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms.designtime:4522
#X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms.designtime
#
#Hi,
#
#I sometimes get the following task show up in the task list:
#"You must rebuild your project for the change to MyApplication.MyForm to
#show up in any open designers"
#
#It is irritating that the task list shows up with that message.
#Is there a way to suppress this task?
#
#Thanks in advance.
#
#Regards,
#
#Jeroen
#
#
#
Jeroen van Helvoort - 05 Jul 2004 13:54 GMT
Hi,

Thanks for your reply (sorry for the late response).
It took some time to figure it out and the priority was not high. But
the task pops up when I use the following line of code:
System.Type objectType = System.Type.GetType(CodeElement.FullName);

I used another approach which works better without the task item popping
up: if (CodeClass.get_IsDerivedFrom(Type.FullName))

But using this 2nd (better) solution, it does not work using VB (it is
ok for all other languages). The first approach works for every
language, but the task pops up then.

Any idea how to solve this?
(BTW The code is used for filling a listbox in a UITypeEditor.)

Thanks in advance,

Jeroen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.