Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

Commit 6f4ac0c

Browse files
committed
Update to latest RocketMod + .NET Core Project structure
1 parent 1a9121d commit 6f4ac0c

File tree

10 files changed

+89
-527
lines changed

10 files changed

+89
-527
lines changed

Rocket.Scripting.CSharp/Properties/AssemblyInfo.cs

-35
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,189 +1,36 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" 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>{2FA79532-B649-4769-AE89-EB0C2A24B411}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<RootNamespace>Rocket.Scripting.CSharp</RootNamespace>
3+
<TargetFrameworks>net461</TargetFrameworks>
104
<AssemblyName>Rocket.Scripting.CSharp</AssemblyName>
11-
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
12-
<FileAlignment>512</FileAlignment>
13-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14-
<TargetFrameworkProfile />
15-
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<PlatformTarget>AnyCPU</PlatformTarget>
18-
<DebugSymbols>true</DebugSymbols>
19-
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\</OutputPath>
22-
<DefineConstants>DEBUG;TRACE</DefineConstants>
23-
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>4</WarningLevel>
25-
<Prefer32Bit>false</Prefer32Bit>
26-
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<PlatformTarget>AnyCPU</PlatformTarget>
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>
35-
<Prefer32Bit>false</Prefer32Bit>
36-
</PropertyGroup>
37-
<PropertyGroup>
38-
<StartupObject />
39-
</PropertyGroup>
40-
<ItemGroup>
41-
<Reference Include="CSScriptLibrary, Version=3.28.4.0, Culture=neutral, PublicKeyToken=70fcc3d18c749033, processorArchitecture=MSIL">
42-
<HintPath>..\packages\CS-Script.bin.3.28.4.0\lib\net46\CSScriptLibrary.dll</HintPath>
43-
</Reference>
44-
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
45-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\ICSharpCode.SharpZipLib.dll</HintPath>
46-
</Reference>
47-
<Reference Include="Microsoft.CodeAnalysis, Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
48-
<HintPath>..\packages\Microsoft.CodeAnalysis.Common.2.8.2\lib\netstandard1.3\Microsoft.CodeAnalysis.dll</HintPath>
49-
</Reference>
50-
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
51-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.2.8.2\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
52-
</Reference>
53-
<Reference Include="Microsoft.CodeAnalysis.CSharp.Scripting, Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
54-
<HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.Scripting.2.8.2\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.Scripting.dll</HintPath>
55-
</Reference>
56-
<Reference Include="Microsoft.CodeAnalysis.Scripting, Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
57-
<HintPath>..\packages\Microsoft.CodeAnalysis.Scripting.Common.2.8.2\lib\netstandard1.3\Microsoft.CodeAnalysis.Scripting.dll</HintPath>
58-
</Reference>
59-
<Reference Include="Microsoft.CSharp" />
60-
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
61-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\Microsoft.Practices.ServiceLocation.dll</HintPath>
62-
</Reference>
63-
<Reference Include="Microsoft.Practices.Unity, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
64-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\Microsoft.Practices.Unity.dll</HintPath>
65-
</Reference>
66-
<Reference Include="Microsoft.Practices.Unity.Configuration, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
67-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\Microsoft.Practices.Unity.Configuration.dll</HintPath>
68-
</Reference>
69-
<Reference Include="Mono.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
70-
<HintPath>..\packages\CS-Script.bin.3.28.4.0\lib\net46\Mono.CSharp.dll</HintPath>
71-
</Reference>
72-
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
73-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\Newtonsoft.Json.dll</HintPath>
74-
</Reference>
75-
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
76-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\RestSharp.dll</HintPath>
77-
</Reference>
78-
<Reference Include="Rocket.API, Version=5.0.0.503, Culture=neutral, processorArchitecture=MSIL">
79-
<HintPath>..\packages\Rocket.API.5.0.0.503\lib\net35\Rocket.API.dll</HintPath>
80-
</Reference>
81-
<Reference Include="Rocket.Compatibility, Version=5.0.0.503, Culture=neutral, processorArchitecture=MSIL">
82-
<HintPath>..\packages\Rocket.Compatibility.5.0.0.503\lib\net35\Rocket.Compatibility.dll</HintPath>
83-
</Reference>
84-
<Reference Include="Rocket.Core, Version=5.0.0.503, Culture=neutral, processorArchitecture=MSIL">
85-
<HintPath>..\packages\Rocket.Core.5.0.0.503\lib\net35\Rocket.Core.dll</HintPath>
86-
</Reference>
87-
<Reference Include="System" />
88-
<Reference Include="System.AppContext, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
89-
<HintPath>..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll</HintPath>
90-
<Private>True</Private>
91-
</Reference>
92-
<Reference Include="System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
93-
<HintPath>..\packages\System.Collections.Immutable.1.5.0\lib\netstandard1.3\System.Collections.Immutable.dll</HintPath>
94-
</Reference>
95-
<Reference Include="System.ComponentModel.Composition" />
96-
<Reference Include="System.Console, Version=4.0.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
97-
<HintPath>..\packages\System.Console.4.3.1\lib\net46\System.Console.dll</HintPath>
98-
</Reference>
99-
<Reference Include="System.Core" />
100-
<Reference Include="System.Diagnostics.FileVersionInfo, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
101-
<HintPath>..\packages\System.Diagnostics.FileVersionInfo.4.3.0\lib\net46\System.Diagnostics.FileVersionInfo.dll</HintPath>
102-
</Reference>
103-
<Reference Include="System.Diagnostics.StackTrace, Version=4.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
104-
<HintPath>..\packages\System.Diagnostics.StackTrace.4.3.0\lib\net46\System.Diagnostics.StackTrace.dll</HintPath>
105-
</Reference>
106-
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
107-
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
108-
<Private>True</Private>
109-
</Reference>
110-
<Reference Include="System.IO.FileSystem, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
111-
<HintPath>..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll</HintPath>
112-
</Reference>
113-
<Reference Include="System.IO.FileSystem.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
114-
<HintPath>..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll</HintPath>
115-
</Reference>
116-
<Reference Include="System.Numerics" />
117-
<Reference Include="System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
118-
<HintPath>..\packages\System.Reflection.Metadata.1.6.0\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
119-
</Reference>
120-
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
121-
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net46\System.Security.Cryptography.Algorithms.dll</HintPath>
122-
<Private>True</Private>
123-
</Reference>
124-
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
125-
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
126-
</Reference>
127-
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
128-
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
129-
</Reference>
130-
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
131-
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net46\System.Security.Cryptography.X509Certificates.dll</HintPath>
132-
<Private>True</Private>
133-
</Reference>
134-
<Reference Include="System.Text.Encoding.CodePages, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
135-
<HintPath>..\packages\System.Text.Encoding.CodePages.4.5.0\lib\net46\System.Text.Encoding.CodePages.dll</HintPath>
136-
</Reference>
137-
<Reference Include="System.Threading.Thread, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
138-
<HintPath>..\packages\System.Threading.Thread.4.3.0\lib\net46\System.Threading.Thread.dll</HintPath>
139-
</Reference>
140-
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
141-
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
142-
</Reference>
143-
<Reference Include="System.Xml.Linq" />
144-
<Reference Include="System.Data.DataSetExtensions" />
145-
<Reference Include="System.Data" />
146-
<Reference Include="System.Xml" />
147-
<Reference Include="System.Xml.ReaderWriter, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
148-
<HintPath>..\packages\System.Xml.ReaderWriter.4.3.1\lib\net46\System.Xml.ReaderWriter.dll</HintPath>
149-
</Reference>
150-
<Reference Include="System.Xml.XmlDocument, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
151-
<HintPath>..\packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll</HintPath>
152-
</Reference>
153-
<Reference Include="System.Xml.XPath, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
154-
<HintPath>..\packages\System.Xml.XPath.4.3.0\lib\net46\System.Xml.XPath.dll</HintPath>
155-
</Reference>
156-
<Reference Include="System.Xml.XPath.XDocument, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
157-
<HintPath>..\packages\System.Xml.XPath.XDocument.4.3.0\lib\net46\System.Xml.XPath.XDocument.dll</HintPath>
158-
</Reference>
159-
</ItemGroup>
160-
<ItemGroup>
161-
<Compile Include="CSharpPlugin.cs" />
162-
<Compile Include="CSharpScriptContext.cs" />
163-
<Compile Include="CSharpScriptingProvider.cs" />
164-
<Compile Include="CSharpScriptingProviderPlugin.cs" />
165-
<Compile Include="Properties\AssemblyInfo.cs" />
166-
<Compile Include="Properties\DependencyRegistrator.cs" />
167-
<Compile Include="Scripting.evaluator.cs" />
168-
<Compile Include="Scripting.Extensions.cs" />
169-
<Compile Include="Scripting.native.cs" />
170-
</ItemGroup>
171-
<ItemGroup>
172-
<None Include="App.config" />
173-
<None Include="packages.config" />
174-
</ItemGroup>
175-
<ItemGroup>
176-
<WCFMetadata Include="Connected Services\" />
177-
</ItemGroup>
5+
<RootNamespace>Rocket.Scripting.CSharp</RootNamespace>
6+
<OutputType>Library</OutputType>
7+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
</PropertyGroup>
1789
<ItemGroup>
179-
<ProjectReference Include="..\Rocket.Scripting\Rocket.Scripting.csproj">
180-
<Project>{13a5b2a3-9c46-4cb3-b33d-b9c9d9a7406f}</Project>
181-
<Name>Rocket.Scripting</Name>
182-
</ProjectReference>
183-
</ItemGroup>
10+
<PackageReference Include="CS-Script" Version="3.28.4" />
11+
<PackageReference Include="Rocket.Core" Version="5.0.0.566">
12+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
13+
</PackageReference>
14+
</ItemGroup>
18415
<ItemGroup>
185-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
186-
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.2.6.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
16+
<ProjectReference Include="..\Rocket.Scripting\Rocket.Scripting.csproj" />
18717
</ItemGroup>
188-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
18+
<PropertyGroup>
19+
<PackageId>Rocket.Scripting.CSharp</PackageId>
20+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
21+
<PackageTags>RocketMod Universal Scripting</PackageTags>
22+
<PackageLicenseUrl>https://github.com/RocketMod/Rocket.Scripting/blob/master/LICENSE</PackageLicenseUrl>
23+
<PackageProjectUrl>https://rocketmod.net/</PackageProjectUrl>
24+
<PackageAuthors>Enes Sadık Özbek &lt;esozbek.me&gt;</PackageAuthors>
25+
<PackageOwners>Sven Mawby&lt;[email protected]&gt;</PackageOwners>
26+
<Version>1.0.0</Version>
27+
<PackageVersion>1.0.0</PackageVersion>
28+
<Authors>Enes Sadık Özbek &lt;esozbek.me&gt;</Authors>
29+
<Company>RocketMod</Company>
30+
<Description>RocketMod .NET Game Server Plugin Framework Core definitions</Description>
31+
<Copyright>Sven Mawby &lt;[email protected]&gt;</Copyright>
32+
<AssemblyVersion>1.0.0</AssemblyVersion>
33+
<FileVersion>1.0.0</FileVersion>
34+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
35+
</PropertyGroup>
18936
</Project>

0 commit comments

Comments
 (0)