Skip to content

Releases: microsoft/CsWinRT

CsWinRT v2.0.7

08 Feb 00:06
2b77d84
Compare
Choose a tag to compare

Minor update to address regression in 2.0.6 with respect to projected types in WinRT namespace

Changes:

  • 2b77d84 Update CsWinRT-Variables.yml (#1501)
  • 174ccbf Fix mising global:: and add test case to avoid breaking in future. (#1500)

This list of changes was auto generated.

CsWinRT v2.0.6

03 Feb 03:42
ef21429
Compare
Choose a tag to compare

Changes:

  • ef21429 Ensure the FactoryObjectReference also holds a pointer to the context callback. (#1492)
  • 70e9541 Remove Resurrect logic as it shouldn't be needed for .NET 6 and newer. (#1380)
  • 1492035 Update version (#1451)
  • eb066e4 Merge pull request #1426 from microsoft/manodasanw/namespacediagnostics
  • e8aa2cf Update src/Authoring/WinRT.SourceGenerator/Generator.cs
  • f66605f Merge branch 'master' into manodasanw/namespacediagnostics
  • a3e1698 Merge pull request #1423 from jevansaks/patch-1
  • 2f033fc Fix diagnostics for namespaces not working with internal partial types due to the IsPublic check treated partial as public
  • b9dc1db Add details about CsWinRTPrivateProjection
  • 440e357 Remove unnecessary new. (#1410)
See More
  • a18d1ee Add the implementation dll to make sure design time builds pick up on the output. (#1389)
  • 2eaff7a Update baseline and pipeline badge (#1405)
  • b090c4f Fix pipeline (#1404)
  • 7116993 Adding new pipeline (#1372)
  • 5d34730 Merge pull request #1375 from jlaanstra/user/jlaans/1112-5
  • 7d917ac Comments.
  • 12ba656 Use Attach to avoid extra AddRef.
  • 0008648 Only on .NET
  • 5bcbdc2 Fix test failure.
  • 2445e5b Avoid some addref/release.
  • 50255b9 Add test.
  • a2b04df Simplify factory caching by using a FactoryObjectReference type that tracks the context.
  • 0258835 Define more InterfaceIIDs.
  • 65aabe2 Fix test that enables apartment specific object to be created from other apartmwent if the first instance was created on the STA.
  • 0020cc8 Include CsWinRT.exe in the UpToDateCheck.
  • 7bd11ec Merge pull request #1368 from microsoft/manodasanW-patch-1
  • f8bd478 Update version

This list of changes was auto generated.

CsWinRT v2.0.4

17 Oct 03:36
c7c0b30
Compare
Choose a tag to compare

Changes:

  • c7c0b30 Merge pull request #1366 from microsoft/manodasanw/fixdotnetversions
  • c62efe4 Adding missed file
  • f8d86b3 Updating versions used.
  • 179bb06 Merge pull request #1364 from jlaanstra/user/jlaans/remove-guidgenerator-2
  • 918af6d Comments.
  • c25bb57 Scope Guid change down to static and factory interfaces.
  • 1ee556f Manually generate signatures for some PInvokes to handle SetLastError. (#1354)
  • 579db0a Include CsWInRT.exe in the inputs so MSBuild reruns the target if CsWinRT.exe got updated. (#1356)
  • 7a8c3b1 Simplify factory generated code. (#1355)
  • 5721184 Fix issues from dictionary caching (#1353)
See More
  • c52fafa Delete generated files before regenerating projection. (#1348)
  • a3d421e Use blittable signatures for Platform P/Invoke (#1346)
  • 546cffe Fix vftbl nested types (#1343)
  • ab4eb3d Move IIDDataField out of generic types (#1340)
  • 9374d15 Create COMException from IRestrictedErrorInfo instead of calling Marshal.GetExceptionForHR. (#1335)
  • 04a5903 Update CsWinRT version (#1332)

This list of changes was auto generated.

CsWinRT v2.0.3

12 Jun 18:48
0e91479
Compare
Choose a tag to compare

Changes:

  • 0e91479 Minor improvements to error info (#1331)
  • 0afca0f Fix issue with ABI delegates in collections for .NET Standard projection (#1330)
  • e644f9c Remove IReference cache and add various tests for IPropertyValue and GetRuntimeClassName. (#1313)
  • 6611d0e Return false if TryAppendTypeName fails for an array type. (#1312)
  • 8557f79 Update version (#1311)

This list of changes was auto generated.

CsWinRT v2.0.2

31 Mar 19:25
8a3a277
Compare
Choose a tag to compare

Changes:

  • 8a3a277 Fix non-generic ICollection interface calls not working (#1303)
  • 86d7976 Fix resolving IWeakReference from different context (#1301)
  • 609cda8 Bring over changes from the .NET 6 projection to .NET standard projection (#1298)
  • 8d8f1e1 Fix recurisve issue with covariant interfaces and fix IID being wrong for custom type mapped interfaces (#1297)
  • ea463c3 Add using for system name to event helpers file (#1288)
  • 579b61a Fix interface name returned for GetRuntimeClassName and fix build (#1290)
  • e3f6727 Replace . with _ when generating authored component's targets. (#1280)
  • b245e57 Add note on using AnyCPU for Authoring projects (#1273)

This list of changes was auto generated.

CsWinRT v2.0.1

16 Nov 02:10
3dcca78
Compare
Choose a tag to compare

Changes:

See More
  • f25f408 Update localization pipeline Windows version (#1251)

This list of changes was auto generated.

CsWinRT v2.0.0

17 Aug 04:23
fa7f556
Compare
Choose a tag to compare

Changes:

  • fa7f556 Error when targeting net5 (#1247)
  • 9eabe30 Address a couple more trim warnings (#1245)
  • 5d54cba Move from net5 to net6 (#1238)
  • 38c0133 Project experimental attribute (#1244)
  • d2b8054 Update to 2.0.0 (#1241)
  • e75a025 Make QueryInterface function pointer blittable (#1240)
  • 05f36a5 With IL trimming, missing types is a common scenario and can be nosiy if anyone has first chance exceptions enabled for TypeLoadException. Handling it without throwing exception. (#1227)
  • b18e32e Fix string comparison in source generator (#1239)
  • 73e1759 Small housekeeping changes for authoring projects (#1236)
  • d037354 Some more QoL improvements for diag tests (#1235)
See More
  • 2a3dc38 Some QoL improvements for diag tests (#1204)
  • fda23ea Move attributes used for authoring (#1234)
  • a59ba54 Enable marshaling of restricted error info to System.Exception for UnhandledException handler (#1228)
  • 227696b Make the functional tests single file to test single file support (#1226)
  • 06b377d Use AppContext.BaseDirectory (#993) [ #992 ]
  • d6fb9c4 First iteration of making CsWinRT compatible with IL trimming (#1224)
  • 1ad15ea Use latest windows vm, move condition up to save CI resources (#1225)
  • a1cee7c Bring over changes from #1219 and address a couple other errors. (#1223)
  • b8c50f3 Fail test if none found (#1221)
  • 28be51f Make CsWinRT build with VS 2022 (#1217)
  • e54aaea Update indirect dependencies on Newtonsoft.Json to 13.0.1 (#1218)
  • 58796c9 Remove CCW vtable logic from ABI interfaces which don't need them (#1216)
  • 2162566 Remove ComImport for IIntializeWithWindow (#1215)
  • 9304504 Custom IWindowNative for ILTrimming (#1212)
  • 8d78c8d Update get_testwinrt.cmd for VS22 support (#1209)
  • 728011d Update authoring.md (#1185)
  • b8ff5fc Bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /src/Perf/ResultsComparer (#1208)
  • c181cb4 Update version number (#1198)

This list of changes was auto generated.

CsWinRT v1.6.5

02 Aug 17:26
Compare
Choose a tag to compare

This release of C#/WinRT is a tooling only release.

Changes:

  • 6352d4b Update indirect dependencies on Newtonsoft.Json to 13.0.1 (#1218)
  • 8a5e91c Bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /src/Perf/ResultsComparer (#1208)
  • 6593525 Enable marshaling of restricted error info to System.Exception for UnhandledException handler (#1228)
  • 182d86a Use AppContext.BaseDirectory (#993) [ #992 ]
  • c2b7219 Move to 1.6.5

This list of changes was auto generated.

CsWinRT v1.6.4

28 May 01:10
d68196c
Compare
Choose a tag to compare

This release of C#/WinRT is a tooling only release.

See the 1.6.4 Milestone for a list of issues closed.

C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.6.4

Changes:

  • d68196c Add Supported OS version to new interop API (#1197)
  • fb6a81d Making the static ABI classes internal if type was marked with ProjectionInternal (#1196)
  • fe3402b Remove ARM hosting mui files given we don't ship WinRT.Host.dll for it. ARM64 is still there. (#1195)
  • b2117a3 Add rollforward property (#1194)
  • cd1d7a0 Add localized files & packaging support (#1155)
  • 016656d Add DisplayInformation interop APIs (#1193)
  • 9557040 YML for running WinUI builds (testing and updating) (#1157)
  • 9b8764e Add public option to embedded support for enums (#1187)
  • c9c6e40 Change benchmark task in build (#1188)
  • 7d8e45c Pack project PRI next to WinMD (#1186)
See More

This list of changes was auto generated.

CsWinRT v1.6.3

29 Apr 23:06
8fe6810
Compare
Choose a tag to compare

This release of C#/WinRT includes several updates to the runtime and Windows SDK projections. The updated Windows SDK packages will be available in an upcoming .NET SDK update.

This release also includes some changes to the support for authoring C# Runtime Components:

  • The location of some assemblies used for hosting C#/WinRT authored components has been moved. Instead of under runtimes\win-PlatformArchitecture, the platform specific versions of WinRT.Host.dll now live in hosting\PlatformArchitecture. This won't change behavior for apps that rely on the automated build support, but users who manually copy these hosting binaries will need to update the path.
  • WinRT.Host.dll now uses a resource file, WinRT.Host.dll.mui, which will also need to be manually copied by customers who do not use the automatic build logic. The resource file is in the hosting\PlatformArchitecture\en-us\ folder of the CsWinRT NuGet package.

See the 1.6.3 Milestone for a list of issues closed.

C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.6.3

.NET Windows SDK targeting packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22000.25
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.20348.25
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.25
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.25
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.25

Changes:

  • 8fe6810 Update version to 1.6.3 (#1180)
  • e515454 Fix path in authoring targets (#1178)
  • 6fd1d37 Rename "runtimes" directory in NuPkg for hosting assemblies (#1175)
  • 6728f2c Avoid generating duplicated symbols when patch method (#1174)
  • 0df367b Support for private projections (#1153)
  • 0e26508 Correctly resolve WinRT.Runtime.dll in Authoring targets (#1167)
  • 9141de6 Refactor embedded tests for better automation (#1166)
  • 8588379 Pipeline for localization (#1154)
  • 574fc76 Fix boxing empty blittable arrays (#1158)
  • fc8fc3b Fix generic marshaler in CsWinRT 1.6 compatibility with CsWinRT projections generated using <=1.3.0 (#1160)
See More
  • 2bac1f0 Add queue time variable to make benchmarks optional (#1161)
  • 923b9d0 Correct resource manager for WinRT.Runtime resx
  • 09b020d Fixing build.cmd line ending as it seems to be causing issues locally (#1149)
  • 1acc2bc Move user-facing strings to resource files (#1109)
  • 090a279 Increment MinorVersion (#1142)
  • 30f4718 Change WindowsSdk variable used to publish to maestro (#1140)

This list of changes was auto generated.