• We've upgraded our forums. Please post any issues/requests in this thread.

publish encrypted C# application

kellyL

New Member
Joined
May 2, 2009
Messages
1 (0.00/day)
Likes
0
#1
I need to publish my encrypted C# application. The encryption is done by a third party software. After build, I encrypt exe and dlls. But when I used publish function in Microsoft Visual C# Express Edition, it rebuilt and generated publishing package. I tried to add Post Build Event to replace exe and dlls with encrypted ones, but the IDE's publish action ignored Post Build Events. In the published package, only non encrypted exe and dlls were published. Many other ways were tried, such as replace files manually and editing manifest files in Mage.exe. None of them worked. Had anyone done similar thing and made it working?
Thanks ahead,
Kelly
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,907 (6.24/day)
Likes
10,003
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#2
As far as i know, Publish is only for ASP.NET to copy files to a webserver.