Skip to content

Fix build from a fresh clone and optimize UI and build options#466

Open
michaelmsonne wants to merge 14 commits intoMicrosoftDocs:mainfrom
michaelmsonne:main
Open

Fix build from a fresh clone and optimize UI and build options#466
michaelmsonne wants to merge 14 commits intoMicrosoftDocs:mainfrom
michaelmsonne:main

Conversation

@michaelmsonne
Copy link

@michaelmsonne michaelmsonne commented Apr 23, 2025

  • Fix UI so not possible to maximize UI (as not supported, no dynamic change of the content)
  • Center the SigningRules_Control when open to the screen the application is running on - defore it opened on the default Windows screen
  • Add templates files to project, and fix output path for build do to etc. folder output in newer will be like "WDAC-Policy-Wizard\app\bin\Debug\net8.0-windows10.0.22621.0\xxxx"
  • Smaller cleanup of code and unused "useing" etc.

It for now 😉

…ates

> Fix UI so not possible to maximize UI (as not supported, no dynamic change of the content)
> Center the SigningRules_Control when open to the screen the application is running on - defore it opened on the default Windows screen
> Add templates files to project, and fix output path for build do to etc. folder output in newer will be like "WDAC-Policy-Wizard\app\bin\Debug\net8.0-windows10.0.22621.0\xxxx\"
@michaelmsonne
Copy link
Author

Any updates for this @jgeurten ? :)

@jgeurten
Copy link
Contributor

Hi @michaelmsonne,

Thanks so much for your contributions. I like the idea of the changes to the build, and am supportive of integrating them. I would prefer, however, that we take the xml (ruledict and template policies) from their existing directories as opposed to duplicating them, please and thank you.

Another question for you, can you share the advantage or rationale behind duplicating all the png files under app/Assets? Today they live under MSIX/Assets. Any reason not to keep them there? The AppxManifest specifies that the location of the Assets should be ./MSIX/Assets afaik.

thanks!
Jordan

@michaelmsonne
Copy link
Author

Hi @jgeurten ,

Thanks for the update! And happy to hear that! 👍

Sure that make sense - let´s do that! And regarding the the png files, I did not see that.. - sure that make sense to keep them there.

Thanks,
Michael

@michaelmsonne
Copy link
Author

If you clone the repo from a "clean" computer, you getting this error if you trying to compile the project:

Error reading resource 'WDAC_Wizard.obj.Release.WDAC_Wizard.ConfigTemplate_Control.resources' -- 'Could not find a part of the path 'C:\Users\MichaelMortenSonne\source\GitHub\WDAC-Toolkit\WDAC-Policy-Wizard\app\obj\Release\WDAC_Wizard.ConfigTemplate_Control.resources'.'

Stuff like this I had tryed to fix too..

@michaelmsonne
Copy link
Author

Fixed it all now @jgeurten 😉

@michaelmsonne
Copy link
Author

Then it should be there @jgeurten :)

@michaelmsonne
Copy link
Author

Added a fix for load CustomRuleConditionsPanel UI in light or dark mode too - was not working (ref. my test on 3 diffrent machines 😉 )

@michaelmsonne
Copy link
Author

Any updates here or questions @jgeurten ? 🙂

@michaelmsonne
Copy link
Author

Any news @jgeurten ? :)

@michaelmsonne
Copy link
Author

@jgeurten

@michaelmsonne
Copy link
Author

Checking again - any updates?@jgeurten 🙂

@michaelmsonne
Copy link
Author

Checking again - any updates? @jgeurten @ 🙂

@michaelmsonne
Copy link
Author

@jgeurten any updates? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants