Skip to content
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

add cpvm #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add cpvm #874

wants to merge 1 commit into from

Conversation

iceljc
Copy link
Collaborator

@iceljc iceljc commented Feb 6, 2025

No description provided.

@iceljc
Copy link
Collaborator Author

iceljc commented Feb 6, 2025

@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
Copy link
Member

kerryjiang commented Feb 6, 2025

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
Copy link
Collaborator Author

iceljc commented Feb 6, 2025

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
Member

Oh, yes.

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

But how did build pass?

@kerryjiang
Copy link
Member

@kerryjiang
Copy link
Member

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

@iceljc
Copy link
Collaborator Author

iceljc commented Feb 7, 2025

@kerryjiang

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

@kerryjiang
Copy link
Member

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

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.

2 participants