Skip to content

Releases: microsoft/CsWinRT

CsWinRT v0.1.0.201006.1

06 Oct 18:29
73299a3

Choose a tag to compare

Release Notes

Refer to this list of breaking changes for .NET5 RC2.

Other known issues include:

  • MarshalInterface.FromAbi doesn't handle the case where ptr is not the default interface. (#360)
  • WinUI3 performance issues (#413)
  • ReadyToRun is not supported for applications using the .NET5 Windows 10 TFM. These applications should install the latest .NET5 SDK from the RTM branch to get the fix. (#442)
  • Projected XAML classes still require an explicit registration in the app startup path. This will be fixed in the RTM release. (#465)

Changes:

  • 73299a3 Angzhang/flattensample (#453)
  • b8b2ea7 Merge pull request #452 from microsoft/ujjwalchadha/optimize-noexcept
  • 4f86482 Add optimization for noexcept methods and test cases
  • 48fd923 User/jlarkin/fixasynctests (#450)
  • 1745600 adding sample files (#425)
  • 8334dc6 Merge pull request #448 from microsoft/ujjwalchadha/fix-redundant-checks-codewriters
  • cac5a23 Update testwinrt and clean up redundant code
  • 7a5eb27 add a lock around ComWrappers singleton accessors for thread safety (unit tests occasionally failed) (#447)
  • a2689f8 always create global.json and prerelease targets files on every build (#441)
  • 52fedba Fix XAML app break in protected constructor from Dynamic interface castable changes. (#445)
See More
  • 7b18250 Fixed broken tests, bad merge, regression in RC guid calculation (ProjectedRuntimeClass attrib), and made vector view GRCN more reliable (#444)
  • 17687ff Merge pull request #369 from microsoft/IDynamicInterfaceCastable
  • b06d2d3 Fix authoring
  • 1f35673 skip buffer and stream async tests (#440)
  • 94294d2 Fix build errors
  • 80ccff5 Merge branch 'master' into IDynamicInterfaceCastable
  • 4418c1b Merged Master into IDynamicInterfaceCastable
  • a7748a9 transform use of await to use Tasks and waits (#439)
  • 1cb8c01 Add tests for IDynamicInterfaceCastable
  • e57b67c Fix casing. (#435)
  • ba117da Code cleanup
  • 557df57 fixed build break (#434)
  • 2a947c4 IXamlServiceProvider projection (#433)
  • 2fe4e76 Upgrade Authoring source generator to use new Roslyn API. (#432)
  • 3831edd Update the Microsoft.NET.Compilers.Toolset package to have Roslyn respect UnmanagedCallersOnly (#427)
  • 73a30a6 Merge pull request #422 from microsoft/user/jlarkin/update-IBufferByteAccess
  • f7d3740 Merge branch 'master' into user/jlarkin/update-IBufferByteAccess
  • 8f673c2 add unit test covering issue 359, add attribute to IMarshal
  • 471979e Added manual type mappings for IDynamicInterfaceCastable
  • 3686f7d INotifyDataErrorInfo implementation (#419)
  • 224ee35 add support for non-void event delegates (#418)
  • 290e744 Fix build. (#423)
  • 3c9e700 move one of huo test out of net5 tests, fix repro test
  • 2d822d6 Merge branch 'master' into user/jlarkin/update-IBufferByteAccess
  • d177995 Authoring part 2 (#416)
  • fca2c7b Merge branch 'master' into user/jlarkin/update-IBufferByteAccess
  • b8a4d4a add contract to ibufferbyteaccess and a unittest based on repro from issue
  • 64f3e35 add key and key property (#420)
  • 2614a13 remove namespace rename (#414)
  • be45606 Register projections with module initializers (#404)
  • c38b4a2 Add field access optimization for default interfaces
  • 9190ef4 [DO NOT MERGE] Restore "Update to .NET 5 Preview 8 and update compiler toolset package" (#400) [ #388, #399 ]
  • 229fead Merge remote-tracking branch 'origin' into IDynamicInterfaceCastable
  • f8637d1 Update .gitignore
  • 1c5bdfa Adding source generator to nuget package. (#403)
  • 26b5f1c demonstrate iinspectable-based interop interface (#393)
  • 598ec08 Revert "Update to .NET 5 Preview 8 and update compiler toolset package (#388)" (#399)
  • 63abd75 Update to .NET 5 Preview 8 and update compiler toolset package (#388)
  • e9747d2 Various winmd writer fixes and adding more custom attributes (#391)
  • fde97d2 Initial WinRT.Host.dll implementation (#374)
  • 048a87a Update README.md (#392)
  • ac42ed4 Add diagnostics to winmd reference workarounds (#387)
  • efe1842 Project static As<> casting methods for access to factories for interops, etc (#385)
  • 0a22529 Adding WinMD generator (#383)
  • 6d6b3f0 a few gaps in authoring support (#386)
  • 95cc5ee track source metadata for authoring projections (#378)
  • 0076251 fixed buffer overrun with tpm switch help (#375)
  • bb87934 Changes to readme, additional md files/diagram (#368)
  • e86f00b Update README.md
  • 597a024 Add support for IDynamicInterfaceCastable-based interfaces in RCW creation
  • b5c3c31 Cache cast results in .NET 5 projection to regain some perf losses.
  • a02a72c Fix more collections so the Windows projection also builds.
  • b58f37d Get WinUI projection compiling with no new warnings.
  • 25e4e4b Use Spans instead of LINQ to improve perf in Guid generation (startup perf).
  • 1f4d869 Fix projected required interface implementations and handle default interfaces of runtime classes such that they can live in different projections and compile with only the public contract exposed.
  • 1f2efee Update to LangVersion preview
  • cc30448 Implement static interface support by using dynamic casting under the hood via an internal IInspectable instance.
  • bcaf88e Use equality functions instead of ThisPtr.
  • 6511ae6 Move activation/composition to work with IDynamicInterfaceCastable.
  • 89a83ee Use the QI cache when checking if an interface is implemented.
  • 4fd093b Move statics and factory caches to the IDynamicInterfaceCastable plan.
  • 686cead Add fallback for when an interface is kept alive but its Vftbl type was linked away since no members on the interface were called.
  • 6e455f3 Implement IDynamicInterfaceCastable for generated code excluding factories and FromAbi.
  • 58c590a Add IWinRTObject interface and continue implementing the updates to interfaces.
  • 7ad98c8 Start refactoring for implementing IDynamicInterfaceCastable.
  • 4be3620 Don't ship the netstandard2.0 projection support.
  • 11fcbd9 Don't directly use the underlying ObjectReference as the marshaler when marshalling ABI interface types. (#365)
  • 4819103 Merge pull request #350 from microsoft/fnptrs
  • 762e779 Update usage readme
  • b0cdf20 Simplify IUnknownVftbl creation. fixes WinUIDesktopSample startup.
  • 5063e20 Merge pull request #363 from microsoft/manodasanw/fnptrs-compilertools
  • e41cb2e Address PR feedback.
  • 05c4fb1 Updating compiler tools to support function ptrs without VS preview
  • a4c9dad Merge pull request #361 from microsoft/manodasanw/dotnetupgrade
  • c81f9a3 Upgrading dotnet version to released preview 7 and attempting new fix to winmd references as it regressed.
  • 86ac082 Merge pull request #353 from microsoft/ujjwalchadha/benchmarks
  • 7e2f90a Merge pull request #357 from microsoft/manodasanw/stringablefix
  • a497f97 Merge pull request #356 from microsoft/manodasanw/lazyinterfacesfix
  • 1f21ba0 Slim down native->managed vtable creation when the type is non-generic.
  • 631bb36 Fix IS...
Read more