473,386 Members | 1,835 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,386 software developers and data experts.

reference madness

I'm not sure what I'm doing wrong, so I'll explain best I can. nothing
too exciting, I have a VS2005 solution with a website project and a
class library project (website references library with "project
reference") All was well for the past few weeks... class library
builds, then website builds, and everyone is happy. But lately (within
the last week?) I've having this problem where the website project is
telling me that it doesn't see new properties/methods of the class
library... as if it's still looking at an old one. I have ReSharper
installed, and ReSharper shows no errors... it is compiling the library
in memory and showing me the correct props/methods in intellisense...
but if I switch to VS.NET intellisense it says the props/methods don't
exist. When I run a compile (or launch the page) it says it cant find
some props/methods. The class library .dll in the website /bin folder
is the same version # as the one in the class library /bin/debug
folder... so it APPEARS to be pulling the correct version over. I
can't for the life of me figure out why this is happening.

Anyone have any thoughts? can I give anyone more information to help
clarify?

Nov 6 '06 #1
4 1097
ummm.. yeah... so I manually deleted the /bin AND /obj directories from
the class library, and it started working. Previously I had used the
"clean" function in the IDE, which didn't work... and I manually
deleted the /bin directory (not the /obj) and that didn't work either.
had to manually get rid of /obj

-whatever

ni**************@gmail.com wrote:
I'm not sure what I'm doing wrong, so I'll explain best I can. nothing
too exciting, I have a VS2005 solution with a website project and a
class library project (website references library with "project
reference") All was well for the past few weeks... class library
builds, then website builds, and everyone is happy. But lately (within
the last week?) I've having this problem where the website project is
telling me that it doesn't see new properties/methods of the class
library... as if it's still looking at an old one. I have ReSharper
installed, and ReSharper shows no errors... it is compiling the library
in memory and showing me the correct props/methods in intellisense...
but if I switch to VS.NET intellisense it says the props/methods don't
exist. When I run a compile (or launch the page) it says it cant find
some props/methods. The class library .dll in the website /bin folder
is the same version # as the one in the class library /bin/debug
folder... so it APPEARS to be pulling the correct version over. I
can't for the life of me figure out why this is happening.

Anyone have any thoughts? can I give anyone more information to help
clarify?
Nov 6 '06 #2
Hi,

ni**************@gmail.com wrote:
ummm.. yeah... so I manually deleted the /bin AND /obj directories from
the class library, and it started working. Previously I had used the
"clean" function in the IDE, which didn't work... and I manually
deleted the /bin directory (not the /obj) and that didn't work either.
had to manually get rid of /obj

-whatever
That hints towards a cache problem. in ASP.NET, libraries are cached in
different temp folders before they are executed. Often it happens that
the cache is not refreshed correctly when you modify the code. If that
makes things better, it was even worse in ASP.NET 1.1...

And unfortunately, short of deleting the folders manually, I don't know
any cure...

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 7 '06 #3
Thanks Laurent. I rarely had any problems with this in 1.1... but
with this new Website model, it appears to happen more often.

anyways, at least I know how to clear it all out now!

Nov 7 '06 #4
Hi,

ni**************@gmail.com wrote:
Thanks Laurent. I rarely had any problems with this in 1.1... but
with this new Website model, it appears to happen more often.

anyways, at least I know how to clear it all out now!
You might want to check the Web Application Project template
http://webproject.scottgu.com/

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 8 '06 #5

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

Similar topics

1
by: Lane LiaBraaten | last post by:
I am developing a GUI that uses multiple threading.Threads, and Queue.Queues for communicating between the threads, and threading.Timers for checking the queues. Everything works well (runs to...
2
by: RU | last post by:
Hi, I am working on a porting project to port C/C++ application from unixware C++, AT&T Standard components to g++ with STL on Linux. This application has been working properly on...
41
by: Summercool | last post by:
Can we confirm the following? also someone said, Java also has "reference" like in C++, which is an "implicit pointer": Pointer and Reference --------------------- I am starting to see what...
1
by: =?Utf-8?B?SmFja2Rhdw==?= | last post by:
Hi! I just up-graded my "Dell Help & Support Center" and now every time I start upthe Dell folder is open on the desk top. How do I make it GO AWAY, lest madness overtake me. Thanks! -- DAW
0
by: J. Smith | last post by:
Hi, Folks! I am trying to figure out what steps VS.NET performs in the background when you add a reference to an ActiveX DLL file. What I do know is that VS creates a wrapper DLL for the...
20
by: raylopez99 | last post by:
Took a look at all the fuss about "lambda expressions" from Jon Skeet's excellent book "C# in Depth". Jon has an example, reproduced below (excerpt) on lambda expressions. My n00b take: it's...
0
by: Pavel Minaev | last post by:
On Aug 14, 1:37 pm, raylopez99 <raylope...@yahoo.comwrote: You are, of course, entitled to your opinion, but lambdas are a part of C# 3.0, and any C# developer has to know their ins and outs if...
17
by: Matija Papec | last post by:
I would like to be able to convert any reference (function, object, or array) into unique string id and retrieve original reference afterwards using same id. The following code does this but...
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...

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.