equinor / equinor/TimeSeriesAnalysis

Build is market as failing, beause .snupkg does not inlclude a *.pdb file

Open
#142 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
22
Forks
5
PR merge metrics
No merged PRs in 30d

Description

> Run nuget push bin\Release\*.nupkg -source https://api.nuget.org/v3/index.json -SkipDuplicate
> Pushing TimeSeriesAnalysis.1.3.21.nupkg to 'https://www.nuget.org/api/v2/package'...
> PUT https://www.nuget.org/api/v2/package/
> Created https://www.nuget.org/api/v2/package/ 5[9](https://github.com/equinor/TimeSeriesAnalysis/actions/runs/11595651494/job/32284770140#step:13:10)9ms
> Your package was pushed.
> Pushing TimeSeriesAnalysis.1.3.21.snupkg to 'https://www.nuget.org/api/v2/symbolpackage'...
> PUT https://www.nuget.org/api/v2/symbolpackage/
> **BadRequest https://www.nuget.org/api/v2/symbolpackage/ 152ms**
> **Response status code does not indicate success: 400 (The package does not contain any symbol (.pdb) files.).**
> Error: Process completed with exit code 1.

Is the error message

run the CreatePacakge.bat file in \scripts and it is true that no pdb file is created during the build.

This is strange as the build is

dotnet pack TimeSeriesAnalysis.sln -c Release **--include-symbols** -p:NuGetBuild=True -p:SymbolPackageFormat=snupkg --include-source

and the TimeSeriesAnalyis.csproj file includes

**true**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.