3 Commits

Author SHA1 Message Date
Matt Swann b41b57cd42 Send schema errors to OnError callback in all cases (#175)
* Gracefully handle schema errors when applying filters

* Gracefully handle schema errors when applying filters

* Fix error message
Dispose managed error callbacks

* Improve error callback on event_filter

* Rename event callback for improved readability

* Add additional ETW trace flags described in public documentation or Microsoft open-source projects

* Remove TODO which has already been resolved through IEventRecordMetadata

* Add an interface for EventRecordError to enable unit-testing

* Address code review feedback

* Delete extraneous file

* Fix delegate name

* Resolve nits identified during self-review
2021-09-06 12:28:18 -07:00
Matt Swann 10661ab379 Comply with requirements for MSFT-owned nuget packages (#56)
* Disable strict compliance on tests project to work around a VS2017 compiler bug: https://developercommunity.visualstudio.com/content/problem/288560/cppunittestassert-doesnt-compile-with-permissive-i.html

* Disabling /permissive- for all build flavors

* Add ESRP delay signing key

* Add Microsoft prefix per MSFT requirements

* Sign.cmd is no longer needed

* Update assembly namespace to match nuget id

* Fix nuget file references

* Update expected public key

* Bump nuget version to 2.0.0
2018-10-02 12:14:48 -07:00
Zac Brown c81c3c41f6 - Make projects for Managed and Native example code. (#3)
* - Make projects for Managed and Native example code.
- Create a 'tests' directory.
- Remove SampleCSharpKrabsExe as it is redundant with respect to the example code.

Signed-off-by: Zac Brown (ODSP SECURITY) <zbrown@microsoft.com>

* - Add note about TYPEASSERT and NDEBUG compilation flags to README.md.
- Add /W4 /WX compiler flags to NativeExample project.
- vcxproj.filters updates based on VS magic.

Signed-off-by: Zac Brown (ODSP SECURITY) <zbrown@microsoft.com>
2016-11-28 14:06:40 -08:00