probleme de compilation sous sharpdevelop
Bonjour,
j'ai récupéré un projet mais il ne compile pas => pour qu'il compile, il faut que je vide le contenu du fichier properties => Settings.settings => Settings.Disigner.cs
une fois que j'ai compilé, si je recompile par derriere, j'ai a nouveau l'erreur (il faut que je revide le fichier).
contenu du fichier Settings.Disigner.cs après compilations
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.832
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("ICSharpCode.SettingsEditor.SettingsCodeGeneratorTool", "2.1.0.2429")]
internal sealed partial class : global::System.Configuration.ApplicationSettingsBase {
private static void defaultInstance = ((void)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new void())));
public static void Default {
get {
return defaultInstance;
}
}
} |
j'ai des erreurs sur les lignes :
Code:
internal sealed partial class : global::System.Configuration.ApplicationSettingsBase {
et
Code:
private static void defaultInstance = ((void)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new void())));
contenu du fichier Settings.Disigner.cs avant compilation :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microchip_Ethernet_Discoverer.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
} |