Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.5k views
in .NET FTP by (160 points)
Hello... I downloaded the source for the latest version, and tried to compile for x64. Unfortunately, I am missing some stuff, namely:

namespace of FTPSemaphore and the definition for PathUtil (both errors occurred in FTPConnections.cs)

Can you tell me how to resolve these errors?

Thank you.

6 Answers

0 votes
by (162k points)
They are included in the distro - but may not be included in the VS project. Simply include PathUtil.cs and FTPSemaphore.cs in the project. We'll fix this for the next release.
0 votes
by (160 points)
Thanks... found them...
0 votes
by (410 points)
Ran into the missing FTPSemaphore and PathUtil but, as mentioned, just had to add them to the project.

However found a another thing when I set the NET20 compile flag. Line 808 of Logger.cs: ConfigurationManager - Changed it to ConfigurationSettings.

Hope that was the right choice.
0 votes
by (410 points)
One other comment for compiling in Visual Studio 2008 (and perhaps in 2005) is the strong name key file. I ended up commenting out it's inclusion from the AssembyInfo.cs file:
//[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile(@"..\..\config\edtFTPnet.snk")]
//[assembly: AssemblyKeyName("")]

//[assembly: ComVisible(false)]
//[assembly: CLSCompliant(false)]

and using the "Project Designer" Signing page. (Select the project, then properties and then the Signing tab.

Conversion of the project to VS2008 worked with no errors.
0 votes
by (162k points)
Thanks for the info.
0 votes
by (410 points)
Thanks for the info.


Just a quick note that I realized today I shouldn't have commented out the last two lines of the AssemblyInfo.cs but should have left them alone.

//[assembly: ComVisible(false)]
//[assembly: CLSCompliant(false)]

Categories

...