VS2022 Publish is disabled

Kalyan A 355 Reputation points
2024-12-19T19:47:36.7166667+00:00

I am trying to create msix file for Windows but Publish is disabled please suggest.publish.gif

I am using VS 2022 and recently upgraded.

Thanks,

Kalyan

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,769 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kalyan A 355 Reputation points
    2024-12-19T21:24:14.0833333+00:00

    I used CLI publishdotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64

    Took net9.0-windows10.0.19041.0 from .csproj file and it published I am good for now thank you.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.