Stolker Posted April 18, 2010 Report Share Posted April 18, 2010 Hi, I try to compile keratin, but i have warnings. ------ Début de la génération : Projet : Ketarin, Configuration : Debug Any CPU ------ Settings.cs(71,48): avertissement CS0168: La variable 'ex' est déclarée, mais jamais utilisée Settings.cs(240,48): avertissement CS0168: La variable 'ex' est déclarée, mais jamais utilisée XmlRpc\XmlRpcSerializer.cs(1153,24): avertissement CS0168: La variable 'ex' est déclarée, mais jamais utilisée XmlRpc\XmlRpcSerializer.cs(1873,21): avertissement CS0649: Le champ 'CookComputing.XmlRpc.XmlRpcSerializer.FaultStructStringCode.faultCode' n'est jamais assigné et possédera toujours sa valeur par défaut null C:\Users\Matt\Desktop\Ketarin\Ketarin\XmlRpc\XmlRpcSerializer.cs(1874,21): avertissement CS0649: Le champ 'CookComputing.XmlRpc.XmlRpcSerializer.FaultStructStringCode.faultString' n'est jamais assigné et possédera toujours sa valeur par défaut null Compilation terminée -- 0 erreurs, 5 avertissements Ketarin -> bin\Debug\Ketarin.exe ========== Génération : 1 a réussi ou est à jour, 0 a échoué, 0 a été ignoré ========== And i have this message when run exe: Could not create or load the database file: Impossible de charger le fichier ou l'assembly 'System.Data.SQLite, Version=1.0.65.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' ou une de ses dépendances. Tentative de chargement d'un programme de format incorrect. I am newbie in C#. If you have any idea, thx to reply Stolker Link to comment Share on other sites More sharing options...
andreone Posted April 18, 2010 Report Share Posted April 18, 2010 The warnings are "normal". They only indicate that a variable could be not declared, and this is harmless. If you fail to launch the exe, this is because you must have System.Data.SQLite.DLL in it's directory (or in the gac, but this is not relevant here). The dll is in the Assemblies folder of the project, and usually automatically copied to the output directory by the build process. Link to comment Share on other sites More sharing options...
Stolker Posted April 19, 2010 Author Report Share Posted April 19, 2010 (edited) I've find answer to my question I've changed the platform : any cpu > x86 Now it's good. But i've an other prob, i would that keratin show me the web page when the HTTP code is 300. But I dont know how made Have you an idea? Google say : HttpWebRequest.MaximumAutomaticRedirections=1; HttpWebRequest.AllowAutoRedirect=true; ? In file : XmlRpcClientProtocol.cs WebClient.cs Updater.cs ? Edit: To access at the web page (with HTTP code 300), i'm obligated to go on a proxy.... XD Edited April 20, 2010 by Stolker Link to comment Share on other sites More sharing options...
floele Posted April 23, 2010 Report Share Posted April 23, 2010 The warnings are fine, they come from the 3rd party XML RPC code (which is btw, horribly ugly. Don't read it, your eyes will bleed.). I'm not sure what you want to achieve with the 300 error code thingy though. Link to comment Share on other sites More sharing options...
jamesturner125 Posted June 3, 2010 Report Share Posted June 3, 2010 (edited) OK so the warnings will in no way affect anything, correct? Just making sure as I am having the same issue as well. Thanks in advance Edited June 11, 2010 by jamesturner125 Link to comment Share on other sites More sharing options...
floele Posted July 8, 2010 Report Share Posted July 8, 2010 Nope, they won't harm. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now