Skip to content

Commit 2beb305

Browse files
committed
chore: update project configurations to allow arm64
1 parent 0f3ccba commit 2beb305

File tree

4 files changed

+42
-42
lines changed

4 files changed

+42
-42
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,41 @@ on:
44
workflow_dispatch:
55

66
jobs:
7+
changelog:
8+
name: Generate Changelog
9+
uses: CodingWithCalvin/.github/.github/workflows/generate-changelog.yml@main
10+
711
publish:
12+
needs: changelog
813
runs-on: windows-latest
14+
permissions:
15+
contents: write
916
steps:
1017
- name: Checkout
1118
uses: actions/checkout@v4
12-
19+
1320
- name: 1. Download artifact
1421
id: download-artifact
1522
uses: dawidd6/action-download-artifact@v2
1623
with:
17-
github_token: ${{ secrets.GH_SECRET }}
1824
workflow: release_build_and_deploy.yml
1925
workflow_conclusion: success
20-
26+
2127
- name: 2. Parse Artifact Manifest
2228
id: artifact_manifest
2329
uses: ActionsTools/read-json-action@main
2430
with:
2531
file_path: ./artifact/CodingWithCalvin.BreakpointNotifier.info
26-
32+
2733
- name: 3. Create Tag & Release
2834
uses: ncipollo/[email protected]
2935
with:
3036
artifacts: ./artifact/CodingWithCalvin.BreakpointNotifier.vsix
31-
generateReleaseNotes: true
37+
body: ${{ needs.changelog.outputs.changelog }}
3238
makeLatest: true
33-
token: ${{ secrets.GH_SECRET }}
3439
commit: ${{ steps.artifact_manifest.outputs.sha }}
3540
tag: ${{ steps.artifact_manifest.outputs.version }}
36-
41+
3742
- name: 4. Publish Release to Marketplace
3843
if: success()
3944
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v1

.github/workflows/release_build_and_deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
tags-ignore:
11-
- '[0-9]+.[0-9]+.[0-9]+.[0-9]+'
1210

1311
jobs:
1412
Release-Build-and-Deploy:
@@ -30,17 +28,17 @@ jobs:
3028
run: nuget restore src/CodingWithCalvin.BreakpointNotifier.sln
3129

3230
- name: 3. Building Project
33-
run: msbuild 'src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj' /p:configuration='Release' /p:platform='x64' /p:DeployExtension=False
31+
run: msbuild 'src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj' /p:configuration='Release' /p:platform='AnyCPU' /p:DeployExtension=False
3432

3533
- name: 4. Create Information File
3634
uses: jsdaniell/[email protected]
3735
with:
38-
name: 'src/CodingWithCalvin.BreakpointNotifier/bin/x64/Release/CodingWithCalvin.BreakpointNotifier.info'
36+
name: 'src/CodingWithCalvin.BreakpointNotifier/bin/Release/CodingWithCalvin.BreakpointNotifier.info'
3937
json: '{"sha":"${{ github.sha }}", "version":"${{ steps.step-version.outputs.version }}"}'
4038

4139
- name: 5. Publishing Build Artifact
4240
uses: actions/upload-artifact@v4
4341
with:
4442
path: |
45-
src/CodingWithCalvin.BreakpointNotifier/bin/x64/Release/CodingWithCalvin.BreakpointNotifier.info
46-
src/CodingWithCalvin.BreakpointNotifier/bin/x64/Release/CodingWithCalvin.BreakpointNotifier.vsix
43+
src/CodingWithCalvin.BreakpointNotifier/bin/Release/CodingWithCalvin.BreakpointNotifier.info
44+
src/CodingWithCalvin.BreakpointNotifier/bin/Release/CodingWithCalvin.BreakpointNotifier.vsix

src/CodingWithCalvin.BreakpointNotifier.sln

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.5.33516.290
2+
# Visual Studio Version 18
3+
VisualStudioVersion = 18.1.11312.151
54
MinimumVisualStudioVersion = 10.0.40219.1
65
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodingWithCalvin.BreakpointNotifier", "CodingWithCalvin.BreakpointNotifier\CodingWithCalvin.BreakpointNotifier.csproj", "{66C238AD-8111-4579-A40C-48859AB61F25}"
76
EndProject
@@ -15,14 +14,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1514
EndProject
1615
Global
1716
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18-
Debug|x64 = Debug|x64
19-
Release|x64 = Release|x64
17+
Debug|AnyCPU = Debug|AnyCPU
18+
Release|AnyCPU = Release|AnyCPU
2019
EndGlobalSection
2120
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22-
{66C238AD-8111-4579-A40C-48859AB61F25}.Debug|x64.ActiveCfg = Debug|x64
23-
{66C238AD-8111-4579-A40C-48859AB61F25}.Debug|x64.Build.0 = Debug|x64
24-
{66C238AD-8111-4579-A40C-48859AB61F25}.Release|x64.ActiveCfg = Release|x64
25-
{66C238AD-8111-4579-A40C-48859AB61F25}.Release|x64.Build.0 = Release|x64
21+
{66C238AD-8111-4579-A40C-48859AB61F25}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
22+
{66C238AD-8111-4579-A40C-48859AB61F25}.Release|AnyCPU.ActiveCfg = Debug|Any CPU
2623
EndGlobalSection
2724
GlobalSection(SolutionProperties) = preSolution
2825
HideSolutionNode = FALSE

src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="17.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
4+
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
55
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
66
<UseCodebase>true</UseCodebase>
7-
<FileUpgradeFlags>
8-
</FileUpgradeFlags>
9-
<UpgradeBackupLocation>
10-
</UpgradeBackupLocation>
11-
<OldToolsVersion>15.0</OldToolsVersion>
127
<TargetFrameworkProfile />
138
</PropertyGroup>
14-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
15-
<PlatformTarget>x64</PlatformTarget>
16-
<OutputPath>bin\x64\Release\</OutputPath>
17-
<Optimize>true</Optimize>
18-
<DefineConstants>X64</DefineConstants>
9+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
10+
<DebugSymbols>true</DebugSymbols>
11+
<OutputPath>bin\Debug\</OutputPath>
12+
<DefineConstants>TRACE;DEBUG</DefineConstants>
13+
<DebugType>full</DebugType>
14+
<PlatformTarget>AnyCPU</PlatformTarget>
15+
<LangVersion>latest</LangVersion>
16+
<UseWinFormsOutOfProcDesigner>True</UseWinFormsOutOfProcDesigner>
1917
</PropertyGroup>
20-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
18+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
2119
<DebugSymbols>true</DebugSymbols>
22-
<OutputPath>bin\x64\Debug\</OutputPath>
23-
<PlatformTarget>x64</PlatformTarget>
20+
<OutputPath>bin\Release\</OutputPath>
2421
<DebugType>full</DebugType>
25-
<DefineConstants>TRACE;DEBUG;X64</DefineConstants>
22+
<PlatformTarget>AnyCPU</PlatformTarget>
23+
<LangVersion>latest</LangVersion>
24+
<Optimize>true</Optimize>
25+
<UseWinFormsOutOfProcDesigner>True</UseWinFormsOutOfProcDesigner>
2626
</PropertyGroup>
2727
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
2828
<PropertyGroup>
2929
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
30-
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
30+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
3131
<SchemaVersion>2.0</SchemaVersion>
3232
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
3333
<ProjectGuid>{66C238AD-8111-4579-A40C-48859AB61F25}</ProjectGuid>
@@ -76,10 +76,10 @@
7676
</ItemGroup>
7777
<ItemGroup>
7878
<PackageReference Include="Microsoft.VisualStudio.SDK">
79-
<Version>17.0.31902.203</Version>
79+
<Version>17.14.40265</Version>
8080
</PackageReference>
8181
<PackageReference Include="Microsoft.VSSDK.BuildTools">
82-
<Version>17.0.5232</Version>
82+
<Version>17.14.2120</Version>
8383
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
8484
</PackageReference>
8585
</ItemGroup>

0 commit comments

Comments
 (0)