compilation configuration

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys

Ok, so I've been trying to work out how to get a Release version of my
website out of VS2005, and I'm having no luck! Hopefully you guys can help..

I've tried setting compiler debug="false" - it doesn't work. I've got some
#if DEBUG.. code in my site and it always shows debug, whether this is set to
true or false.

How else could this be set? I'm seeing a <compiler /> section which has the
following defined...

compilerOptions="/d:DEBUG;TRACE" and I'm wondering if this somehow overrides
the debug="false" ?! If so, how do I change that to be release?

Finally, i tried to Publish my site. That seemed to work, but I'm getting a
Parser Error "Ambiguous match found" when I try and run the the site. Can
someone provide a good explanation of what this is and how to fix it? All the
google replies seem to be confusing me!

Cheers for any help on any of this!



Dan
 
Hi Dan,

Thank you for posting.

Regarding on this issue, I've also found your another thread on the same
question in this newsgroup:

Subject: Can I change my code depending on the build type?
Date: Mon, 8 May 2006 05:41:02 -0700
Newsgroups: microsoft.public.dotnet.framework.aspnet

I've posted some of my suggestion in addition to other community member's
in that one. If you feel it convenient that we continue to discuss in that
thread, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top