Browse Source

update samples.

master
Savorboard 6 years ago
parent
commit
11c04feb71
  1. 8
      samples/Npoi.Samples.CreateNewSpreadsheet/Npoi.Samples.CreateNewSpreadsheet.csproj
  2. 6
      samples/Npoi.Samples.CreateNewSpreadsheet/Program.cs
  3. 19
      samples/Npoi.Samples.CreateNewSpreadsheet/Properties/AssemblyInfo.cs

8
samples/Npoi.Samples.CreateNewSpreadsheet/Npoi.Samples.CreateNewSpreadsheet.csproj

@ -1,15 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<AssemblyName>Npoi.Samples.CreateNewSpreadsheet</AssemblyName>
<OutputType>Exe</OutputType>
<PackageId>Npoi.Samples.CreateNewSpreadsheet</PackageId>
<RuntimeFrameworkVersion>2.0.0</RuntimeFrameworkVersion>
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
</PropertyGroup>
<ItemGroup>

6
samples/Npoi.Samples.CreateNewSpreadsheet/Program.cs

@ -13,12 +13,10 @@ namespace Npoi.Samples.CreateNewSpreadsheet
public class Program
{
public static void Main(string[] args) {
//ExportExcel();
ExportExcel();
//ExportExcelHSSF();
//ExportWord();
ExportWord();
//ImportExcelHSSF();
Issue32.Run();
Console.Read();
}
private static void ImportExcelHSSF() {

19
samples/Npoi.Samples.CreateNewSpreadsheet/Properties/AssemblyInfo.cs

@ -1,19 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Npoi.Samples.CreateNewSpreadsheet")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("e26bbd8a-3a38-4f82-91a4-7f81ecfb8196")]
Loading…
Cancel
Save