Help - Search - Members - Calendar
Full Version: Skype API for .NET (from MSDN)
Skype Community > English > Development, Betas and Skype Garage > Public API
James Gupta_
Hey.

I recently downloaded the Skype API, but when I try to run any samples that came with it, or applications I make myself, regardless of what is in it, calling the form's initialiser flags the following error:

System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'SharpLogic.Skype, Version=1.0.2299.31885, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)" Source="MAG Chat"
FileName="SharpLogic.Skype, Version=1.0.2299.31885, Culture=neutral, PublicKeyToken=null"
FusionLog=""
StackTrace:
at MAG_Chat.mainForm..ctor()
at MAG_Chat.Program.Main() in C:Documents and SettingsUserLocal SettingsApplication DataTemporary ProjectsMAG ChatProgram.cs:line 17
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


Has anyone else experienced this?

I am using Visual C# 2005 Express
EdKaim_
Microsoft accidentally published the Debug version of SharpLogic.Skype.dll. There is a Release version at http://www.sharplogic.com/blogs/ed/PermaLi...0f53bf6cc6.aspx that should resolve your issues.
WorldRacer
Hello,

I'm now ready to take off with the new DLL. But now I'm getting this Exception:

SkypeNotAvailableException:
Communication timeout. This often occurs when Skype is not running, or if Skype is unable to connect to its server.
TheUberOverlord
If you are looking for a working C# example, please see this, because you are using C# 2005 version, you will need to remove the "using System.Linq" statement:

http://forum.skype.com/index.php?showtopic=142821
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.