diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c466b66 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +if: branch IN (alpha, beta, master) + +language: csharp +mono: none +dotnet: 3.1 + +script: +- if [[ $TRAVIS_BRANCH = "master" ]] ; then + dotnet pack -c Release /property:Version=0.3.$TRAVIS_BUILD_NUMBER; + dotnet nuget push ./EPPlus.Html/bin/Release/EPPlus.Html.0.3.$TRAVIS_BUILD_NUMBER.nupkg -s https://www.myget.org/F/fitogram/auth/085eb83a-9100-4b7d-8748-fcb7182d5111/api/v3/index.json; + else + dotnet pack -c Release /property:Version=0.3.$TRAVIS_BUILD_NUMBER-$TRAVIS_BRANCH; + dotnet nuget push ./EPPlus.Html/bin/Release/EPPlus.Html.0.3.$TRAVIS_BUILD_NUMBER-$TRAVIS_BRANCH.nupkg -s https://www.myget.org/F/fitogram/auth/085eb83a-9100-4b7d-8748-fcb7182d5111/api/v3/index.json; + fi + +after_success: +- echo "Tadaaaaaa :)" \ No newline at end of file diff --git a/EPPlus.Html.Package/EPPlus.Html.Package.nuproj b/EPPlus.Html.Package/EPPlus.Html.Package.nuproj deleted file mode 100644 index 8d10223..0000000 --- a/EPPlus.Html.Package/EPPlus.Html.Package.nuproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - Debug - AnyCPU - - - Release - AnyCPU - - - - EPPlus.Html - 0.2.0 - EPPlus.Html [Preview] - Till Wolff - Till Wolff - EPPlus.Html [Preview] - [Preview] Hi, I'm here to extend EPPlus with a html export ;) - - - - - - - Copyright © Till Wolff 2018 - EPPlus.Html EPPlus html export convert xlsx to html - - - bin\$(Configuration)\ - 65524bc8-c7cb-402c-b200-bc8456aaab53 - - - - true - PreserveNewest - - - - - 0.1.231 - all - - - - - - - - \ No newline at end of file diff --git a/EPPlus.Html.Package/Readme.txt b/EPPlus.Html.Package/Readme.txt deleted file mode 100644 index c6687e5..0000000 --- a/EPPlus.Html.Package/Readme.txt +++ /dev/null @@ -1,9 +0,0 @@ -# EPPlus.Html.Package Readme - -Building this project will create a .nupkg containing just this Readme file. - -It's always a good idea to provide a more useful package to your users, -alongside a nice descriptive Readme like this one that will open automatically -when they add your package to a project. - -Happy nugetizing! \ No newline at end of file diff --git a/EPPlus.Html.Test/EPPlus.Html.Test.csproj b/EPPlus.Html.Test/EPPlus.Html.Test.csproj index ece974b..b37a205 100644 --- a/EPPlus.Html.Test/EPPlus.Html.Test.csproj +++ b/EPPlus.Html.Test/EPPlus.Html.Test.csproj @@ -1,77 +1,22 @@ - - - + + - Debug - AnyCPU - {DB4C442E-D5FF-4DD2-A809-496D16646D9D} Exe - Properties - EPPlus.Html.Test - EPPlus.Html.Test - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netcoreapp3.1 + - - ..\packages\EPPlus.4.5.2.1\lib\net40\EPPlus.dll - - - - - - - - - - - - - + + - - + + - - - - PreserveNewest + + Always - - - {6a9878f8-48ca-410e-92e8-6941f580d39b} - EPPlus.Html - - - - - \ No newline at end of file + + diff --git a/EPPlus.Html.Test/Program.cs b/EPPlus.Html.Test/Program.cs index 0689068..8f7388a 100644 --- a/EPPlus.Html.Test/Program.cs +++ b/EPPlus.Html.Test/Program.cs @@ -22,14 +22,14 @@ static void Main(string[] args) string html = worksheet.ToHtml(); - Show(html); - } - - static void Show(string html) - { string tmpFile = Path.GetTempFileName() + ".html"; File.WriteAllText(tmpFile, html); - Process.Start(tmpFile); + + Console.Write("Writing file to "); + Console.WriteLine(tmpFile); + Console.WriteLine("Press any key to exit"); + + Console.ReadKey(); } } } diff --git a/EPPlus.Html.Test/Properties/AssemblyInfo.cs b/EPPlus.Html.Test/Properties/AssemblyInfo.cs deleted file mode 100644 index 4a24d88..0000000 --- a/EPPlus.Html.Test/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +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: AssemblyTitle("EPPlus.Html.Test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("EPPlus.Html.Test")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 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("db4c442e-d5ff-4dd2-a809-496d16646d9d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EPPlus.Html.Test/packages.config b/EPPlus.Html.Test/packages.config deleted file mode 100644 index a865798..0000000 --- a/EPPlus.Html.Test/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/EPPlus.Html.sln b/EPPlus.Html.sln index d31d515..850e131 100644 --- a/EPPlus.Html.sln +++ b/EPPlus.Html.sln @@ -1,11 +1,13 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26228.4 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29926.136 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EPPlus.Html", "EPPlus.Html\EPPlus.Html.csproj", "{6A9878F8-48CA-410E-92E8-6941F580D39B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EPPlus.Html", "EPPlus.Html\EPPlus.Html.csproj", "{DD0868EA-82D4-4442-8305-72B141999A6A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EPPlus.Html.Test", "EPPlus.Html.Test\EPPlus.Html.Test.csproj", "{DB4C442E-D5FF-4DD2-A809-496D16646D9D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EPPlus.Html.Test", "EPPlus.Html.Test\EPPlus.Html.Test.csproj", "{51880D22-928D-4F51-ABD6-33D2C4B78635}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B6AC7AF8-42D1-4535-8184-79556AE95F5C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,14 +15,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6A9878F8-48CA-410E-92E8-6941F580D39B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6A9878F8-48CA-410E-92E8-6941F580D39B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6A9878F8-48CA-410E-92E8-6941F580D39B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6A9878F8-48CA-410E-92E8-6941F580D39B}.Release|Any CPU.Build.0 = Release|Any CPU - {DB4C442E-D5FF-4DD2-A809-496D16646D9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DB4C442E-D5FF-4DD2-A809-496D16646D9D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DB4C442E-D5FF-4DD2-A809-496D16646D9D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DB4C442E-D5FF-4DD2-A809-496D16646D9D}.Release|Any CPU.Build.0 = Release|Any CPU + {DD0868EA-82D4-4442-8305-72B141999A6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD0868EA-82D4-4442-8305-72B141999A6A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD0868EA-82D4-4442-8305-72B141999A6A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD0868EA-82D4-4442-8305-72B141999A6A}.Release|Any CPU.Build.0 = Release|Any CPU + {51880D22-928D-4F51-ABD6-33D2C4B78635}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51880D22-928D-4F51-ABD6-33D2C4B78635}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51880D22-928D-4F51-ABD6-33D2C4B78635}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51880D22-928D-4F51-ABD6-33D2C4B78635}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/EPPlus.Html/EPPlus.Html.csproj b/EPPlus.Html/EPPlus.Html.csproj index 818393e..36c7e96 100644 --- a/EPPlus.Html/EPPlus.Html.csproj +++ b/EPPlus.Html/EPPlus.Html.csproj @@ -1,74 +1,24 @@ - - - + + - Debug - AnyCPU - {6A9878F8-48CA-410E-92E8-6941F580D39B} - Library - Properties - EPPlus.Html - EPPlus.Html - v4.5 - 512 - - - + netstandard2.0 + false + EPPlus.Html + 0.3.0 + Till Wolff, Andreas Rudischhauser + This is a wrapper around EPPlus + Fitogram GmbH + https://github.com/fitogram/EPPlus.Html + Updated to .NET Standard 2.0 + Fitogram GmbH - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\EPPlus.4.5.2.1\lib\net40\EPPlus.dll - - - - - - - - - - - - - - + - - - - - - - - - + + - + - - - \ No newline at end of file + + diff --git a/EPPlus.Html/Properties/AssemblyInfo.cs b/EPPlus.Html/Properties/AssemblyInfo.cs deleted file mode 100644 index bac0118..0000000 --- a/EPPlus.Html/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +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: AssemblyTitle("EPPlus.Html")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("EPPlus.Html")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 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("6a9878f8-48ca-410e-92e8-6941f580d39b")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EPPlus.Html/packages.config b/EPPlus.Html/packages.config deleted file mode 100644 index 2f962da..0000000 --- a/EPPlus.Html/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file