RE: Create an .exe at runtime with .NET 2.0
- From: andersch <andersch@xxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 15:17:01 -0800
Hi Linda
Thank you for your answer.
Can you show me a simple code example please? I've searched without sucess
for an example how I can compile a new executable with the encrypted file
(resource file) and the already compiled winform (.exe).
Thanks and Regards,
andersch
"Linda Liu [MSFT]" wrote:
Hi Andersch,.
Based on my understanding, you'd like to create an executable file at
runtime with .NET 2.0, which in turn lauches an existing simple winform
application to decrypt an encrypted file. If I'm off base, please feel
free to let me know.
The .NET Framework includes a mechanism called the Code Document Object
Model (CodeDOM) that enables developers of programs that emit source code
to generate source code in multiple programming languages at run time,
based on a single model that represents the code to render.
The System.CodeDom namespace defines types that can represent the logical
structure of source code, independent of a specific programming language.
The System.CodeDom.Compiler namespace defines types for generating source
code from CodeDOM graphs and managing the compilation of source code in
supported languages.
FYI, The .NET Framework includes code generators and code compilers for C#,
JScript, and Visual Basic.
For more information on CodeDOM and how to use it, you may visit the
following link.
'Dynamic Source Code Generation and Compilation'
http://msdn2.microsoft.com/en-us/library/650ax5cx.aspx
Hope this helps.
If you have any question, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: Create an .exe at runtime with .NET 2.0
- From: "Jeffrey Tan[MSFT]"
- RE: Create an .exe at runtime with .NET 2.0
- From: Linda Liu [MSFT]
- RE: Create an .exe at runtime with .NET 2.0
- References:
- RE: Create an .exe at runtime with .NET 2.0
- From: Linda Liu [MSFT]
- RE: Create an .exe at runtime with .NET 2.0
- Prev by Date: security using windowsprincipal class
- Next by Date: .net resource files question...
- Previous by thread: RE: Create an .exe at runtime with .NET 2.0
- Next by thread: RE: Create an .exe at runtime with .NET 2.0
- Index(es):
Relevant Pages
|