Skip to content

Commit afe84de

Browse files
committed
Forgot SDK's csproj and sln files.
1 parent ceca527 commit afe84de

File tree

4 files changed

+191
-1
lines changed

4 files changed

+191
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
ExportedObj/
3333
.consulo/
3434
*.csproj
35-
*.unityproj
3635
*.sln
36+
!**/SDK/**/*.csproj
37+
!**/SDK/*.sln
38+
*.unityproj
3739
*.suo
3840
*.tmp
3941
*.user
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
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>{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ModSDK.editor</RootNamespace>
11+
<AssemblyName>ModSDK-Editor</AssemblyName>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<Deterministic>false</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="System" />
35+
<Reference Include="System.Core" />
36+
<Reference Include="Microsoft.CSharp" />
37+
<Reference Include="Unity.Addressables">
38+
<HintPath>..\..\..\Library\PlayerScriptAssemblies\Unity.Addressables.dll</HintPath>
39+
</Reference>
40+
<Reference Include="Unity.Addressables.Editor">
41+
<HintPath>..\..\..\Library\ScriptAssemblies\Unity.Addressables.Editor.dll</HintPath>
42+
</Reference>
43+
<Reference Include="UnityEditor">
44+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEditor.dll</HintPath>
45+
</Reference>
46+
<Reference Include="UnityEditor.CoreModule">
47+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll</HintPath>
48+
</Reference>
49+
<Reference Include="UnityEngine">
50+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath>
51+
</Reference>
52+
<Reference Include="UnityEngine.CoreModule">
53+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
54+
</Reference>
55+
<Reference Include="UnityEngine.IMGUIModule">
56+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll</HintPath>
57+
</Reference>
58+
<Reference Include="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
59+
<SpecificVersion>False</SpecificVersion>
60+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.PhysicsModule.dll</HintPath>
61+
</Reference>
62+
</ItemGroup>
63+
<ItemGroup>
64+
<Compile Include="Properties\AssemblyInfo.cs" />
65+
<Compile Include="Scripts\ModEditorData.cs" />
66+
<Compile Include="Scripts\ModSettings.cs" />
67+
<Compile Include="Scripts\ModTool.cs" />
68+
<Compile Include="Scripts\MonobehaviourEditor.cs" />
69+
<Compile Include="Scripts\ScriptableObjectEditor.cs" />
70+
</ItemGroup>
71+
<ItemGroup>
72+
<ProjectReference Include="..\ModSDK\ModSDK.csproj">
73+
<Project>{efaaaa51-0edd-4685-8321-9c219f929cec}</Project>
74+
<Name>ModSDK</Name>
75+
</ProjectReference>
76+
</ItemGroup>
77+
<ItemGroup />
78+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
79+
<PropertyGroup>
80+
<PostBuildEvent>SET path=$(SolutionDir)Packaged\$(ConfigurationName)\$(TargetFileName)
81+
copy "$(TargetPath)" "%25path%25"</PostBuildEvent>
82+
</PropertyGroup>
83+
<PropertyGroup>
84+
<PreBuildEvent>SET path=$(SolutionDir)Packaged\$(ConfigurationName)
85+
if not exist "%25path%25" mkdir "%25path%25"</PreBuildEvent>
86+
</PropertyGroup>
87+
</Project>

SDK/ModSDK.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32210.238
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModSDK", "ModSDK\ModSDK.csproj", "{EFAAAA51-0EDD-4685-8321-9C219F929CEC}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModSDK-Editor", "ModSDK-Editor\ModSDK-Editor.csproj", "{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{EFAAAA51-0EDD-4685-8321-9C219F929CEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{EFAAAA51-0EDD-4685-8321-9C219F929CEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{EFAAAA51-0EDD-4685-8321-9C219F929CEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{EFAAAA51-0EDD-4685-8321-9C219F929CEC}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{60DD483A-4BE9-4BBF-9B23-C42B5CDD4E5B}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {DAD68B39-B724-49A2-9E97-633BDC600345}
30+
EndGlobalSection
31+
EndGlobal

SDK/ModSDK/ModSDK.csproj

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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>{EFAAAA51-0EDD-4685-8321-9C219F929CEC}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ModSDK</RootNamespace>
11+
<AssemblyName>ModSDK</AssemblyName>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<Deterministic>false</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="System" />
35+
<Reference Include="System.Core" />
36+
<Reference Include="Microsoft.CSharp" />
37+
<Reference Include="Unity.Addressables">
38+
<HintPath>..\..\..\Library\PlayerScriptAssemblies\Unity.Addressables.dll</HintPath>
39+
</Reference>
40+
<Reference Include="UnityEngine">
41+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.dll</HintPath>
42+
</Reference>
43+
<Reference Include="UnityEngine.CoreModule">
44+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll</HintPath>
45+
</Reference>
46+
<Reference Include="UnityEngine.PhysicsModule">
47+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.PhysicsModule.dll</HintPath>
48+
</Reference>
49+
<Reference Include="UnityEngine.VehiclesModule">
50+
<HintPath>C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Data\Managed\UnityEngine\UnityEngine.VehiclesModule.dll</HintPath>
51+
</Reference>
52+
</ItemGroup>
53+
<ItemGroup>
54+
<Compile Include="Scripts\ModUserSettings.cs" />
55+
<Compile Include="Properties\AssemblyInfo.cs" />
56+
<Compile Include="Scripts\Behaviors\AddressableObjectSpawner.cs" />
57+
<Compile Include="Scripts\Behaviors\PlayerSpawn.cs" />
58+
<Compile Include="Scripts\Data\ExampleData.cs" />
59+
</ItemGroup>
60+
<ItemGroup />
61+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62+
<PropertyGroup>
63+
<PostBuildEvent>SET path=$(SolutionDir)Packaged\$(ConfigurationName)\$(TargetFileName)
64+
copy "$(TargetPath)" "%25path%25"</PostBuildEvent>
65+
</PropertyGroup>
66+
<PropertyGroup>
67+
<PreBuildEvent>SET path=$(SolutionDir)Packaged\$(ConfigurationName)
68+
if not exist "%25path%25" mkdir "%25path%25"</PreBuildEvent>
69+
</PropertyGroup>
70+
</Project>

0 commit comments

Comments
 (0)