Skip to content

Publish the shared framework MSI to artifacts #10241

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

Merged
merged 1 commit into from
May 16, 2019
Merged

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented May 14, 2019

Publish the shared framework MSI to artifacts. This will enable the SDK to consume it directly for Visual Studio changes we're making.

@joeloff joeloff requested a review from natemcmaster May 14, 2019 17:24
@joeloff
Copy link
Member Author

joeloff commented May 14, 2019

@johnbeisner FYI, I think once this is merged it should unblock you on the VS side for the work you're doing right now

@natemcmaster
Copy link
Contributor

Does this mean we can stop producing wixlib files in favor of .msi?

@joeloff
Copy link
Member Author

joeloff commented May 14, 2019

@natemcmaster not yet, but eventually. We're still including the MSI in 3 bundles, so the wixlib guarantees consistency. This is just for VS where we want to directly consume items to simplify some servicing scenarios

@natemcmaster
Copy link
Contributor

@aspnet-hello
Copy link

This comment was made automatically. If there is a problem contact [email protected].

I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2327
https://github.com/aspnet/AspNetCore-Internal/issues/2479

@Eilon Eilon added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label May 14, 2019
@joeloff joeloff merged commit d83bb8e into master May 16, 2019
@ghost ghost deleted the joeloff/SetupAssets branch May 16, 2019 17:56
@dougbu
Copy link
Contributor

dougbu commented May 17, 2019

@joeloff the official build has been failing since this change went in. Specifically, the SharedFramework project now places sfx_x86.cab and xfx_x64.cab in the artifacts/bin/SharedFramework/x64/Release/en-US/ folder but doesn't copy them into artifacts/installers/Release/. Nonetheless the Microsoft.DotNet.SignCheck tool is looking for the .cab files in the installers folder for some reason:

Could not find file 'F:\workspace\_work\1\s\artifacts\installers\Release\sfx_x64.cab'.
Could not find file 'F:\workspace\_work\1\s\artifacts\installers\Release\sfx_x86.cab'.

There's no other mention of these .cab files in the SignCheck build or its binary log.

What needs to change to fix this?

@dougbu
Copy link
Contributor

dougbu commented May 17, 2019

@aspnet/build I can't find an issue about these failures in aspnet/AspNetCore-Internal though the bot has been running reliably. What gives?

@joeloff
Copy link
Member Author

joeloff commented May 17, 2019

Well, SignCheck would complain because it's now picking up the MSI, but the CABs aren't being published to artifacts.

Looking at the targets file, it's only copying the output, which for a wixproj is the MSI typically, not the CABs.

@dougbu
Copy link
Contributor

dougbu commented May 17, 2019

@joeloff 🆗 but what's the correct fix?

@joeloff
Copy link
Member Author

joeloff commented May 17, 2019

@dougbu Copy the CAB files. I sent a PR for that and added you to it. Ideally I'd like to see what the agent's raw build process looks like on disk. Downside is we'd scan the CABs twice or maybe more (because we'd be scanning the EXE (which includes the MSI and the CABs) and then scan the individual MSI+CABs as well

@dougbu
Copy link
Contributor

dougbu commented May 17, 2019

@joeloff I doubt the recan #10340 adds will make a significant difference. And, fixing things here will get the builds running again much faster than a Microsoft.DotNet.SignCheck change for this particular case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants