Skip to content

Commit ea30f52

Browse files
committed
Setup projects for packing
1 parent 405eccf commit ea30f52

File tree

11 files changed

+108
-72
lines changed

11 files changed

+108
-72
lines changed

Examples/AABB/AABB.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<OutputType>Library</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<LangVersion>latest</LangVersion>
7+
8+
<IsPackable>false</IsPackable>
79
</PropertyGroup>
810

911
<ItemGroup>

Examples/Api/Api.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<LangVersion>latest</LangVersion>
7+
8+
<IsPackable>false</IsPackable>
79
</PropertyGroup>
810

911
<ItemGroup>
@@ -19,7 +21,7 @@
1921
</ItemGroup>
2022

2123
<Target Name="Codegen" BeforeTargets="BeforeBuild">
22-
<Exec Command="..\..\LDtk.Codegen\bin\Debug\netcoreapp3.1\LDtk.Codegen.exe -i Content/Test_file_for_API_showing_all_features.ldtk" />
24+
<Exec Command="ldtkgen -i Content/Test_file_for_API_showing_all_features.ldtk" />
2325
</Target>
2426

2527
<ItemGroup>

Examples/Platformer/Platformer.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<ApplicationIcon>Icon.ico</ApplicationIcon>
8+
9+
<IsPackable>false</IsPackable>
810
</PropertyGroup>
911

1012
<ItemGroup>

Examples/Shooter/Shooter.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<LangVersion>latest</LangVersion>
7+
8+
<IsPackable>false</IsPackable>
79
</PropertyGroup>
810

911
<ItemGroup>

LDtk.Codegen/LDtk.Codegen.csproj

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
5+
<TargetFramework>net6.0</TargetFramework>
76
<LangVersion>10</LangVersion>
87
</PropertyGroup>
98

@@ -12,4 +11,28 @@
1211
<PackageReference Include="CommandLineParser" Version="2.8.0" />
1312
</ItemGroup>
1413

14+
<PropertyGroup>
15+
<Version>0.4.0</Version>
16+
<Authors>Ethan Conneely</Authors>
17+
<Product>LDtk Monogame</Product>
18+
<PackageId>LDtkMonogame.Codegen</PackageId>
19+
<Description>LDtk importer for Monogame</Description>
20+
<PackageProjectUrl>https://irishbruse.github.io/LDtkMonogame/</PackageProjectUrl>
21+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
22+
<RepositoryUrl>https://github.com/IrishBruse/LDtkMonogame</RepositoryUrl>
23+
<PackageTags>LDtk, Monogame, Level-Editor</PackageTags>
24+
<PackageIcon>Icon.png</PackageIcon>
25+
<RepositoryType>git</RepositoryType>
26+
<PackageReleaseNotes>Visit Wiki for more information</PackageReleaseNotes>
27+
28+
<PackAsTool>true</PackAsTool>
29+
<ToolCommandName>ldtkgen</ToolCommandName>
30+
31+
<PackageOutputDir>../Nuget</PackageOutputDir>
32+
</PropertyGroup>
33+
34+
<ItemGroup>
35+
<None Include="../Icon.png" Pack="true" PackagePath="" />
36+
</ItemGroup>
37+
1538
</Project>

LDtk.Codegen/LDtk.Codegen.nuspec

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 38 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,41 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<LangVersion>10</LangVersion>
6-
</PropertyGroup>
7-
8-
<ItemGroup>
9-
<PackageReference Include="MonoGame.Framework.Content.Pipeline" Version="3.8.0.1641" />
10-
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
11-
</ItemGroup>
12-
13-
<ItemGroup>
14-
<ProjectReference Include="..\LDtk\LDtk.csproj" />
15-
</ItemGroup>
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<LangVersion>10</LangVersion>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="MonoGame.Framework.Content.Pipeline" Version="3.8.0.1641" />
10+
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<ProjectReference Include="..\LDtk\LDtk.csproj" />
15+
</ItemGroup>
16+
17+
<PropertyGroup>
18+
<Version>0.4.0</Version>
19+
<Authors>Ethan Conneely</Authors>
20+
<Product>LDtk Monogame</Product>
21+
<PackageId>LDtkMonogame.ContentPipeline</PackageId>
22+
<Description>LDtk importer for Monogame</Description>
23+
<PackageProjectUrl>https://irishbruse.github.io/LDtkMonogame/</PackageProjectUrl>
24+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
25+
<RepositoryUrl>https://github.com/IrishBruse/LDtkMonogame</RepositoryUrl>
26+
<PackageTags>LDtk, Monogame, Level-Editor</PackageTags>
27+
<PackageIcon>Icon.png</PackageIcon>
28+
<RepositoryType>git</RepositoryType>
29+
<PackageReleaseNotes>Visit Wiki for more information</PackageReleaseNotes>
30+
31+
<IncludeSymbols>true</IncludeSymbols>
32+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
33+
34+
<PackageOutputDir>../Nuget</PackageOutputDir>
35+
</PropertyGroup>
36+
37+
<ItemGroup>
38+
<None Include="../Icon.png" Pack="true" PackagePath="" />
39+
</ItemGroup>
40+
1641
</Project>

LDtk.ContentPipeline/LDtk.ContentPipeline.nuspec

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

LDtk/LDtk.csproj

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,38 @@
66
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<LangVersion>10</LangVersion>
9-
10-
<IsPackable>true</IsPackable>
9+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
1110
</PropertyGroup>
1211

1312
<ItemGroup>
1413
<PackageReference Include="Microsoft.Build.Framework" Version="16.11.0" />
1514
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
1615
</ItemGroup>
1716

17+
<PropertyGroup>
18+
<Version>0.4.0</Version>
19+
<Authors>Ethan Conneely</Authors>
20+
<Product>LDtk Monogame</Product>
21+
<PackageId>LDtkMonogame</PackageId>
22+
<Description>LDtk importer for Monogame</Description>
23+
<PackageProjectUrl>https://irishbruse.github.io/LDtkMonogame/</PackageProjectUrl>
24+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
25+
<RepositoryUrl>https://github.com/IrishBruse/LDtkMonogame</RepositoryUrl>
26+
<PackageTags>LDtk, Monogame, Level-Editor</PackageTags>
27+
<PackageIcon>Icon.png</PackageIcon>
28+
<RepositoryType>git</RepositoryType>
29+
<PackageReleaseNotes>Visit Wiki for more information</PackageReleaseNotes>
30+
31+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
32+
<IncludeSymbols>true</IncludeSymbols>
33+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
34+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
35+
36+
<PackageOutputDir>../Nuget</PackageOutputDir>
37+
</PropertyGroup>
38+
39+
<ItemGroup>
40+
<None Include="../Icon.png" Pack="true" PackagePath="" />
41+
</ItemGroup>
42+
1843
</Project>

LDtk/LDtk.nuspec

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

0 commit comments

Comments
 (0)