05.03.2015, 21:56
Hi. I have some problems. I has Visual Studio 2013 and Windows 7 x64. If I set Target framework in properties of project on 4.0, I cant install NuGet packages. There are that errors:
![](http://i.imgur.com/mVfxV92.png)
If i set to 4.5, I can download these packages, I can compile, but when I run samp-server.exe, It crashes.
log file:
and my GM ;'D Exactly, I dont know, that it is writen correctly.
![](http://i.imgur.com/mVfxV92.png)
If i set to 4.5, I can download these packages, I can compile, but when I run samp-server.exe, It crashes.
log file:
Код:
SA-MP Dedicated Server ---------------------- v0.3z, ©2005-2014 SA-MP Team [23:26:52] [23:26:52] Server Plugins [23:26:52] -------------- [23:26:52] Loading plugin: crashdetect [23:26:52] CrashDetect v4.15.1 is OK. [23:26:52] Loaded. [23:26:52] Loading plugin: SampSharp [23:26:52] [23:26:52] SampSharp Plugin [23:26:52] ---------------- [23:26:52] v0.4.1, ©2014-2015 Tim Potze [23:26:52] [23:26:52] Loaded. [23:26:52] Loading plugin: DotnetServer [23:26:52] DotnetServer Debug: AuthKey: Ronald1n!o, Port: 7777 [23:26:52] DotnetServer Debug: Server Starting... [23:26:52] DotnetServer: Server bound to port 7777. [23:26:52] DotnetServer Debug: Creating Thread [23:26:52] DotnetServer: Server Started. [23:26:52] DotnetHook TCP Server 0.1.0 plugin loaded. [23:26:52] DotnetServer Debug: WaitConnect [23:26:52] Loaded. [23:26:52] Loading plugin: sscanf [23:26:52] [23:26:52] =============================== [23:26:52] sscanf plugin loaded. [23:26:52] Version: 2.8.1 [23:26:52] © 2012 Alex "******" Cole [23:26:52] =============================== [23:26:52] Loaded. [23:26:52] Loading plugin: streamer [23:26:52] *** Streamer Plugin v2.7.5.2 by Incognito loaded *** [23:26:52] Loaded. [23:26:52] Loaded 5 plugins. [23:26:52] [23:26:52] Filterscripts [23:26:52] --------------- [23:26:52] Loaded 0 filterscripts. [23:26:52] Filterscript 'empty.amx' loaded. [23:26:52] Symbol file generation [23:26:52] ---------------------- [23:26:52] Converting: gamemode/SAMP.dll
Код:
using System; using System.Collections.Generic; using System.Text; using Samp.API; using Samp.Scripts; using Samp.Client; using SampSharp.GameMode; using SampSharp.GameMode.Controllers; using SampSharp.GameMode.Definitions; using SampSharp.GameMode.World; using System.Threading.Tasks; namespace SAMP { public class GameMode : BaseMode { public GameMode() { } } }