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

Suppress MSI validation to avoid applocker failures #59909

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Jan 16, 2025

No description provided.

@mmitche mmitche requested review from wtgodbe and a team as code owners January 16, 2025 22:25
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Jan 16, 2025
@@ -9,6 +9,9 @@
Read more here => https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md#limitations
-->
<AccelerateBuildsInVisualStudio>false</AccelerateBuildsInVisualStudio>

<!-- Suppress validation to avoid Applocker failures when running light.exe on dev machines. -->
<SuppressValidation>true</SuppressValidation>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this for the .sfxproj's in https://github.com/dotnet/aspnetcore/tree/main/src/Framework as well? I think this d.b.p is only used by the Hosting Bundle

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need it for the wixprojs as far as I can tell. I think only ANCM, but I put it here since ANCM and the hosting bundle projects import this file

@mmitche
Copy link
Member Author

mmitche commented Jan 16, 2025

Confirmed this works.

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That didn't work for me locally back then but if it now works, I'm happy.

@ViktorHofer ViktorHofer merged commit 9388d49 into dotnet:main Jan 17, 2025
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Jan 17, 2025
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.

3 participants