Click here to Skip to main content
15,886,813 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How can i create PE file manually.By using anyone of these

csc.exe

msbuild.exe

ildasm

ilasm

by using command prompt.
Posted

1 solution

Each of these takes source files and creates the PE file.

The command lines are documented on MSDN - for example MSBuild[^] :-

So - if you had a visual studio solution file called "myprog.sln" you can compile it by:

msbuild myprog.sln /target:Compile
 
Share this answer
 
Comments
tnkarthi 20-Nov-15 5:33am    
It will create exe. But i need PE file for some purpose.
Duncan Edwards Jones 20-Nov-15 5:37am    
An executable is a PE file ( see http://www.codeproject.com/Articles/4089/Inside-the-executable-an-introduction-to-the-Porta )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900