2025-10-13 14:33:36 +02:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<!-- When this is enabled, the project will be switched from nuget packages to consuming the ElectronNet orchestration directly -->
|
2025-11-05 01:00:44 +01:00
|
|
|
<ElectronNetDevMode>true</ElectronNetDevMode>
|
2025-10-13 14:33:36 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2025-11-15 08:32:00 +01:00
|
|
|
<Import Project="..\ElectronNET\build\ElectronNET.Core.props" Condition="$(ElectronNetDevMode)" />
|
2025-10-13 14:33:36 +02:00
|
|
|
|
2017-10-02 20:40:28 +02:00
|
|
|
<PropertyGroup>
|
2024-04-24 23:44:10 +09:00
|
|
|
<TargetFramework>net8.0</TargetFramework>
|
2019-10-03 22:30:58 +02:00
|
|
|
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
|
|
|
|
|
<AspNetCoreModuleName>AspNetCoreModule</AspNetCoreModuleName>
|
2025-10-13 14:33:36 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
|
<ImportNuGetBuildTasksPackTargetsFromSdk>false</ImportNuGetBuildTasksPackTargetsFromSdk>
|
2025-11-05 01:00:44 +01:00
|
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
|
|
|
<NuGetAudit>false</NuGetAudit>
|
2025-10-13 14:33:36 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Label="ElectronNetCommon">
|
|
|
|
|
<PackageIcon>128.png</PackageIcon>
|
|
|
|
|
<ApplicationIcon>wwwroot\assets\app-icon\win\app.ico</ApplicationIcon>
|
|
|
|
|
<NoWin32Manifest>true</NoWin32Manifest>
|
|
|
|
|
<ElectronIcon>wwwroot\assets\app-icon\win\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>wwwroot\assets\img\about@2x.png</ElectronSplashScreen>
|
|
|
|
|
<License>MIT</License>
|
2025-11-05 01:00:44 +01:00
|
|
|
<ElectronSingleInstance>false</ElectronSingleInstance>
|
2025-10-13 14:33:36 +02:00
|
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
|
|
|
<ElectronBuilderVersion>26.0</ElectronBuilderVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
|
|
|
|
|
<TypeScriptUseNodeJS>true</TypeScriptUseNodeJS>
|
|
|
|
|
<TypeScriptTSConfig>ElectronHostHook/tsconfig.json</TypeScriptTSConfig>
|
2017-10-02 20:40:28 +02:00
|
|
|
</PropertyGroup>
|
2025-11-15 13:14:27 +01:00
|
|
|
<PropertyGroup>
|
|
|
|
|
<TypeScriptCompileOnSaveEnabled>true</TypeScriptCompileOnSaveEnabled>
|
|
|
|
|
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
|
2025-11-17 13:04:56 +01:00
|
|
|
<Nullable>disable</Nullable>
|
2025-11-15 13:14:27 +01:00
|
|
|
</PropertyGroup>
|
2025-10-13 14:33:36 +02:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="publish\**" />
|
|
|
|
|
<Content Remove="publish\**" />
|
|
|
|
|
<EmbeddedResource Remove="publish\**" />
|
|
|
|
|
<None Remove="publish\**" />
|
|
|
|
|
<TypeScriptCompile Remove="**\node_modules\**" />
|
|
|
|
|
</ItemGroup>
|
2017-10-21 04:37:01 +02:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="Controllers\ManageWindowsController.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Remove="Views\Windows\HandleErrorCrashes.cshtml" />
|
|
|
|
|
</ItemGroup>
|
2017-10-02 20:40:28 +02:00
|
|
|
<ItemGroup>
|
2017-10-19 06:01:54 +02:00
|
|
|
<Folder Include="wwwroot\assets\" />
|
2017-10-02 20:40:28 +02:00
|
|
|
</ItemGroup>
|
2017-10-15 17:03:07 +02:00
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="Assets\electron.ico">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Update="Assets\electron_32x32.png">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
2017-10-15 00:08:15 +02:00
|
|
|
<ItemGroup>
|
2025-10-13 14:33:36 +02:00
|
|
|
<ProjectReference Include="..\ElectronNET.API\ElectronNET.API.csproj" Condition="$(ElectronNetDevMode)" />
|
|
|
|
|
<ProjectReference Include="..\ElectronNET.AspNet\ElectronNET.AspNet.csproj" Condition="$(ElectronNetDevMode)" />
|
2017-10-15 00:08:15 +02:00
|
|
|
</ItemGroup>
|
2019-05-15 23:56:53 +02:00
|
|
|
<ItemGroup>
|
2025-11-19 09:14:54 +01:00
|
|
|
<PackageReference Include="ElectronNET.Core" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
|
|
|
|
|
<PackageReference Include="ElectronNET.Core.AspNet" Version="0.3.0" Condition="'$(ElectronNetDevMode)' != 'true'" />
|
2025-10-13 14:33:36 +02:00
|
|
|
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="5.9.3" />
|
2019-05-15 23:56:53 +02:00
|
|
|
</ItemGroup>
|
2025-10-13 14:33:36 +02:00
|
|
|
|
2025-11-15 08:32:00 +01:00
|
|
|
<Import Project="..\ElectronNET\build\ElectronNET.Core.targets" Condition="$(ElectronNetDevMode)" />
|
2025-10-13 14:33:36 +02:00
|
|
|
|
2017-10-15 22:43:35 +02:00
|
|
|
</Project>
|