Skip to content

Commit c31b4eb

Browse files
Revert "Delete SEScriptingTesting directory"
This reverts commit 185054e.
1 parent 1860ef9 commit c31b4eb

File tree

5 files changed

+184
-0
lines changed

5 files changed

+184
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using Malware.MDKUtilities;
2+
3+
namespace IngameScript.MDK
4+
{
5+
public class TestBootstrapper
6+
{
7+
// All the files in this folder, as well as all files containing the file ".debug.", will be excluded
8+
// from the build process. You can use this to create utilites for testing your scripts directly in
9+
// Visual Studio.
10+
11+
static TestBootstrapper()
12+
{
13+
// Initialize the MDK utility framework
14+
MDKUtilityFramework.Load();
15+
}
16+
17+
public static void Main()
18+
{
19+
// In order for your program to actually run, you will need to provide a mockup of all the facilities
20+
// your script uses from the game, since they're not available outside of the game.
21+
22+
// Create and configure the desired program.
23+
var program = MDKFactory.CreateProgram<Program>();
24+
MDKFactory.Run(program);
25+
}
26+
}
27+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!--
5+
Contains basic settings that should be included in code repositories
6+
-->
7+
<MDKVersion>1.4.12</MDKVersion>
8+
<MDKTrimTypes>
9+
<Enabled>yes</Enabled>
10+
</MDKTrimTypes>
11+
<MDKMinify>
12+
<Level>None</Level>
13+
</MDKMinify>
14+
<MDKIgnore>
15+
<Folder>mdk</Folder>
16+
</MDKIgnore>
17+
</PropertyGroup>
18+
</Project>
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!--
5+
You can safely exclude this file from code repositories and use different
6+
user settings per machine.
7+
-->
8+
<MDKVersion>1.4.12</MDKVersion>
9+
<MDKUseGameBinPath>no</MDKUseGameBinPath>
10+
<MDKGameBinPath>c:\program files (x86)\steam\SteamApps\common\SpaceEngineers\Bin64</MDKGameBinPath>
11+
<MDKInstallPath>c:\users\vasileps\appdata\local\microsoft\visualstudio\16.0_3ab82471\extensions\5ctvlr2i.av4</MDKInstallPath>
12+
<MDKOutputPath>C:\Users\Vasileps\AppData\Roaming\SpaceEngineers\IngameScripts\local</MDKOutputPath>
13+
</PropertyGroup>
14+
<ItemGroup>
15+
<Reference Include="System.Collections.Immutable">
16+
<HintPath>$(MDKGameBinPath)\System.Collections.Immutable.dll</HintPath>
17+
<Private>false</Private>
18+
</Reference>
19+
<Reference Include="Sandbox.Common">
20+
<HintPath>$(MDKGameBinPath)\Sandbox.Common.dll</HintPath>
21+
<Private>False</Private>
22+
</Reference>
23+
<Reference Include="Sandbox.Game">
24+
<HintPath>$(MDKGameBinPath)\Sandbox.Game.dll</HintPath>
25+
<Private>False</Private>
26+
</Reference>
27+
<Reference Include="Sandbox.Graphics">
28+
<HintPath>$(MDKGameBinPath)\Sandbox.Graphics.dll</HintPath>
29+
<Private>False</Private>
30+
</Reference>
31+
<Reference Include="SpaceEngineers.Game">
32+
<HintPath>$(MDKGameBinPath)\SpaceEngineers.Game.dll</HintPath>
33+
<Private>False</Private>
34+
</Reference>
35+
<Reference Include="SpaceEngineers.ObjectBuilders">
36+
<HintPath>$(MDKGameBinPath)\SpaceEngineers.ObjectBuilders.dll</HintPath>
37+
<Private>False</Private>
38+
</Reference>
39+
<Reference Include="VRage">
40+
<HintPath>$(MDKGameBinPath)\VRage.dll</HintPath>
41+
<Private>False</Private>
42+
</Reference>
43+
<Reference Include="VRage.Audio">
44+
<HintPath>$(MDKGameBinPath)\VRage.Audio.dll</HintPath>
45+
<Private>False</Private>
46+
</Reference>
47+
<Reference Include="VRage.Game">
48+
<HintPath>$(MDKGameBinPath)\VRage.Game.dll</HintPath>
49+
<Private>False</Private>
50+
</Reference>
51+
<Reference Include="VRage.Input">
52+
<HintPath>$(MDKGameBinPath)\VRage.Input.dll</HintPath>
53+
<Private>False</Private>
54+
</Reference>
55+
<Reference Include="VRage.Library">
56+
<HintPath>$(MDKGameBinPath)\VRage.Library.dll</HintPath>
57+
<Private>False</Private>
58+
</Reference>
59+
<Reference Include="VRage.Math">
60+
<HintPath>$(MDKGameBinPath)\VRage.Math.dll</HintPath>
61+
<Private>False</Private>
62+
</Reference>
63+
<Reference Include="VRage.Render">
64+
<HintPath>$(MDKGameBinPath)\VRage.Render.dll</HintPath>
65+
<Private>False</Private>
66+
</Reference>
67+
<Reference Include="VRage.Render11">
68+
<HintPath>$(MDKGameBinPath)\VRage.Render11.dll</HintPath>
69+
<Private>False</Private>
70+
</Reference>
71+
<Reference Include="VRage.Scripting">
72+
<HintPath>$(MDKGameBinPath)\VRage.Scripting.dll</HintPath>
73+
<Private>False</Private>
74+
</Reference>
75+
<Reference Include="MDKUtilities">
76+
<HintPath>$(MDKInstallPath)\MDKUtilities.dll</HintPath>
77+
<Private>True</Private>
78+
</Reference>
79+
<Analyzer Include="$(MDKInstallPath)\Analyzers\MDKAnalyzer.dll" />
80+
</ItemGroup>
81+
</Project>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{1C14BF44-0E6D-4E18-AE63-1AD492059664}</ProjectGuid>
8+
<OutputType>Exe</OutputType>
9+
<RootNamespace>IngameScript</RootNamespace>
10+
<AssemblyName>SEScriptingTesting</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<TargetFrameworkProfile />
15+
</PropertyGroup>
16+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
17+
<DebugSymbols>true</DebugSymbols>
18+
<OutputPath>bin\</OutputPath>
19+
<DefineConstants>DEBUG;TRACE</DefineConstants>
20+
<DebugType>full</DebugType>
21+
<PlatformTarget>x64</PlatformTarget>
22+
<ErrorReport>prompt</ErrorReport>
23+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
24+
<Prefer32Bit>true</Prefer32Bit>
25+
<LangVersion>6</LangVersion>
26+
</PropertyGroup>
27+
<ItemGroup>
28+
<Reference Include="netstandard" />
29+
<Reference Include="System" />
30+
<Reference Include="System.Core" />
31+
<Reference Include="System.Xml.Linq" />
32+
<Reference Include="System.Data.DataSetExtensions" />
33+
<Reference Include="Microsoft.CSharp" />
34+
<Reference Include="System.Data" />
35+
<Reference Include="System.Net.Http" />
36+
<Reference Include="System.Xml" />
37+
</ItemGroup>
38+
<Import Project="MDK/MDK.options.props" />
39+
<Import Project="MDK/MDK.paths.props" Condition="exists('MDK/MDK.paths.props')" />
40+
<ItemGroup>
41+
<Compile Include="MDK\Bootstrapper.cs" />
42+
<AdditionalFiles Include="MDK\MDK.options.props">
43+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
44+
</AdditionalFiles>
45+
<AdditionalFiles Include="MDK\MDK.paths.props">
46+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
47+
</AdditionalFiles>
48+
<Compile Include="Program.cs" />
49+
<AdditionalFiles Include="thumb.png" />
50+
<AdditionalFiles Include="MDK\whitelist.cache" />
51+
</ItemGroup>
52+
<Import Project="..\SEScriptingUtilities\SEScriptingUtilities.projitems" Label="Shared" />
53+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54+
<Target Name="AfterBuild">
55+
<Copy SourceFiles="MDK\MDK.options.props" DestinationFolder="$(TargetDir)\MDK" />
56+
<Copy SourceFiles="MDK\MDK.paths.props" DestinationFolder="$(TargetDir)\MDK" />
57+
</Target>
58+
</Project>

SEScriptingTesting/thumb.png

385 KB
Loading

0 commit comments

Comments
 (0)