Re: VS.NET Bugs (Features?)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Greg Burns (greg_burns_at_DONT_SPAM_ME_hotmail.com)
Date: 07/19/04


Date: Mon, 19 Jul 2004 12:58:44 -0400


#1 Is the DLL's timestamp changing when you recomplile? In
Build->Configuration Manager do you have build checked for the DLL project?
(Is your DLL project part of the same solution as the web project? Not
necessary, but maybe helpful info.)

Greg

"Mike Caputo" <MikeCaputo@discussions.microsoft.com> wrote in message
news:DD388F67-F455-415D-82AA-8B0482154CF8@microsoft.com...
> Having a couple of strange problems in Visual Studio:
>
> 1. In an ASP.NET project that references a DLL I created, the reference
appears not to update when I make some modification to the DLL, recompile
it, and then recompile the referencing project. Amazingly enough, this even
happens if I manually copy the recompiled DLL into the bin folder of the
project. The only ways to get around this that I've found involve either
closing and re-opening Visual Studio (which only works sometimes) or
removing the reference and adding it back in. I'm guessing this has to be
some kind of bug, but the relative vagueness of the problem description has
made it hard to find anything at all in MSKB, other forums, or good old
Google.
>
> 2. In a Web Control Library DLL (unrelated to the DLL in the first
problem), I can't import the root namespace or any namespaces under it
within the project. First of all, the root namespace of the project doesn't
show up in intellisense, and then even if I just type it out, I get
blue-squiggled with a message that it can't find the namespace.
>
> Any suggestions would be greatly appreciated. Thanks.
>
> Mike
>



Relevant Pages

  • Re: Migration of ASP Application from W2K to Win2003
    ... I will take your advice and recompile ALL VB6 DLLs and then post an update ... > for example, I've seen interop start with a native IIS API, use a .Net ... > removes IIS from the picture and instead focuses on the COM interop. ... > a) the VB6 DLL which is called from the classic ASP code works fine, ...
    (microsoft.public.windows.server.security)
  • Re: simple question
    ... you shouldn't have ANY .vb files out on your production server. ... html you just need deploy that .aspx file to have your change take effect. ... require the .dll to be recompiled and deployed. ... But now, if i make a> MINOR change to a code-behind file, how do i replicate the changes without> having to recompile the whole project and make the whole process again? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Shared Assembly best practices?
    ... And different DLLs are compiled with different version of this DLL ... Set CopyLocal to False in the dll reference properties ... time this DLL gets recompiled, you will need to recompile everything that ... We are getting warnings like the following. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to get an handle on an out-of-process COM component ?
    ... You can't change the code otherwise you would have recompile the dll. ... If you add a reference to VB6.dll for instance. ... How can he change its code to make the classes inside its component "public" so that "tlbimp.exe" can expose a public non-internal constructor? ...
    (microsoft.public.dotnet.framework)
  • Re: .NET DLL Hell?
    ... recompile B if B was loaded in the solution. ... So then you reference the fixed B.dll file. ... if I were maintaining an app with such a structure for building ... Does C depend on a dll ...
    (microsoft.public.dotnet.framework)