mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
This change uses Microsoft.mshtml also for the net471 build via an unofficial nuget package, solving the issue that on Azure DevOps this file is not at the same location.
This commit is contained in:
parent
e3a3c0a9c3
commit
3431138e2e
1 changed files with 3 additions and 7 deletions
|
@ -12,15 +12,8 @@
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
|
||||||
<PackageReference Include="Unofficial.Microsoft.mshtml" Version="7.0.3300" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Microsoft.VisualBasic" />
|
<Reference Include="Microsoft.VisualBasic" />
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
|
@ -54,6 +47,9 @@
|
||||||
<PackageReference Include="Microsoft.Office.Interop.PowerPoint" Version="15.0.4420.1017" />
|
<PackageReference Include="Microsoft.Office.Interop.PowerPoint" Version="15.0.4420.1017" />
|
||||||
<PackageReference Include="Microsoft.Office.Interop.Word" Version="15.0.4797.1003" />
|
<PackageReference Include="Microsoft.Office.Interop.Word" Version="15.0.4797.1003" />
|
||||||
<PackageReference Include="MicrosoftOfficeCore" Version="15.0.0" />
|
<PackageReference Include="MicrosoftOfficeCore" Version="15.0.0" />
|
||||||
|
<PackageReference Include="Unofficial.Microsoft.mshtml" Version="7.0.3300">
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="Fody" Version="3.3.3">
|
<PackageReference Include="Fody" Version="3.3.3">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue