Skip to content

Commit f081e2a

Browse files
committed
🔨 chore: update .NET Framework version and clean up workflow steps
1 parent 13fdb49 commit f081e2a

5 files changed

Lines changed: 49 additions & 59 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,24 @@ jobs:
4141
with:
4242
dotnet-version: 8.0.x
4343

44-
- name: Install .NET Framework 4.5.2 Developer Pack
45-
shell: pwsh
46-
run: |
47-
$installer = Join-Path $env:TEMP 'netfx452-devpack.exe'
44+
# - name: Install .NET Framework 4.5.2 Developer Pack
45+
# shell: pwsh
46+
# run: |
47+
# $installer = Join-Path $env:TEMP 'netfx452-devpack.exe'
4848

49-
Invoke-WebRequest `
50-
-Uri 'https://go.microsoft.com/fwlink/?clcid=0x409&linkid=397673' `
51-
-OutFile $installer
49+
# Invoke-WebRequest `
50+
# -Uri 'https://go.microsoft.com/fwlink/?clcid=0x409&linkid=397673' `
51+
# -OutFile $installer
5252

53-
$process = Start-Process `
54-
-FilePath $installer `
55-
-ArgumentList '/q', '/norestart' `
56-
-Wait `
57-
-PassThru
53+
# $process = Start-Process `
54+
# -FilePath $installer `
55+
# -ArgumentList '/q', '/norestart' `
56+
# -Wait `
57+
# -PassThru
5858

59-
if ($process.ExitCode -notin 0, 3010) {
60-
throw "Developer Pack installation failed: $($process.ExitCode)"
61-
}
59+
# if ($process.ExitCode -notin 0, 3010) {
60+
# throw "Developer Pack installation failed: $($process.ExitCode)"
61+
# }
6262

6363
- name: Create GitHub release
6464
uses: hsayed21/release-action@v1

‎App.config‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
55
</startup>
6-
</configuration>
6+
</configuration>

‎Properties/Resources.Designer.cs‎

Lines changed: 18 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Properties/Settings.Designer.cs‎

Lines changed: 9 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎SQLBakVersion.csproj‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>SQLBakVersion</RootNamespace>
1010
<AssemblyName>SQLBakVersion</AssemblyName>
11-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
15+
<TargetFrameworkProfile />
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -70,6 +71,7 @@
7071
<Compile Include="Properties\Resources.Designer.cs">
7172
<AutoGen>True</AutoGen>
7273
<DependentUpon>Resources.resx</DependentUpon>
74+
<DesignTime>True</DesignTime>
7375
</Compile>
7476
<None Include="Properties\Settings.settings">
7577
<Generator>SettingsSingleFileGenerator</Generator>
@@ -88,4 +90,4 @@
8890
<Content Include="icon.ico" />
8991
</ItemGroup>
9092
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
91-
</Project>
93+
</Project>

0 commit comments

Comments
 (0)