microsoft / microsoft/msix-packaging

[BUG] MSIX doesnt built in Azure DevOps Task

Open
#610 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-MSIX ADO Bug
Dominant language
C
Stars
1.1k
Forks
193
Avg merge
2h 16m
Merged PRs (30d)
2

Description

Project
MSIX SDK with MAUI app.
Project location: https://dev.azure.com/saigkill/JobApplicationManager

Describe the bug
I'm using the MSIX build and package task. After the task, it will be marked as succeeded, but no MSIX package can be found.

To Reproduce

  1. Clone the project
  2. Set a build task with the parameters in the screenshot.
  3. Run the pipeline.

Expected behavior
In general i'm expecting the produce of a MSIX package, or a failed status.

Screenshots
image

Platform
Windows

Additional context

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe D:\a\1\s\JobApplicationManager.sln “/p:Platform=any cpu” /p:Configuration=release /p:UapAppxPackageBuildMode=StoreAndSideload /p:AppxPackageSigningEnabled=false /p:AppxBundle=Never /p:AppxPackageOutput=D:\a\1\a\JobApplicationManager.msix
Microsoft ® Build Engine version 4.8.9037.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright © Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the “/m” switch.
Build started 1/2/2024 6:14:22 PM.
Project “D:\a\1\s\JobApplicationManager.sln” on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration “release|any cpu”.
Project “D:\a\1\s\JobApplicationManager.sln” (1) is building “D:\a\1\s\JobApplicationManager\JobApplicationManager.csproj.metaproj” (2) on node 1 (default targets).
D:\a\1\s\JobApplicationManager\JobApplicationManager.csproj.metaproj : warning MSB4078: The project file “JobApplicationManager\JobApplicationManager.csproj” is not supported by MSBuild and cannot be built.
Done Building Project “D:\a\1\s\JobApplicationManager\JobApplicationManager.csproj.metaproj” (default targets).
Project “D:\a\1\s\JobApplicationManager.sln” (1) is building “D:\a\1\s\JobApplicationManager.Tests\JobApplicationManager.Tests.csproj.metaproj” (3) on node 1 (default targets).
D:\a\1\s\JobApplicationManager.Tests\JobApplicationManager.Tests.csproj.metaproj : warning MSB4078: The project file “JobApplicationManager.Tests\JobApplicationManager.Tests.csproj” is not supported by MSBuild and cannot be built.
Done Building Project “D:\a\1\s\JobApplicationManager.Tests\JobApplicationManager.Tests.csproj.metaproj” (default targets).
Done Building Project “D:\a\1\s\JobApplicationManager.sln” (default targets).

Build succeeded.

“D:\a\1\s\JobApplicationManager.sln” (default target) (1) ->
“D:\a\1\s\JobApplicationManager\JobApplicationManager.csproj.metaproj” (default target) (2) ->
(Build target) ->
D:\a\1\s\JobApplicationManager\JobApplicationManager.csproj.metaproj : warning MSB4078: The project file “JobApplicationManager\JobApplicationManager.csproj” is not supported by MSBuild and cannot be built.

“D:\a\1\s\JobApplicationManager.sln” (default target) (1) ->
“D:\a\1\s\JobApplicationManager.Tests\JobApplicationManager.Tests.csproj.metaproj” (default target) (3) ->
D:\a\1\s\JobApplicationManager.Tests\JobApplicationManager.Tests.csproj.metaproj : warning MSB4078: The project file “JobApplicationManager.Tests\JobApplicationManager.Tests.csproj” is not supported by MSBuild and cannot be built.

2 Warning(s)
0 Error(s)

Time Elapsed 00:00:01.55

So i'm confused. On the one side the project is build correctly, and on the other side not. And i don't know, how i can fix it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Azure DevOps project and the logged MSBuild command, especially the MSB4078 warnings for JobApplicationManager.csproj and JobApplicationManager.Tests.csproj. Confirm whether the task should produce an MSIX package or fail when the projects are unsupported; done means the task reports the correct outcome and the expected package is present when the build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.