|
Eddy Vluggen wrote: A better strategy would be to store everything in SourceSafe
...you mean TFS, right?
"I need build Skynet. Plz send code"
|
|
|
|
|
Alaric_ wrote: ...you mean TFS, right?
Floppy disk, and store it under a mattress
I are Troll
|
|
|
|
|
Eddy Vluggen wrote: store it under a mattress
Nah, the princess I'm married to would complain about the lump.
|
|
|
|
|
|
That was far better information than I've seen otherwise. Thanks.
"debugging binaries you build locally is easy"
That's the only kind I have ever needed to do (so far).
|
|
|
|
|
You are welcome
|
|
|
|
|
1) Absolutely. Release configuration is designed of producing public releases. However this should be part of your build process (team system/nant or whatever) and not a manual process changing each project.
2) No. Debug builds are different. For starters they define the debug symbol, so any code enclosed in the #IF DEBUG ... #ENDIF tags will run in the wild, where it definitely should not go. Also additional debug symbols will be compiled into the application in Debug, causing a larger file.
3) Check the settings for any project, and you will see that you can set a number of different compiler options for each configuration, ranging from generation of XML documentation files to enabling compiler optimisations and targeting specific CPUs. For a debug build you may not care about CPUs if the dev environment is all 32bit, but in production you have to get specific or suffer the consequences.
4) A 'True' release build, should not be debugable, will not include debug symbols, will probably not include documentation, will be optimised, does not define the TRACE or DEBUG compiler constants thereby enabling different code paths, should generate a smaller dll of exe.
PDB files should be generated in Release builds, but probably not shipped. They hold source code line number information and are therefore needed for pinpointing the line numbers where exceptions are thrown.
|
|
|
|
|
So, if you have no code enclosed within a #IF DEBUG #ENDIF block, and you set <compilation debug="false"> inside the web.config (which would prevent insertion of debug symbols), would there still be tangible advantages to issuing under a "Release" configuration? (I just tested and my dll is 96kb whether I am in Debug or Release mode...even with the "Optimize Code" flag set)
...There should be a "Run slow" checkbox that cannot be unchecked lol.
The Man from U.N.C.L.E. wrote: 3)For a debug build you may not care about CPUs if the dev environment is all 32bit, but in production you have to get specific or suffer the consequences.
Would you care to enumerate the consequences? Even if the prod processors are 64-bit, they'd still have to be running an x64 OS for there to be any problems, right?
"I need build Skynet. Plz send code"
|
|
|
|
|
...and even then, that's slightly puzzling because the x86-64 extension is fully backwards compatible with the legacy x86's 32-bit instruction set. Why would there be consequences to targetting an x86 even if it were running on an x64 processor?
Or are you inferring the converse? Since a target of "Any CPU" runs on the 64 bit CLR, are you implying that if you have x86 hardware, you need to specifically target it???
"I need build Skynet. Plz send code"
|
|
|
|
|
Targeting x86 running on x64 requires you to change the enable32BitAppOnWin64 setting on the AppPool to true. So one possible problem there.
Targeting AnyCPU when you have a third party dll built for 32-bit will crash if the server os is upgraded to 64-bit.
So if there is any possibility of deploying on 64-bit then make sure you target x86 or x64 and not any-cpu, unless you are absolutely certain it will run under both.
If you are only deploying on 32-bit os then that setting is irrelevant.
|
|
|
|
|
Correct on the 64-bit.
We had an instance recently where we had not set for 32-bit and referenced a 32-bit third party dll. One client upgraded without telling us, until it all died. In practive we set that for debug as well, so not a debug/release issue as such, just to take more care when setting up a release build.
|
|
|
|
|
Hi,
I want to send the email from my standalone desktop application.
I searched for a stand alone email server but got only
http://www.ericdaugherty.com/dev/cses/
Actually I want to do some thing like
<br />
<br />
private void mailNow()<br />
{<br />
SimpleServer simpleServer = new SimpleServer(65535, null);<br />
simpleServer.Start();<br />
<br />
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();<br />
message.To.Add("zxc@abc.com");<br />
message.From = new MailAddress(this.Text.ToString() + "@youmachine.com", this.Text.ToString());<br />
message.Subject = "TEST MAIL from " + this.Text.ToString();<br />
message.Body = "TEST MAIL FROM " + this.Text.ToString();<br />
SmtpClient smtpClient = new SmtpClient("localhost", 65535);<br />
smtpClient.Send(message);<br />
<br />
simpleServer.Stop();<br />
}<br />
:? but my application hang at line
<br />
simpleServer.Start();<br />
anybody knows how to use that; actually I am new to C# have worked only on Sun Java
|
|
|
|
|
Start debugging through the service or contact the author
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
yeah
already tried that; actually it stuck in the while(true) loop in the Start method.
i think i have to background this (start it as a thread) and move to the next line for connecting to it
any hint or suggestion from where i can get help regarding threads to solve problem like this
|
|
|
|
|
You'll have to contact the author of SimpleServer to get that solved. I've never heard of it, nor used it.
Your other problem is that most SMTP servers will not relay or receive mail from untrusted sources. So, depending on your mail servers config and the ones you're sending mail to, those servers may just reject your mail and there's nothing you can do about it.
|
|
|
|
|
well if i am able to send the mails; i'll just attach the domain keys not to be marked as spam by the receiving server.
|
|
|
|
|
Hi
how to integrating RS 2005 to Vs 2008 to show report using reportviewer control.
Can You provide me code or If u know any link available.
Please forward me.
try and try untill reach success..
|
|
|
|
|
Hi,
Hope this is the right place to post the issue with ActiveXControl. (If not, please let me know the correct Message Board.)
I've a windows class library and would like to create ActiveXControl for that. I regstered the dll using RegAsm.exe and created the below html in local IIS(wwwroot) and accessed. But its not showing the design.
Please let me know if I missed any steps in creation of ActiveXControl. Thanks in advance.
<html>
<body color=white>
<hr>
Please note that you MUST load this HTML document from your local IIS, or from a TRUSTED SITE
<hr>
<font face=arial size=1>
<OBJECT id="myControl1" name="myControl1" classid="0AE91E82-5EE3-4d27-B7ED-CE2C0B059BB7" width="500" height="200">
</OBJECT>
</font>
<hr>
</body>
</html>
classid is the GUID of the class.
In one of the class, I declared the GUID as below.
[
Guid("0AE91E82-5EE3-4d27-B7ED-CE2C0B059BB7"),
InterfaceType(ComInterfaceType.InterfaceIsDual),
ComVisible(true)
]
|
|
|
|
|
This is probaby the best place for this question.
|
|
|
|
|
|
Hi
I Want to Save My new scaned MultiPageTiff File on other existing MultiPageTiff File
Can you halp me?
|
|
|
|
|
|
hi
I want to please your comments and advice in a project:
the idea is to write and read from a text file format by checking the size of what is going to write or read, is like creating a table in sql server and fill in according to the size of variables declared
if you Propostion in that sense I thank you very much.
|
|
|
|
|
This isn't very clear, but I think you are asking for help on how to write out a fixed-width column text file?
You can use a StringBuilder object to append lines.
You can use the PadLeft and PadRight methods on a string to create equally sized columns.
If this is not what you are after, please clarify your question a little.
Cheers,
|
|
|
|
|
ok, i should write in the text file to a value that must not exceed 14 characters, how to do that???
|
|
|
|