-
Notifications
You must be signed in to change notification settings - Fork 0
升級至 .NET 8 並解決相容性問題 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "Fix-\u4FEE\u6539mod\u6A94\u6848"
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -24,14 +24,17 @@ | |||||
| </PropertyGroup> | ||||||
|
|
||||||
| <!--Imports must be after PropertyGroup block--> | ||||||
| <!--Only import Mod.props for reference resolution, skip Mod.targets to avoid ModPostProcessor issues with .NET 8--> | ||||||
| <Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.props" /> | ||||||
| <Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.targets" /> | ||||||
| <!--<Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.targets" />--> | ||||||
|
|
||||||
| <!--Override Mod.props settings to use .NET 8 instead of net48--> | ||||||
| <PropertyGroup> | ||||||
| <TargetFramework>net8.0</TargetFramework> | ||||||
| <LangVersion>latest</LangVersion> | ||||||
| <GenerateDependencyFile>false</GenerateDependencyFile> | ||||||
| <!--Skip ModPostProcessor which may not be compatible with .NET 8--> | ||||||
|
||||||
| <!--Skip ModPostProcessor which may not be compatible with .NET 8--> | |
| <!--Preventively skip ModPostProcessor: .NET 8 compatibility has not been verified as of this release. If you encounter issues, please document the specific error here.--> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 13112 | ||
| 17400 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commenting out the
Mod.targetsimport may cause build functionality loss beyond justModPostProcessor. The comment should clarify what build steps/targets are being skipped and document any manual workarounds required (e.g., missing MSBuild tasks for PDX publishing, deployment steps). Consider whether critical build targets fromMod.targetsneed to be manually replicated.