Ask a Question related to ASP.NET General, Design and Development.
-
Steve - DND #1
Pre-Compiler Definitions Changing?
I have a web project which references some assemblies from other projects I
have worked on in different solutions, and am running into some quirky
behavior.
My web project assembly is DND.WebCenter, and references my assembly DND
(function library and common tools). I manually specify the AssemblyVersion
for both of the assemblies, so I know they are always correct.
DND has some constants conditionally defined, so that when DEBUG is
declared, the constants(some file paths, and such), map to a particular
directory on the development machine, whereas when RELEASE is declared, the
constants map to the proper locations on the production server.
The production web server, has a Release built copy of both assemblies on
it, and everything works perfect.
The problem I run into is when I build DND.WebCenter for release, and DND
happens to have been last built as Debug(for some testing). When I upload
DND.WebCenter to the live server, and not DND. Nothing works as it should in
terms of file paths, even though the copy of DND was previously built as
Release, and uploaded to the server.
It seems that DND.WebCenter feels that it should be referencing DND with
DEBUG declared, and is acting as such. If I go and rebuild DND as release,
then build DND.WebCenter as release, and upload to the server, then all is
well.
Is this the intended functionality of the .Net Framework? If it is, it is
certainly something to watch out for, since I will always need to make sure
all referenced assemblies are built as release, even if a same version
release already exists on the production web server.
Thanks,
Steve
Steve - DND Guest
-
Group definitions
I need to find the details of each group found in AIX systems. This include file ownership, task that could be done, list of commands able to... -
Site Definitions
Is there a way of copying the site definitions from Dreaweaver 4 to Dreamweaver MX I have both running on my computer -
Compiler Error Message: The compiler failed with error code 128.
Hi. I am having trouble running my aspx code. I created two simple webforms, which i try to run from two different directories one is giving me... -
Changing Site Definitions to Localhost
No you would define your site as http://localhost/geosymbols/ -- Regards Paul Whitham Valleybiz Internet Design www.valleybiz.net Team... -
how to backup site definitions?
hello, is there any way of backing up my site definitions? half of them disapeared a few months ago with all my ftp details etc, and i'm worried...



Reply With Quote

