From 1f9064d0d5ae5ed89800cc3603af3a47be646817 Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期一, 29 三月 2021 09:46:20 +0800 Subject: [PATCH] 文件上传改用npoi helper 类 --- src/BLL/Demo.Utility/Demo.Utility.csproj | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/BLL/Demo.Utility/Demo.Utility.csproj b/src/BLL/Demo.Utility/Demo.Utility.csproj index 421a65f..28898fb 100644 --- a/src/BLL/Demo.Utility/Demo.Utility.csproj +++ b/src/BLL/Demo.Utility/Demo.Utility.csproj @@ -22,6 +22,7 @@ <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <PlatformTarget>AnyCPU</PlatformTarget> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -51,16 +52,20 @@ <HintPath>..\..\..\packages\ZD.Newtonsoft.Json.1.0.0\lib\Newtonsoft.Json.dll</HintPath> </Reference> <Reference Include="NPOI, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\NPOI.2.5.1\lib\net45\NPOI.dll</HintPath> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\鍔炲叕\K3Cloud\WebSite\bin\NPOI.dll</HintPath> </Reference> <Reference Include="NPOI.OOXML, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\NPOI.2.5.1\lib\net45\NPOI.OOXML.dll</HintPath> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\鍔炲叕\K3Cloud\WebSite\bin\NPOI.OOXML.dll</HintPath> </Reference> <Reference Include="NPOI.OpenXml4Net, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\NPOI.2.5.1\lib\net45\NPOI.OpenXml4Net.dll</HintPath> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\鍔炲叕\K3Cloud\WebSite\bin\NPOI.OpenXml4Net.dll</HintPath> </Reference> <Reference Include="NPOI.OpenXmlFormats, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\NPOI.2.5.1\lib\net45\NPOI.OpenXmlFormats.dll</HintPath> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\鍔炲叕\K3Cloud\WebSite\bin\NPOI.OpenXmlFormats.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Configuration" /> @@ -82,6 +87,7 @@ </Reference> </ItemGroup> <ItemGroup> + <Compile Include="NpoiHelper.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> -- Gitblit v1.9.1