Skip to content

Commit 5ed2c61

Browse files
author
ChrisDill
committed
Moving Raylib-cs from a submodule to a nuget package for testing.
- Testing out the nuget package for Raylib-cs. From my tests, examples still run as I expected.
1 parent 1b7ff7a commit 5ed2c61

File tree

8 files changed

+20
-79
lines changed

8 files changed

+20
-79
lines changed

.gitmodules

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

Examples/Examples.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,30 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<TargetFrameworks>net47;netcoreapp3.1</TargetFrameworks>
5-
<ApplicationIcon>../Raylib-cs/Logo/raylib-cs.ico</ApplicationIcon>
6-
<Platforms>AnyCPU;x64;x86</Platforms>
5+
<!-- <ApplicationIcon>../Raylib-cs/Logo/raylib-cs.ico</ApplicationIcon> -->
6+
<Platforms>x64</Platforms>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<StartupObject>Examples.Program</StartupObject>
99
</PropertyGroup>
1010

1111
<Import Project="../netfx.props" />
1212

1313
<ItemGroup>
14-
<!-- <Compile Remove="models/*.cs" /> -->
1514
<Compile Remove="models/models_material_pbr.cs" />
1615
<Compile Remove="models/models_skybox.cs" />
1716
<Compile Remove="others/*.cs" />
1817
<Compile Remove="physics/*.cs" />
19-
<Compile Remove="shaders/*.cs" />
2018
<Compile Remove="core/core_loading_thread.cs" />
2119
<Compile Remove="text/text_unicode.cs" />
2220
<Compile Remove="text/text_font_sdf.cs" />
21+
<Compile Remove="shaders/shaders_basic_lighting.cs" />
2322
</ItemGroup>
2423

2524
<ItemGroup>
2625
<None Include="../app.config" />
2726
</ItemGroup>
2827

2928
<ItemGroup>
30-
<ProjectReference Include="../Raylib-cs/Raylib-cs/Raylib-cs.csproj" />
29+
<PackageReference Include="Raylib-cs" Version="3.0.0-pre1" />
3130
</ItemGroup>
3231
</Project>

Examples/Program.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,6 @@ static void Main(string[] args)
153153
//RunExample("audio_raw_stream.cs");
154154
//RunExample("audio_sound_loading.cs");
155155
ChangeDirectory("../");
156-
157-
// [physics] module examples
158-
ChangeDirectory("./physics");
159-
RunExample("physics_demo.cs");
160-
RunExample("physics_friction.cs");
161-
RunExample("physics_movement.cs");
162-
RunExample("physics_restitution.cs");
163-
RunExample("physics_shatter.cs");
164-
ChangeDirectory("../");
165156
}
166157
}
167158
}

Examples/shapes/shapes_draw_circle_sector.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
********************************************************************************************/
1313

1414
using Raylib_cs;
15-
using static Raylib_cs.Raygui;
1615
using static Raylib_cs.Raylib;
1716
using static Raylib_cs.Color;
1817

Examples/shapes/shapes_draw_rectangle_rounded.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
using Raylib_cs;
1515
using static Raylib_cs.Raylib;
16-
using static Raylib_cs.Raygui;
1716
using static Raylib_cs.Color;
1817

1918
namespace Examples

Examples/shapes/shapes_draw_ring.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
using Raylib_cs;
1515
using static Raylib_cs.Raylib;
16-
using static Raylib_cs.Raygui;
1716
using static Raylib_cs.Color;
1817

1918
namespace Examples

Raylib-cs

Lines changed: 0 additions & 1 deletion
This file was deleted.

Raylib-cs-Examples.sln

Lines changed: 16 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27703.2035
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Examples", "Examples/Examples.csproj", "{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}"
7-
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Raylib-cs", "Raylib-cs/Raylib-cs/Raylib-cs.csproj", "{B02C431E-271A-432E-BA5C-EE3B68DBF585}"
4+
VisualStudioVersion = 15.0.26124.0
5+
MinimumVisualStudioVersion = 15.0.26124.0
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Examples", "Examples\Examples.csproj", "{12A74875-01EC-4C79-AD98-FBDE531333FD}"
97
EndProject
108
Global
119
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,60 +14,21 @@ Global
1614
Release|x64 = Release|x64
1715
Release|x86 = Release|x86
1816
EndGlobalSection
19-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|Any CPU.Build.0 = Debug|Any CPU
22-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x64.ActiveCfg = Debug|Any CPU
23-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x64.Build.0 = Debug|Any CPU
24-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x86.ActiveCfg = Debug|Any CPU
25-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Debug|x86.Build.0 = Debug|Any CPU
26-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|Any CPU.ActiveCfg = Release|Any CPU
27-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|Any CPU.Build.0 = Release|Any CPU
28-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x64.ActiveCfg = Release|Any CPU
29-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x64.Build.0 = Release|Any CPU
30-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x86.ActiveCfg = Release|Any CPU
31-
{5B690E7B-6D8C-4AA8-92AE-A3BF0750B573}.Release|x86.Build.0 = Release|Any CPU
32-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|Any CPU.ActiveCfg = Debug|x64
33-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|Any CPU.Build.0 = Debug|x64
34-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|x64.ActiveCfg = Debug|x64
35-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|x64.Build.0 = Debug|x64
36-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|x86.ActiveCfg = Debug|x64
37-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Debug|x86.Build.0 = Debug|x64
38-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|Any CPU.ActiveCfg = Release|x64
39-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|Any CPU.Build.0 = Release|x64
40-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|x64.ActiveCfg = Release|x64
41-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|x64.Build.0 = Release|x64
42-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|x86.ActiveCfg = Release|x64
43-
{7DBAB58E-11ED-4165-A8DF-C57FA4102735}.Release|x86.Build.0 = Release|x64
44-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
46-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|x64.ActiveCfg = Debug|Any CPU
47-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|x64.Build.0 = Debug|Any CPU
48-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|x86.ActiveCfg = Debug|Any CPU
49-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Debug|x86.Build.0 = Debug|Any CPU
50-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
51-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|Any CPU.Build.0 = Release|Any CPU
52-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|x64.ActiveCfg = Release|Any CPU
53-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|x64.Build.0 = Release|Any CPU
54-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|x86.ActiveCfg = Release|Any CPU
55-
{A2B19560-DC09-4721-B2CD-D3DFB57E7A3B}.Release|x86.Build.0 = Release|Any CPU
56-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|Any CPU.ActiveCfg = Debug|x64
57-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|Any CPU.Build.0 = Debug|x64
58-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|x64.ActiveCfg = Debug|x64
59-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|x64.Build.0 = Debug|x64
60-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|x86.ActiveCfg = Debug|x64
61-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Debug|x86.Build.0 = Debug|x64
62-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|Any CPU.ActiveCfg = Release|x64
63-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|Any CPU.Build.0 = Release|x64
64-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|x64.ActiveCfg = Release|x64
65-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|x64.Build.0 = Release|x64
66-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|x86.ActiveCfg = Release|x64
67-
{B02C431E-271A-432E-BA5C-EE3B68DBF585}.Release|x86.Build.0 = Release|x64
68-
EndGlobalSection
6917
GlobalSection(SolutionProperties) = preSolution
7018
HideSolutionNode = FALSE
7119
EndGlobalSection
72-
GlobalSection(ExtensibilityGlobals) = postSolution
73-
SolutionGuid = {78DCF9A2-1328-489A-8B03-F0BFB29EC58F}
20+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|Any CPU.ActiveCfg = Debug|x64
22+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|Any CPU.Build.0 = Debug|x64
23+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|x64.ActiveCfg = Debug|x64
24+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|x64.Build.0 = Debug|x64
25+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|x86.ActiveCfg = Debug|x64
26+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Debug|x86.Build.0 = Debug|x64
27+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|Any CPU.ActiveCfg = Release|x64
28+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|Any CPU.Build.0 = Release|x64
29+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|x64.ActiveCfg = Release|x64
30+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|x64.Build.0 = Release|x64
31+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|x86.ActiveCfg = Release|x64
32+
{12A74875-01EC-4C79-AD98-FBDE531333FD}.Release|x86.Build.0 = Release|x64
7433
EndGlobalSection
7534
EndGlobal

0 commit comments

Comments
 (0)