[ansible-project] Re: Windows: CS1504 Failed to compile C# code

2024-02-27 Thread Alexander Schomburg
FYI, We managed to find the reason and a possible solution for this issue which is described in detail in this GitHub Issue: https://github.com/ansible-collections/ansible.windows/issues/588 TLDR: Make sure to never enable Dynamic Code Security with AppLocker, even if AppLocker is just run in

[ansible-project] Re: Windows: CS1504 Failed to compile C# code

2024-02-19 Thread Alexander Schomburg
Another week passed and unfortunately all other Windows 11 PCs we set up during the last week are now affected by the issue too. They've been working on Thursday evening and the issue appeared on Monday morning (for this client, Friday to Sunday are limited working days). Interestingly, we