PCL-CE
PCL-CE copied to clipboard
[C#]:无法编译
检查项 / Checklist
- [x] 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过 / I have searched the Issues page and confirmed that this bug has not been reported yet.
- [ ] 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
- [x] 我确认正在使用当前更新分支的最新版 PCL CE,若不是,此 Issue 可能会被直接关闭(更新方式:启动器
设置-关于-软件更新检查更新,或在 Releases 页面下载) / I confirm that I am using the latest PCL CE version on the current update channel. If not, this issue may be closed directly. To update, check for updates inSettings → About → Updates, or download the latest version from the Releases page. - [x] 我确认会详细描述我所遇到的问题,并附上日志和截图,而不是随便填点东西敷衍了事 / I will describe the problem in detail, attach logs and screenshots, and avoid submitting vague or incomplete information.
- [x] 我确认已亲自复现并核实所报告的问题;如未能复现,我已在描述中明确说明未确认的部分。Issue 中的描述、日志和截图均为真实内容,未直接提交 AI 生成的未经核实内容 / I confirm that I have personally reproduced and verified the reported problem. If I could not reproduce it, I have clearly stated which parts remain unconfirmed in the description. The description, logs, and screenshots are genuine, and I have not submitted unverified AI-generated content.
AI 使用情况 / AI Usage
未使用 / Not used
AI 工具与核实说明 / AI Tools and Verification
无
描述 / Description
在最新commit编译时若指定为Release,会出现如下错误: PCL-CE/Plain Craft Launcher 2/Pages/PageInstance/PageInstanceExport.xaml.cs(1005,29): error CS0103: The name 'includePCL' does not exist in the current context 导致编译无法通过
重现步骤 / Steps to Reproduce
在编译时指定-p:Configuration=Release 如dotnet publish "Plain Craft Launcher 2/Plain Craft Launcher 2.csproj" -p:Configuration=Release -p:Platform=x64 -p:DeleteExistingFiles=true -o ./artifact --no-self-contained
日志与附件 / Logs & Attachments
好的呢!帮你关掉了,不用谢喵~