mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-17 13:45:34 +00:00
Updated all projects to target .NET 10.0, removing support for .NET 6.0. Upgraded key dependencies, including: - `Microsoft.Build` and `Microsoft.Build.Tasks.Core` to 18.0.2. - `Nuke.Common` to 10.1.0. - `System.Drawing.Common` to 10.0.1. - `System.Text.Json` to 10.0.1. Removed `NoWarn` configurations for .NET 6.0 in `ElectronNET.AspNet.csproj`. Reformatted the `Copy` task in `ElectronNET.Build.csproj` for readability. Updated `.pubxml` files and other project files to reflect the framework upgrade.
35 lines
921 B
XML
35 lines
921 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="..\common.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<IsPackable>False</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="18.0.2" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<_DllTargetPath>$(MSBuildThisFileDirectory)\..\ElectronNET\build</_DllTargetPath>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target BeforeTargets="AfterBuild" Name="CopyToBuildFolder">
|
|
|
|
<ItemGroup>
|
|
<OutputFiles Include="$(OutDir)**\*.dll"></OutputFiles>
|
|
</ItemGroup>
|
|
|
|
<Message Text="Copy ElectronNET.Build.dll to destination: $(_DllTargetPath)" Importance="high" />
|
|
|
|
<Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(_DllTargetPath)\%(RecursiveDir)" OverwriteReadOnlyFiles="true"></Copy>
|
|
|
|
</Target>
|
|
|
|
</Project>
|