Four small errors
Hey.
I have downloaded one good program and I have decompiled it. I want to change some adresses and then to build it, but in Visual Studio I have 4 errors found... One is "Duplicate System Runtime Versioning Target Framework attribute", other about names which do not exist. You can see it in the screenshots. I am totally beginner, so although I have found some information about it, I cannot repair the source code.
I hope skilled programmer will have it done in 4 minutes...
Could anybody help me? I really need it!
Thanks a lot.

Second one.

Uploaded with ImageShack.us
Uploaded with ImageShack.us
I have downloaded one good program and I have decompiled it. I want to change some adresses and then to build it, but in Visual Studio I have 4 errors found... One is "Duplicate System Runtime Versioning Target Framework attribute", other about names which do not exist. You can see it in the screenshots. I am totally beginner, so although I have found some information about it, I cannot repair the source code.
I hope skilled programmer will have it done in 4 minutes...
Could anybody help me? I really need it!
Thanks a lot.

Second one.

Uploaded with ImageShack.us
Uploaded with ImageShack.us
Code:
// Assembly Hack-Dayz, Version 1.0.0.0
[assembly: System.Reflection.AssemblyCompany("")]
[assembly: System.Reflection.AssemblyProduct("Hack-Dayz")]
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)]
[assembly: System.Reflection.AssemblyTitle("Hack-Dayz")]
[assembly: System.Reflection.AssemblyDescription("")]
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | System.Diagnostics.DebuggableAttribute.DebuggingModes.Default)]
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
[assembly: System.Runtime.InteropServices.Guid("5862f95c-7600-42ad-85a2-a5334007131d")]
[assembly: System.Reflection.AssemblyCopyright("Copyright \x00a9 2012")]
[assembly: System.Reflection.AssemblyFileVersion("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName=".NET Framework 4 Client Profile")]
[assembly: System.Runtime.InteropServices.ComVisible(false)]
[assembly: System.Reflection.AssemblyTrademark("")]
----
namespace WindowsApplication1.My
{
using Microsoft.VisualBasic.ApplicationServices;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;
using System.Diagnostics;
using System.Runtime.CompilerServices;
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), CompilerGenerated, EditorBrowsable(EditorBrowsableState.Advanced)]
internal sealed class MySettings : ApplicationSettingsBase
{
private static bool addedHandler;
private static object addedHandlerLockObject = RuntimeHelpers.GetObjectValue(new object());
private static MySettings defaultInstance = ((MySettings) SettingsBase.Synchronized(new MySettings()));
[DebuggerNonUserCode, EditorBrowsable(EditorBrowsableState.Advanced)]
private static void AutoSaveSettings(object sender, EventArgs e)
{
if (MyProject.Application.SaveMySettingsOnExit)
{
MySettingsProperty.Settings.Save();
}
}
public static MySettings Default
{
get
{
if (!addedHandler)
{
object addedHandlerLockObject = MySettings.addedHandlerLockObject;
ObjectFlowControl.CheckForSyncLockOnValueType(addedHandlerLockObject);
lock (addedHandlerLockObject)
{
if (!addedHandler)
{
MyProject.Application.Shutdown += new ShutdownEventHandler(MySettings.AutoSaveSettings);
addedHandler = true;
}
}
}
return defaultInstance;
}
}
}
}

