I am new to this community.I am unable to save self-extracting zip exe with Ionic.zip.dll on my Test server . when I debugged the code,I am getting error as "Compiler executable file csc.exe cannot be found".But I am wondering that on my development server it was succesfully saved, run and extracted well.But On my Test server it is not success.Both servers are same configuration with Windows 7 and framework .Net 4.0. I am using shared path directory to add files. the code is looking as below is
Using zip1 As New ZipFile()
zip1.AlternateEncodingUsage = Ionic.Zip.ZipOption.Always
zip1.AlternateEncoding = Text.Encoding.UTF8
zip1.Comment = "This will be embedded into a self-extracting exe"
Dim sSaveOption As New SelfExtractorSaveOptions
sSaveOption.Flavor = SelfExtractorFlavor.WinFormsApplication
sSaveOption.Quiet = False
zip1.SaveSelfExtractor(StageDir & "\" & sTargetFile & ".exe", sSaveOption)
here sMoveDirectory is a sharedpath directory in the same server.
Hope response to fix my issue.