Skip to content

[Broken Build]: After Update to VS 17.14 (It builds with older version) #11923

Open
@ekalchev

Description

@ekalchev

Issue Description

Our build process is divided into two stages. In the first stage, we build the entire solution. The second stage is responsible for creating the MSIX packages and with option /p:NoBuild=true.

To optimize build times, we use the /p:NoBuild=true option during the MSIX packaging stage. Since the binaries have already been produced in the first stage, this option prevents unnecessary rebuilding for each MSIX package, significantly speeding up our build process.

After updating to VS 17.14 our second phase of the build fails with errors for each of already built projects

The 'NoBuild' property was set to true but the 'Build' target was invoked.

We couldn't figure out how to fix that and decided to diff the build logs between 17.13 and 17.14. This is what we found

Image

We traced the issue to this commit

1c27ccf

from this pull request #11167

@vikukush

Steps to Reproduce

I don't have minimal reproducible example, but I uploaded the build logs from both versions of visual studio
Binlogs.zip

Expected Behavior

To Create MSIX packages with /p:NoBuild=true without errors

Actual Behavior

Cannot create MSIX packages with /p:NoBuild=true without errors

Ask us questions

I need to know if this is a bug, and if you are planning to fix that.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions