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

CPM not working with another versioning sdk #12419

Closed
grapefruitie opened this issue Feb 8, 2023 · 2 comments
Closed

CPM not working with another versioning sdk #12419

grapefruitie opened this issue Feb 8, 2023 · 2 comments
Labels
Area:RestoreCPM Central package management Resolution:NeedMoreInfo This issue appears to not have enough info to take action Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP

Comments

@grapefruitie
Copy link

grapefruitie commented Feb 8, 2023

NuGet Product Used

dotnet.exe, MSBuild.exe, NuGet.exe

Product Version

nuget 6.4.0, .net 6.0

Worked before?

No response

Impact

I'm unable to use this version

Repro Steps & Context

Add another central versioning sdk in a csproj file
<Sdk Name="Your.Versioning.Sdk" />

Try either building the project or running nuget restore.

Error:
[Name].csproj: [RCV0102] The package reference '[Package]' has no version and no update specified. If you expected a version to be set it may indicate a problem with CentralVersions. Add an explicit version in the project file.

Verbose Logs

No response

@heng-liu
Copy link
Contributor

Hi @grapefruitie , could you provide a repro project so that we could repro? Thanks!
I didn't find the above error code/message in our code base.
From https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview:
Each project SDK is a set of MSBuild targets and associated tasks that are responsible for compiling, packing, and publishing code.

I'm not sure if the customized sdk includes the latest restore task which could handle CPM.

@heng-liu heng-liu added Triage:NeedsTriageDiscussion WaitingForCustomer Applied when a NuGet triage person needs more info from the OP Area:RestoreCPM Central package management and removed Triage:Untriaged labels Feb 11, 2023
@ghost ghost added the Status:No recent activity No recent activity. label Feb 28, 2023
@ghost
Copy link

ghost commented Feb 28, 2023

This issue has been automatically marked as stale because we have not received a response in 14 days. It will be closed if no further activity occurs within another 14 days of this comment.

@ghost ghost closed this as completed Mar 15, 2023
@ghost ghost added Resolution:NeedMoreInfo This issue appears to not have enough info to take action and removed Status:No recent activity No recent activity. labels Mar 15, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:RestoreCPM Central package management Resolution:NeedMoreInfo This issue appears to not have enough info to take action Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP
Projects
None yet
Development

No branches or pull requests

3 participants