width="433" height="1" alt="" />

Archive for August, 2006

links for 2006-09-01

Posted in Bookmarks on August 31st, 2006
?php trackback_rdf(); ?>

How to find out if an assembly is compiled in Debug or Release mode?

Posted in .NET on August 31st, 2006

Via Scott.

> csc /debug BuildFind.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

> BuildFind.exe BuildFind.exe
Run time Optimizer is enabled : False
Run time Tracking is enabled : True
BuildFind.exe is a DEBUG Build….

> csc /o BuildFind.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

> BuildFind.exe BuildFind.exe
BuildFind.exe is a RELEASE Build….

?php trackback_rdf(); ?>

Use xcopy in post-built event of Visual Studio.Net

Posted in .NET on August 31st, 2006

The data access example shipped with the Microsoft enterprise library showed an example:

xcopy /C /I /R /Y “$(ProjectDir)dataConfiguration.config” “$(ProjectDir)$(OutDir).”
copy “$(ProjectDir)DataAccessQuickStart.exe.manifest” “$(ProjectDir)$(OutDir).”

where the options for xcopy are:

/C Continue copying even if an error occurs.

/I If in doubt always assume the destination is a folder
e.g. when the destination does not exist.

/R Overwrite read-only files.

/Y (Windows 2000 only) Suppress prompt to confirm overwriting a file.
may be preset in the COPYCMD env variable.

More detail of the xcopy command can be found here.

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-31

Posted in Bookmarks on August 30th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-30

Posted in Bookmarks on August 29th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-29

Posted in Bookmarks on August 28th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-28

Posted in Bookmarks on August 27th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-27

Posted in Bookmarks on August 26th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-26

Posted in Bookmarks on August 25th, 2006

Leave A Comment »

?php trackback_rdf(); ?>

links for 2006-08-25

Posted in Bookmarks on August 24th, 2006

Leave A Comment »

?php trackback_rdf(); ?>