Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 18f9591

Browse files
author
Mark Hall
committed
Upgrade to latest abstraction package.
Fix zip output
1 parent cad8ff1 commit 18f9591

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
GITHUB_TOKEN: ${{ github.token }}
5555
with:
5656
upload_url: ${{ steps.create_release.outputs.upload_url }}
57-
asset_path: ./src/EpiSourceUpdater/bin/Release\netstandard2.0/Epi.Source.Updater.zip
57+
asset_path: ./Epi.Source.Updater.zip
5858
asset_name: EPi.Source.Updater.${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip
5959
asset_content_type: application/zip
6060

src/EpiSourceUpdater/Epi.Source.Updater.csproj

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<AssemblyName>Epi.Source.Updater</AssemblyName>
66
<LangVersion>latest</LangVersion>
7+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
78
</PropertyGroup>
89

910
<ItemGroup>
@@ -42,9 +43,12 @@
4243

4344
<ItemGroup>
4445
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" />
45-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
46-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
47-
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Abstractions" Version="0.3.246501" />
46+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.9.0" />
47+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.9.0" />
48+
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Abstractions" Version="0.3.256001">
49+
<IncludeAssets>all</IncludeAssets>
50+
<ExcludeAssets>build</ExcludeAssets>
51+
</PackageReference>
4852
</ItemGroup>
4953

5054
<ItemGroup>
@@ -70,4 +74,15 @@
7074
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7175
</None>
7276
</ItemGroup>
77+
<!-- Zip extension if desired -->
78+
<Target Name="ZipPublishUpgradeAssistant" AfterTargets="Build">
79+
<PropertyGroup>
80+
<ExtensionOutputPath>$(SolutionDir)$(AssemblyName).zip</ExtensionOutputPath>
81+
</PropertyGroup>
82+
<ZipDirectory
83+
Overwrite="true"
84+
SourceDirectory="$(OutputPath)"
85+
DestinationFile="$(ExtensionOutputPath)" />
86+
<Message Importance="High" Text="Zipped Upgrade Assistant Extension: $(ExtensionOutputPath)"/>
87+
</Target>
7388
</Project>

0 commit comments

Comments
 (0)