diff options
-rw-r--r-- | ExcelAddIn.csproj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ExcelAddIn.csproj b/ExcelAddIn.csproj index 2b83a49..9b32c42 100644 --- a/ExcelAddIn.csproj +++ b/ExcelAddIn.csproj @@ -1,10 +1,11 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFramework>net6.0-windows</TargetFramework> + <TargetFrameworks>net472;net6.0-windows</TargetFrameworks> <ImplicitUsings>enable</ImplicitUsings> <UseWindowsForms>true</UseWindowsForms> <Nullable>disable</Nullable> + <LangVersion>10.0</LangVersion> </PropertyGroup> <ItemGroup> @@ -12,6 +13,7 @@ <PackageReference Include="ExcelDna.Interop" Version="15.0.1" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" /> + <PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" /> </ItemGroup> <Target Name="PackedReferences" AfterTargets="AfterBuild" BeforeTargets="ExcelDnaBuild"> |