Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

NuGet 包是以 Debug 配置发布

Open
#2,287 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Inspect the project’s NuGet packaging and build configuration for the FreeSql assembly targeting netstandard2.1; the issue does not name the relevant files. Start by locating the configuration that produced package version 3.5.311, then compare the package’s assembly attributes with its release build settings. Done means a released NuGet package no longer reports Debug configuration or DisableOptimizations.

Written by the indexing model from the issue text.

Description

问题描述及重现代码:

从 NuGet 安装的程序集发现是以 Debug 配置编译的。使用 ILSpy 查看 FreeSql.dll,程序集有以下特性

[assembly: Debuggable(263)]
[assembly: AssemblyConfiguration("Debug")]

其中 263 = 256 + 4 + 2 + 1,包含 DebuggableAttribute.DebuggingModes.DisableOptimizations (256),表明该 NuGet 包是以 Debug 配置编译的。
Image

复现步骤

  1. 从NuGet 下载 freesql.3.5.311.nupkg 。
  2. 解压 freesql.3.5.311.nupkg,找到 lib/netstandard2.1/FreeSql.dll。
  3. 使用 ILSpy 打开,查看程序集特性。
安装的Nuget包

FreeSql 3.5.311

Dominant language
C#
Stars
4.4k
Forks
911
Avg merge
12h 47m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnetcore/FreeSql

All issues in dotnetcore/FreeSql

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.