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

DacPackage Version property is null when using prerelease versions #110

Closed
Condor2708 opened this issue Jun 10, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working fixed-pending-release Fix in upcoming release good first issue Good for newcomers P1 P1 bug
Milestone

Comments

@Condor2708
Copy link

When I load a package that is installed with a prerelease version, the version object is null because does not allow prerelease.
If I check te msdb.dbo.sysdac_instances database the installed version is set correctly with the prerelease version.

using var dacpacPackage = DacPackage.Load(dacpacFile);
dacpacPackage.Version

Accessing Metadata by reflection can access the right version
I think the public Version property needs to be changed to use some structure that allows prerelease/Semver versions

@Condor2708 Condor2708 changed the title DacPackage Version does not allow sem ver prerelease versions. If I check the metadata it is ok DacPackage Version property is null when using prerelease versions Jun 10, 2022
@llali llali added the bug Something isn't working label Jun 14, 2022
@zijchen zijchen added the good first issue Good for newcomers label Oct 17, 2022
@dzsquared dzsquared added the P1 P1 bug label Oct 23, 2023
@ssreerama ssreerama self-assigned this Jan 3, 2024
@ssreerama ssreerama added this to the 162.2 milestone Jan 3, 2024
@ssreerama ssreerama added the fixed-pending-release Fix in upcoming release label Jan 8, 2024
@ssreerama ssreerama reopened this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed-pending-release Fix in upcoming release good first issue Good for newcomers P1 P1 bug
Projects
None yet
Development

No branches or pull requests

5 participants