Skip to content

add cpvm#874

Merged
iceljc merged 3 commits into
SciSharp:masterfrom
iceljc:features/add-cpvm
Feb 19, 2025
Merged

add cpvm#874
iceljc merged 3 commits into
SciSharp:masterfrom
iceljc:features/add-cpvm

Conversation

@iceljc

@iceljc iceljc commented Feb 6, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@iceljc

iceljc commented Feb 6, 2025

Copy link
Copy Markdown
Collaborator Author

@kerryjiang
Hi, we cannot compile the code after merging your previous pull request regarding the centralized package version management.
So I reverted that pull request, and proposal this one instead.

Can you help to take a look and make sure the projects are compliable and runnable?
Thanks!

@kerryjiang

kerryjiang commented Feb 6, 2025

Copy link
Copy Markdown
Member

What's the error you got? It should be only about BotSharp internal package version management. Usually, it won't impact the things which depends on it. Probably there is assembly version conflict issue over there, but it is covered by current inconsistent package versions.

Just tell me what problem you got.

@iceljc

@iceljc

iceljc commented Feb 6, 2025

Copy link
Copy Markdown
Collaborator Author

What's the error you got? It should be only about BotSharp internal package version management. Usually, it won't impact the things which depends on it. Probably there is assembly version conflict issue over there, but it is covered by current inconsistent package versions.

Just tell me what problem you got.

@iceljc

For example:

Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: NAudio.Core;Whisper.net.Runtime;Microsoft.AspNetCore.Mvc;NAudio;Whisper.net.

I follow the official doc and change some syntax in Directory.Packages.props file. Then it works.
https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management

@kerryjiang

@kerryjiang

Copy link
Copy Markdown
Member

Oh, yes.

I see PackageReference => PackageVersion. That was my typo or did wrong global replacement.

But how did build pass?

@kerryjiang

Copy link
Copy Markdown
Member

@kerryjiang

Copy link
Copy Markdown
Member

@haiping-chen it seems the build doesn't work correctly.

@iceljc

iceljc commented Feb 7, 2025

Copy link
Copy Markdown
Collaborator Author

@kerryjiang

Is the build successful on your local with the changes in this PR? or any issues?

@kerryjiang

Copy link
Copy Markdown
Member

I didn't, because I had problem to build BotSharp on my Macbook.

@iceljc

iceljc commented Feb 7, 2025

Copy link
Copy Markdown
Collaborator Author

What is the error when building on macbook?

@kerryjiang

Copy link
Copy Markdown
Member

@iceljc added github pr build pipeline, could you fix the merge conflict? And see how will the build for this PR go.

@iceljc

iceljc commented Feb 16, 2025

Copy link
Copy Markdown
Collaborator Author

@kerryjiang done. seems all passed. We will merge the pull requests after next Tuesday.

@Oceania2018 Oceania2018 removed the request for review from kerryjiang February 16, 2025 02:21
@iceljc iceljc merged commit db65eda into SciSharp:master Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants