Skip to content

Commit 594ff9e

Browse files
committed
Update to latest RocketMod + .NET Core Project structure
1 parent 9264115 commit 594ff9e

5 files changed

Lines changed: 25 additions & 144 deletions

File tree

Properties/AssemblyInfo.cs

Lines changed: 0 additions & 11 deletions
This file was deleted.

Votifier.csproj

Lines changed: 25 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,33 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{2D98D5E7-1928-4D09-881D-AA64A3AA0AB9}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>fr34kyn01535.Votifier</RootNamespace>
3+
<TargetFrameworks>net35</TargetFrameworks>
114
<AssemblyName>Votifier</AssemblyName>
12-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<TargetFrameworkProfile />
15-
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>false</DebugSymbols>
18-
<DebugType>none</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>TRACE;DEBUG</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
<DocumentationFile>
25-
</DocumentationFile>
26-
<UseVSHostingProcess>false</UseVSHostingProcess>
27-
</PropertyGroup>
28-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29-
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
<ErrorReport>prompt</ErrorReport>
34-
<WarningLevel>4</WarningLevel>
5+
<RootNamespace>fr34kyn01535.Votifier</RootNamespace>
6+
<OutputType>Library</OutputType>
7+
</PropertyGroup>
8+
<PropertyGroup>
9+
<PackageId>Votifier</PackageId>
10+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
11+
<PackageTags>RocketMod Unturned</PackageTags>
12+
<PackageLicenseUrl>https://github.com/RocketModPlugins/Votifier/blob/master/LICENSE</PackageLicenseUrl>
13+
<PackageAuthors>Sven Mawby&lt;fr34kyn01535@bam.yt&gt;, Enes Sadık Özbek &lt;esozbek.me&gt;</PackageAuthors>
14+
<PackageOwners>Sven Mawby&lt;fr34kyn01535@bam.yt&gt;</PackageOwners>
15+
<Version>1.0.0</Version>
16+
<PackageVersion>1.0.0</PackageVersion>
17+
<Authors> Sven Mawby&lt;fr34kyn01535@bam.yt&gt;, Enes Sadık Özbek &lt;esozbek.me&gt;</Authors>
18+
<Description>Vote on server lists and get a reward.</Description>
19+
<Copyright>Sven Mawby&lt;fr34kyn01535@bam.yt&gt;</Copyright>
20+
<AssemblyVersion>1.0.0</AssemblyVersion>
21+
<FileVersion>1.0.0</FileVersion>
22+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
3523
</PropertyGroup>
3624
<ItemGroup>
37-
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
38-
<HintPath>packages\Rocket.Unturned.5.0.0.155\lib\net35\Assembly-CSharp.dll</HintPath>
39-
</Reference>
40-
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
41-
<HintPath>packages\Rocket.Unturned.5.0.0.155\lib\net35\Assembly-CSharp-firstpass.dll</HintPath>
42-
</Reference>
43-
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
44-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\ICSharpCode.SharpZipLib.dll</HintPath>
45-
</Reference>
46-
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
47-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\Microsoft.Practices.ServiceLocation.dll</HintPath>
48-
</Reference>
49-
<Reference Include="Microsoft.Practices.Unity, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\Microsoft.Practices.Unity.dll</HintPath>
51-
</Reference>
52-
<Reference Include="Microsoft.Practices.Unity.Configuration, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\Microsoft.Practices.Unity.Configuration.dll</HintPath>
54-
</Reference>
55-
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
56-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\Newtonsoft.Json.dll</HintPath>
57-
</Reference>
58-
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
59-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\RestSharp.dll</HintPath>
60-
</Reference>
61-
<Reference Include="Rocket.API, Version=5.0.0.534, Culture=neutral, processorArchitecture=MSIL">
62-
<HintPath>packages\Rocket.API.5.0.0.534\lib\net35\Rocket.API.dll</HintPath>
63-
</Reference>
64-
<Reference Include="Rocket.Compatibility, Version=5.0.0.534, Culture=neutral, processorArchitecture=MSIL">
65-
<HintPath>packages\Rocket.Compatibility.5.0.0.534\lib\net35\Rocket.Compatibility.dll</HintPath>
66-
</Reference>
67-
<Reference Include="Rocket.Core, Version=5.0.0.534, Culture=neutral, processorArchitecture=MSIL">
68-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\Rocket.Core.dll</HintPath>
69-
</Reference>
70-
<Reference Include="Rocket.UnityEngine, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
71-
<HintPath>packages\Rocket.UnityEngine.5.0.0.34\lib\net35\Rocket.UnityEngine.dll</HintPath>
72-
</Reference>
73-
<Reference Include="Rocket.Unturned, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
74-
<HintPath>packages\Rocket.Unturned.5.0.0.155\lib\net35\Rocket.Unturned.dll</HintPath>
75-
</Reference>
76-
<Reference Include="System" />
77-
<Reference Include="System.Core" />
78-
<Reference Include="System.Runtime.Serialization">
79-
<HintPath>packages\Rocket.Core.5.0.0.534\lib\net35\System.Runtime.Serialization.dll</HintPath>
80-
<Private>True</Private>
81-
</Reference>
82-
<Reference Include="System.Xml.Linq" />
83-
<Reference Include="System.Data.DataSetExtensions" />
84-
<Reference Include="System.Data" />
85-
<Reference Include="System.Xml" />
86-
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
87-
<SpecificVersion>False</SpecificVersion>
25+
<PackageReference Include="Rocket.Core" Version="5.0.0.566">
26+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
27+
</PackageReference>
28+
<PackageReference Include="Rocket.Unturned" Version="5.0.0.162" />
29+
<Reference Include="UnityEngine">
8830
<HintPath>lib\UnityEngine.dll</HintPath>
89-
<Private>False</Private>
9031
</Reference>
9132
</ItemGroup>
92-
<ItemGroup>
93-
<Compile Include="CommandReward.cs" />
94-
<Compile Include="Config\Reward.cs" />
95-
<Compile Include="Config\RewardBundle.cs" />
96-
<Compile Include="Config\Service.cs" />
97-
<Compile Include="Config\ServiceDefinition.cs" />
98-
<Compile Include="PlayerVotedEvent.cs" />
99-
<Compile Include="VoteResult.cs" />
100-
<Compile Include="VotifierWebclient.cs">
101-
<SubType>Component</SubType>
102-
</Compile>
103-
<Compile Include="Config\VotifierConfiguration.cs" />
104-
<Compile Include="Votifier.cs" />
105-
<Compile Include="Properties\AssemblyInfo.cs" />
106-
</ItemGroup>
107-
<ItemGroup>
108-
<Content Include="lib\UnityEngine.dll" />
109-
</ItemGroup>
110-
<ItemGroup>
111-
<None Include="app.config" />
112-
<None Include="packages.config" />
113-
</ItemGroup>
114-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
115-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
116-
Other similar extension points exist, see Microsoft.Common.targets.
117-
<Target Name="BeforeBuild">
118-
</Target>
119-
<Target Name="AfterBuild">
120-
</Target>
121-
-->
12233
</Project>

app.config

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/UnityEngine.dll

772 KB
Binary file not shown.

packages.config

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)