473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Old Class Library Objects Keep Showing Up!

Hello:

I have a C# app that I'm trying to build. I have three projects in
the solution, the first of which stores the base object definitions
(base form, base textbox, base commandbutton, etc), the second project
holds an intermediate class level (subclassed from the base class
stuff), and a third class level that holds the end forms. I'm trying
to add a form called "AddCustomer" to the highest level project. The
problem is, I decided to change some controls around on the base form
(add some commandbuttons), but the old layout is showing up on the
derived classes. ie, The form objects from the old build of the base
project are still showing up on the end forms.

Why aren't the new changes in the base form reflected in the derived
form, after a solution rebuild? Why am I still seeing the old layout?

Thanks!

Steven
Nov 16 '05 #1
2 1240
Steven, check the "bin" folder(s) of your projects and see if they have the
latest date/time of the topmost (or base) project. If they are not in
synch, right-click the solution & choose "Rebuild Solution". Sometimes I'm
not sure that Visual Studio always updates my referenced dlls, but
rebuilding the whole solution usually works.

You might try right-clicking the solution, then choose "Configuration
Manager". That's how Visual Studio knows which to build & not build for a
given configuration. Do you think your settings are correct? --Marty
Nov 16 '05 #2
On Tue, 27 Apr 2004 16:04:59 -0700, "Marty McDonald"
<mc******@wsdot.wa.gov> wrote:
Steven, check the "bin" folder(s) of your projects and see if they have the
latest date/time of the topmost (or base) project. If they are not in
synch, right-click the solution & choose "Rebuild Solution". Sometimes I'm
not sure that Visual Studio always updates my referenced dlls, but
rebuilding the whole solution usually works.

You might try right-clicking the solution, then choose "Configuration
Manager". That's how Visual Studio knows which to build & not build for a
given configuration. Do you think your settings are correct? --Marty

Thanks, Marty:

I have all three class level dll's in separate folders, and the
versioning is correct.

I went ahead and deleted the form to start again, and when I try to
right click on my topmost project and choose ADD | Add Inherited Form,
I get another wacky message. I enter the name frmAddCustomer, click
Open, and get the message:

Unable to load assembly D:\Path\App1\obj\debug\App1.dll
Ensure that the file is a valid .Net Framework assembly.

, where App1 is the baseclass app that contains the form class that
I'm trying to inherit. First of all, It's compiling the .dll to the
\bin folder, but this message indicates that it expects to find the
dll in the \obj folder. Something is wacked here. All of the
settings via the configuration manager for the solution are correct
(compile all three projects to debug)..

Ideas?

Thanks!

Steven
Nov 16 '05 #3

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

Similar topics

2
by: Thomas Miller | last post by:
Hello, I have built a c# class library (I will call it "Assembly1"), and built an installer that installs it. It is working well. I created a new asp.net application, right-clicked on references...
66
by: Mike Stenzler | last post by:
I am new to Template programming and I would like to create an array of user-defined class objects using MFC CArray. Normally I would use linked list processing - create an object class and then an...
8
by: JustSomeGuy | last post by:
I need to write an new class derived from the list class. This class stores data in the list to the disk if an object that is added to the list is over 1K in size. What methods of the std stl...
6
by: SearedIce | last post by:
Consider the following simplified hypothetical code: #include <iostream.h> class rabbit { public: rabbit() {x = 3; y = 3; /*code here to set field to 1*/} void runtocage(); int x;
7
by: WXS | last post by:
Vote for this idea if you like it here: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=5fee280d-085e-4fe2-af35-254fbbe96ee9...
9
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New...
7
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class...
4
by: Basilisk96 | last post by:
This topic is difficult to describe in one subject sentence... Has anyone come across the application of the simple statement "if (object1's attributes meet some conditions) then (set object2's...
1
by: mjdryden | last post by:
I have a bit of a complicated mix of COM and .Net here, so bear with me while I explain :) We have a Type Library that defines all of the interfaces used in this project (a rather large one at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.