An open API service indexing awesome lists of open source software.

https://github.com/assetripper/assetripper.nativedialogs


https://github.com/assetripper/assetripper.nativedialogs

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# AssetRipper.NativeDialogs

A cross-platform library for picking files and folders in .NET applications.

## CETCompat requirement (Windows)

On Windows, downstream projects must disable `CETCompat`. Leaving it enabled may cause crashes when opening native file dialogs.

Add the following to the consuming project `.csproj` file:

```xml

false

```
### Why?

Native file dialogs can load .NET Framework components that do not support CET mitigations. When CETCompat is enabled, this may lead to shadow stack violations and runtime crashes. CET affects the entire process, so it must be disabled by the application that uses this library.

### Similar issues in other repositories
- https://github.com/dotnet/wpf/issues/10483#issuecomment-2669897861
- https://github.com/microsoft/PowerToys/issues/37254#issue-2826006174