1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
-
3
2
<PropertyGroup >
4
3
<OutputType >Exe</OutputType >
5
-
6
- <TargetFramework >net5.0</TargetFramework >
4
+ <TargetFramework >net7.0</TargetFramework >
7
5
<AssemblyName >dotnet-electronize</AssemblyName >
8
6
<ToolCommandName >electronize</ToolCommandName >
9
-
10
7
<PackageType >DotnetCliTool</PackageType >
11
8
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
12
9
<PackageOutputPath >..\artifacts</PackageOutputPath >
29
26
<PackageReleaseNotes >Changelog: https://github.com/ElectronNET/Electron.NET/blob/master/Changelog.md</PackageReleaseNotes >
30
27
<PackageIcon >PackageIcon.png</PackageIcon >
31
28
<PackAsTool >true</PackAsTool >
32
- <StartupObject ></StartupObject >
29
+ <StartupObject >
30
+ </StartupObject >
33
31
</PropertyGroup >
34
-
35
32
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
36
33
<PlatformTarget >AnyCPU</PlatformTarget >
37
34
</PropertyGroup >
38
-
39
35
<ItemGroup >
40
36
<None Remove =" ElectronHost\package-lock.json" />
41
37
<None Remove =" ElectronHost\package.json" />
42
38
</ItemGroup >
43
-
44
39
<ItemGroup >
45
40
<None Include =" PackageIcon.png" Pack =" true" PackagePath =" \" />
46
41
</ItemGroup >
47
-
48
42
<ItemGroup >
49
43
<EmbeddedResource Include =" ..\ElectronNET.Host\electron.manifest.json" Link =" ElectronHost\electron.manifest.json" />
50
44
<EmbeddedResource Include =" ..\ElectronNET.Host\package.json" Link =" ElectronHost\package.json" />
75
69
<EmbeddedResource Include =" ..\ElectronNET.Host\api\powerMonitor.js" Link =" ElectronHost\api\powerMonitor.js" />
76
70
<EmbeddedResource Include =" ..\ElectronNET.Host\api\nativeTheme.js" Link =" ElectronHost\api\nativeTheme.js" />
77
71
</ItemGroup >
78
-
79
72
<ItemGroup >
80
73
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" >
81
74
<PrivateAssets >all</PrivateAssets >
82
75
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
83
76
</PackageReference >
77
+ <PackageReference Include =" Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version =" 0.4.410601" >
78
+ <PrivateAssets >all</PrivateAssets >
79
+ </PackageReference >
84
80
</ItemGroup >
85
81
<Target Name =" PostBuild" AfterTargets =" PostBuildEvent" Condition =" '$(OS)' == 'Windows_NT'" >
86
82
<Exec Command =" $(ProjectDir)devCleanup.cmd" IgnoreExitCode =" true" />
87
83
</Target >
88
84
<Target Name =" PostBuild" AfterTargets =" PostBuildEvent" Condition =" '$(OS)' != 'Windows_NT'" >
89
85
<Exec Command =" $(ProjectDir)devCleanup.sh" IgnoreExitCode =" true" />
90
86
</Target >
91
- </Project >
87
+ </Project >
0 commit comments