Files
Electron.NET/src/ElectronNET.ConsoleApp/ElectronNET.ConsoleApp.csproj
David Roth 1baa5c6200 Drop .NET 6.0, default to .NET 10.0 and update dependencies
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.
2025-12-11 07:25:07 +01:00

78 lines
2.9 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- When this is enabled, the project will be switched from nuget packages to consuming the ElectronNet orchestration directly -->
<ElectronNetDevMode>true</ElectronNetDevMode>
</PropertyGroup>
<Import Project="..\ElectronNET\build\ElectronNET.Core.props" Condition="$(ElectronNetDevMode)" />
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<OutputType>exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<IsPackable>false</IsPackable>
<ImportNuGetBuildTasksPackTargetsFromSdk>false</ImportNuGetBuildTasksPackTargetsFromSdk>
<PublishTrimmed>False</PublishTrimmed>
<NuGetAudit>false</NuGetAudit>
<Nullable>disable</Nullable>
</PropertyGroup>
<PropertyGroup Label="ElectronNetCommon">
<PackageIcon>128.png</PackageIcon>
<ApplicationIcon>app.ico</ApplicationIcon>
<NoWin32Manifest>true</NoWin32Manifest>
<ElectronIcon>app.ico</ElectronIcon>
<Title>ElectronNET API Demo1</Title>
<Version>1.0.2</Version>
<Product>com.electronnet-apisamples.app</Product>
<Description>Electron.NET Demo Application</Description>
<Company>Electron.Net</Company>
<Copyright>Copyright © 2025, Electron.NET</Copyright>
<PackageTags>Electron;.NET;ASP;NET;Sample;App</PackageTags>
<ElectronVersion>30.4.0</ElectronVersion>
<ElectronSplashScreen></ElectronSplashScreen>
<License>MIT</License>
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
<ElectronSingleInstance>false</ElectronSingleInstance>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<Compile Remove="bin\**" />
<Compile Remove="publish\**" />
<Content Remove="publish\**" />
<EmbeddedResource Remove="bin\**" />
<EmbeddedResource Remove="publish\**" />
<None Remove="bin\**" />
<None Remove="publish\**" />
</ItemGroup>
<ItemGroup>
<None Update="Assets\electron.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\electron_32x32.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Compile Remove="obj\**" />
<Compile Remove="publish\**" />
<Content Remove="publish\**" />
<EmbeddedResource Remove="obj\**" />
<EmbeddedResource Remove="publish\**" />
<None Remove="obj\**" />
<None Remove="publish\**" />
<TypeScriptCompile Remove="bin\**" />
<TypeScriptCompile Remove="obj\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ElectronNET.API\ElectronNET.API.csproj" Condition="$(ElectronNetDevMode)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ElectronNET.Core" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
</ItemGroup>
<Import Project="..\ElectronNET\build\ElectronNET.Core.targets" Condition="$(ElectronNetDevMode)" />
</Project>