38 Commits

Author SHA1 Message Date
Youssef Victor c9e210eb70 Update to xunit.v3 (#20331)
* Update to xunit.v3

* Little more progress

* More fixes

* Keep VSTest supported

* Adjust Nuke

* Few fixes

* Fix for xunit 2

* Fix GetData override

* Adjust

* Use MTP for xunit 2

* Fix test

* Better fix

* --no-progress

* Few more fixes

* no progress

* Fix test

* Better fix

* TRX

* Move to Directory.Build.props

* Unify on MTP v2

* Update

* Update to stable

* 1.0.1

* 1.0.2

* Fix some warnings

* Fix more warnings

* Fix more warnings
2026-01-08 20:46:44 +00:00
Youssef Victor f5bab9b85e Update .NET SDK to 10.0.101 (#20322) 2025-12-22 11:34:04 +00:00
Julien Lebosquain fb0f3848f9 Update to .NET 10 (#19869)
* Update to .NET 10 and C# 14

* Remove reflection usage in AvaloniaAccessHelper

* Fix Android nullability errors

* Fix WindowMetrics.WindowInsets removed from AndroidX

* Update pipelines

* Fix ValidateApiDiff for missing frameworks

* Fix Windows integration tests

* Update Xamarin.AndroidX.Window to 1.5.0

* Fix MacCatalyst supported version

* Remove unused Xunit.Extensions.Ordering

* Try to fix macOS integration tests

* Update pipeline runner to macOS 15

* Disable LeakTests

* Fix .NET Framework unit tests

* Fix BuildTests

* Bump minimum Android API level to 24

* Update to .NET 10 RTM

* Update XamlX

* update android insets and activity code to handle deprecated behaviors in api 36

---------

Co-authored-by: Emmanuel Hansen <emmausssss@gmail.com>
2025-11-19 15:22:43 +01:00
Simon Cropp c0127a1404 move to SDK 8.0.411 (#19136)
Avoid this CVE https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.17/8.0.17.md?WT.mc_id=dotnet-35129-website#microsoft-security-advisory-cve-2025-30399--net-remote-code-execution-vulnerability
2025-06-27 07:31:40 +00:00
Julien Lebosquain 0774007a4c Remove Tizen workload; use the Tizen SDK package directly instead (#17550) 2024-11-18 15:19:10 +00:00
Julien Lebosquain d1bd85e9b8 Nullable annotations for projects using XamlX (#15796)
* Nullable annotations for projects using XamlX

* Update .NET SDK

* Update XamlX to latest master

* Use ILRepack tool instead of submodule

* Fix build

---------

Co-authored-by: Max Katz <maxkatz6@outlook.com>
2024-07-29 15:26:05 -07:00
Max Katz 4b1ca3811e Avalonia single project support (#9613)
* MVP SingleProject support for all supported platforms

* Convert MobileSandbox to be a single project

* WASM fixes

* Fix SDK CI version

* Use .NET 8 in build project as well

* Add EnableUnsafeBinaryFormatterSerialization

* Add macos workload, remove wasm-experimental

* And ios

* Specify TFM for single-project projects in dirs.proj

* Return deleted line

* Set PrivateAssets=all on MobileSandbox

* Add ios target only on non-linux in MobileSandbox

* Update after merges

* Update browser sub-project from the templates

* Don't build MobileSandbox on CI

* Couple of improvements

* Add android hack to run without manifest

* Add tvOS support and rearrange some properties

* Delete unusable Packages.targets file + related

* Add global Condition for AvaloniaSingleProject.targets
2024-03-28 09:46:28 +00:00
Max Katz 326ef7c9fd Add .NET 8 target (Avalonia 11.1) (#14535)
* Add .NET 8 target to packable projects

* Update test projects

* Update sample projects to target .NET 8

* Update main Avalonia package to target .NET 8 as well

* Remove MSBuildEnableWorkloadResolver hack and some minor change

* Use net8.0 in nuke build as well

* Pin 8.0.0 SDK

* Adjust API validation

* Pin a valid version

* Remove net461 target from Avalonia package

* Remove unused net6.0 target from Avalonia.Designer.HostApp

* Adjust API diff

* Update ControlCatalog.Android.csproj

* Remove MSBuildEnableWorkloadResolver

* Fix Browser issues on .NET 8

* Fix .NET 8 error

* Fix merge conflicts

* Replace explicit TFMs in .csproj files with a centralized registry

* Fix merge conflict

* Fix AvsLegacyWindowsTargetFrameworks and add hacks for the tests

* Update XCode project CommandLineArgument

---------

Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
2024-03-05 13:37:26 -08:00
Julien Lebosquain 62b7eb4df2 Use single .NET SDK version in pipelines (#13719) 2023-11-24 05:55:33 +00:00
Simon Cropp e049313e7a Microsoft.Build.Traversal 3.2.0 2023-01-05 20:50:34 +11:00
Simon Cropp 3eebc5498c remove MSBuild.Sdk.Extras and AggregatePackage.NuGet.Sdk 2023-01-05 16:10:44 +11:00
Simon 2e68b148e3 move sdk to 7.0.101 2023-01-04 10:21:02 +11:00
Nikita Tsukanov 562d687daa Use 7.0.100 SDK 2022-11-07 22:58:47 +03:00
Dan Walmsley 46e451e297 pin sdk. 2022-10-18 14:19:20 +01:00
Dan Walmsley 3e4b5bb615 remove sdk restriction 2022-10-06 02:41:15 +01:00
Benedikt Stebner 240b644650 Next try 2022-10-05 16:01:29 +02:00
Dan Walmsley 26ff613413 use 6.0.202 sdk. 2022-04-13 13:58:25 +01:00
Max Katz e74b51e7af Use as latest as possible SDK 2022-02-28 21:56:59 -05:00
Max Katz df0a04b311 Revert SDK changes, but allow latestFeature 2022-02-24 22:15:03 -05:00
Max Katz 4e703efbc5 Update SDK 2022-02-24 00:59:32 -05:00
Max Katz f374ea374f Add multitarget with old sdk 2022-02-11 23:40:46 -05:00
workgroupengineering 50c033d0fd fixes: warning MSB4011 Microsoft.NET.Sdk.WindowsDesktop.props cannot … (#6813)
* fixes: warning MSB4011 Microsoft.NET.Sdk.WindowsDesktop.props cannot be imported again.

* fixes: nits

Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
2021-12-07 06:29:01 +03:00
Dan Walmsley 64c44c6fd1 fix sdk. 2021-11-09 18:12:23 +00:00
Dan Walmsley b4d10d5ed9 dotnet 6 compatibility. 2021-11-09 16:46:08 +00:00
Dan Walmsley 9da216dced global json 5.0.402 2021-10-26 21:03:52 +01:00
Nikita Tsukanov 45c8867a78 Bump SDK to 5.0.302 2021-10-18 23:11:49 +03:00
artyom 21fc8620f2 Try using 3.1.401 2020-09-01 21:36:41 +03:00
Artyom V. Gorchakov 0ed825700e Merge branch 'master' into rxui-events 2020-09-01 20:50:49 +03:00
artyom 9dd34660bf Try using .NET Core 3.1.302 2020-08-21 15:15:26 +03:00
artyom a3b27632dd Add .Events projects 2020-08-20 23:00:10 +03:00
Nikita Tsukanov 7c3cf89e3a build? 2020-07-17 16:51:08 +02:00
Steven Kirk 30e8cac05d Update to .NET core 3.1. 2020-03-03 07:36:56 +01:00
Dan Walmsley 02af14f884 update sdk extras? 2019-09-27 19:55:21 +01:00
José Pedro 11884a8232 Updated MSBuild.Sdk.Extras version. 2019-01-12 23:05:17 +00:00
Jeremy Koritzinsky 45ae6aac23 Fix package versions. 2018-10-28 13:35:37 -07:00
Jeremy Koritzinsky 5a9e41364b Convert project references to reference aggregate Avalonia.csproj 2018-10-27 17:46:29 -07:00
Jeremy Koritzinsky e7fab78d04 Use MSBuild.Sdk.Extras to switch the rest of our library projects to the new project format. 2018-08-16 16:46:39 -05:00
Jeremy Koritzinsky 065d6d01d8 Switch Cake to use a dirs.proj traversal project to simplify the solution. 2018-08-16 15:19:01 -05:00