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

DotNet Publish, specify versions as parameter won't reflected in MSIX #40879

Open
f4n0 opened this issue May 14, 2024 · 2 comments
Open

DotNet Publish, specify versions as parameter won't reflected in MSIX #40879

f4n0 opened this issue May 14, 2024 · 2 comments
Assignees
Labels
Area-Workloads untriaged Request triage from a team member

Comments

@f4n0
Copy link

f4n0 commented May 14, 2024

Description

I'm using dotnet CLI to publish a MAUI MSIX package.
even specifying this

      "-p:AssemblyVersion=$BuildVersion"
        "-p:AssemblyFileVersion=$BuildVersion"
        "-p:AssemblyInformationalVersion=$BuildVersion"
        "-p:Version=$BuildVersion"
        "-p:ApplicationDisplayVersion=$BuildVersion"
        "-p:ApplicationVersion=0"

it won't work unless I delete the folder bin and obj and use --with-build parameter

Steps to Reproduce

Dotnet publish with different versions

Link to public reproduction project repository

No response

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@PureWeen PureWeen transferred this issue from dotnet/maui May 14, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels May 14, 2024
@baronfel
Copy link
Member

baronfel commented May 14, 2024

@f4n0 can you provide a sample reproduction or an binlog with the error you see here? There's not enough detail for us to figure out what's going wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Workloads untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants