From fbea89d4f1da307cd008fe9b960bc7933c8a97c8 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sat, 8 Oct 2022 12:26:04 +0200 Subject: C#: Generate symbols packages --- modules/mono/Directory.Build.targets | 6 +++++- modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj | 2 ++ .../mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/mono') diff --git a/modules/mono/Directory.Build.targets b/modules/mono/Directory.Build.targets index 98410b93ae..e666b3ac9d 100644 --- a/modules/mono/Directory.Build.targets +++ b/modules/mono/Directory.Build.targets @@ -2,6 +2,8 @@ <_HasNuGetPackage Condition=" '$(_HasNuGetPackage)' == '' And '$(PackageId)' != '' And '$(GeneratePackageOnBuild.ToLower())' == 'true' ">true <_HasNuGetPackage Condition=" '$(_HasNuGetPackage)' == '' ">false + <_HasSymbolsNuGetPackage Condition=" '$(_HasSymbolsNuGetPackage)' == '' And '$(PackageId)' != '' And '$(IncludeSymbols.ToLower())' == 'true' And '$(SymbolPackageFormat)' == 'snupkg' ">true + <_HasSymbolsNuGetPackage Condition=" '$(_HasSymbolsNuGetPackage)' == '' ">false @@ -10,13 +12,15 @@ $(GodotSourceRootPath)\bin\GodotSharp\ + + - + diff --git a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj index 5827d3e591..a63b668387 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj +++ b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj @@ -27,6 +27,8 @@ MIT true + true + snupkg diff --git a/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj b/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj index 5d69ad8ec6..8f623625fc 100644 --- a/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj +++ b/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj @@ -22,6 +22,8 @@ MIT true + true + snupkg $(DefineConstants);GODOT -- cgit v1.2.3