Skip to content

Commit 4030fde

Browse files
committed
nuget symbol build updates
1 parent 96b24c3 commit 4030fde

File tree

6 files changed

+19
-21
lines changed

6 files changed

+19
-21
lines changed

.github/workflows/ci-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Pack Preview
9292
if: ${{ success() && (github.event.release.prerelease || github.event_name != 'release') }}
9393
run: |
94-
dotnet pack -c Release --no-build --no-restore -o out --version-suffix "nightly-${{ steps.current-time.outputs.formattedTime }}"
94+
dotnet pack -c Release --no-build --no-restore -o out --version-suffix "nightly-${{ steps.current-time.outputs.formattedTime }}" --include-symbols -p:SymbolPackageFormat=snupkg
9595
- name: Pack Release
9696
if: ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
9797
run: |
@@ -105,7 +105,7 @@ jobs:
105105
tag: ${{ github.event.release.tag_name }}
106106
file_glob: "true"
107107
- name: Publish to Nuget.org
108-
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --no-symbols
108+
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
109109

110110
update-nightly:
111111
needs: [build-test-push, activity-short-circuit]

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<ImplicitUsings>true</ImplicitUsings>
7-
<VersionPrefix>2.66</VersionPrefix>
7+
<VersionPrefix>2.67</VersionPrefix>
88
</PropertyGroup>
99

1010
</Project>

Directory.Packages.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<ItemGroup>
3-
<PackageVersion Include="Noggog.CSharpExt" Version="2.65.1-nightly-20241010-092782" />
3+
<PackageVersion Include="Noggog.CSharpExt" Version="2.67.3" />
44
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" />
55
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
66
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />

Loqui.Generation/ObjectGeneration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public async Task Generate()
366366
var fileName = Path.Combine(TargetDir.Path, FileName);
367367
var file = new FileInfo(fileName);
368368
GeneratedFiles[Path.GetFullPath(fileName)] = ProjItemType.Compile;
369-
ExportStringToFile export = new();
369+
ExportStringToFile export = new(IFileSystemExt.DefaultFilesystem);
370370
export.ExportToFile(
371371
file,
372372
sb.GetString());

Loqui.Generation/ProtocolGeneration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private void GenerateDefFile()
229229
}
230230
}
231231

232-
ExportStringToFile export = new();
232+
ExportStringToFile export = new(IFileSystemExt.DefaultFilesystem);
233233
export.ExportToFile(
234234
new FileInfo(
235235
DefFileLocation.FullName

Loqui/Loqui.csproj

+13-15
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,19 @@
33
<PropertyGroup>
44
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
55
<LangVersion>Latest</LangVersion>
6-
</PropertyGroup>
7-
8-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
9-
<NoWarn>1701;1702; 1998</NoWarn>
10-
<WarningsAsErrors>NU1605, CS4014</WarningsAsErrors>
11-
<DocumentationFile>Loqui.xml</DocumentationFile>
12-
<DebugType>embedded</DebugType>
13-
<DebugSymbols>true</DebugSymbols>
14-
<Nullable>enable</Nullable>
15-
<WarningsAsErrors>nullable</WarningsAsErrors>
16-
</PropertyGroup>
17-
18-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
19-
<NoWarn>1701;1702; 1998</NoWarn>
20-
<WarningsAsErrors>NU1605, CS4014</WarningsAsErrors>
6+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<LangVersion>preview</LangVersion>
8+
<DebugType>portable</DebugType>
9+
<DebugSymbols>true</DebugSymbols>
10+
<IsPackable>true</IsPackable>
11+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
12+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
13+
<IncludeSymbols>true</IncludeSymbols>
14+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
15+
<Nullable>enable</Nullable>
16+
<WarningsAsErrors>nullable</WarningsAsErrors>
17+
<NoWarn>1701;1702; 1998</NoWarn>
18+
<WarningsAsErrors>NU1605, CS4014</WarningsAsErrors>
2119
</PropertyGroup>
2220

2321
<PropertyGroup>

0 commit comments

Comments
 (0)