mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 22:34:27 -07:00
Preparations for https://github.com/mono/linker/issues/595 [skip ci]
This commit is contained in:
parent
27905cabda
commit
286d306051
3 changed files with 10 additions and 2 deletions
|
@ -35,7 +35,7 @@ steps:
|
|||
command: 'publish'
|
||||
publishWebProjects: false
|
||||
projects: 'src\Greenshot\Greenshot.csproj'
|
||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x64 /p:PublishReadyToRun=true'
|
||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x64'
|
||||
zipAfterPublish: false
|
||||
|
||||
- task: CmdLine@2
|
||||
|
@ -49,7 +49,7 @@ steps:
|
|||
command: 'publish'
|
||||
publishWebProjects: false
|
||||
projects: 'src\Greenshot\Greenshot.csproj'
|
||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x86 /p:PublishReadyToRun=true'
|
||||
arguments: '-f netcoreapp3.0 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true /p:UseAppHost=true /p:RuntimeIdentifier=win-x86'
|
||||
zipAfterPublish: false
|
||||
|
||||
- task: CmdLine@2
|
||||
|
|
|
@ -53,6 +53,10 @@
|
|||
<DebugSymbols>True</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(MSBuildProjectName.Contains('.Addon.'))">
|
||||
<RootPackageReference>true</RootPackageReference>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="!$(MSBuildProjectName.Contains('Tests')) And $(MSBuildProjectName.StartsWith('Greenshot'))">
|
||||
<PackageReference Include="Nerdbank.GitVersioning" Version="2.3.167">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
|
|
@ -57,9 +57,13 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Greenshot.Addon.ExternalCommand\Greenshot.Addon.ExternalCommand.csproj" />
|
||||
<TrimmerRootAssembly Include="Greenshot.Addon.ExternalCommand" />
|
||||
<ProjectReference Include="..\Greenshot.Addon.InternetExplorer\Greenshot.Addon.InternetExplorer.csproj" />
|
||||
<TrimmerRootAssembly Include="Greenshot.Addon.InternetExplorer" />
|
||||
<ProjectReference Include="..\Greenshot.Addon.LegacyEditor\Greenshot.Addon.LegacyEditor.csproj" />
|
||||
<TrimmerRootAssembly Include="Greenshot.Addon.LegacyEditor" />
|
||||
<ProjectReference Include="..\Greenshot.Addon.Office\Greenshot.Addon.Office.csproj" />
|
||||
<TrimmerRootAssembly Include="Greenshot.Addon.Office" />
|
||||
<ProjectReference Include="..\Greenshot.Core\Greenshot.Core.csproj" />
|
||||
<ProjectReference Include="..\Greenshot.Gfx\Greenshot.Gfx.csproj" />
|
||||
<ProjectReference Include="..\Greenshot.Addons\Greenshot.Addons.csproj" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue