This repository was archived by the owner on Nov 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 44 <TargetFramework >netstandard2.0</TargetFramework >
55 <AssemblyName >Epi.Source.Updater</AssemblyName >
66 <LangVersion >latest</LangVersion >
7+ <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
78 </PropertyGroup >
89
910 <ItemGroup >
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 >
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 >
You can’t perform that action at this time.
0 commit comments