diff --git a/QuikPak.sln b/QuikPak.sln index 102fdde..3594c6c 100644 --- a/QuikPak.sln +++ b/QuikPak.sln @@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig build.cmd = build.cmd config.json = config.json + QuikPak\choco\quikpak.nuspec = QuikPak\choco\quikpak.nuspec Readme.md = Readme.md EndProjectSection EndProject diff --git a/QuikPak/Config.cs b/QuikPak/Config.cs index 965d295..d079020 100644 --- a/QuikPak/Config.cs +++ b/QuikPak/Config.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace QuikPak { diff --git a/QuikPak/Options.cs b/QuikPak/Options.cs index 02196d9..93aeadc 100644 --- a/QuikPak/Options.cs +++ b/QuikPak/Options.cs @@ -1,10 +1,6 @@ using CommandLine; using CommandLine.Text; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace QuikPak { diff --git a/QuikPak/Program.cs b/QuikPak/Program.cs index 2440bed..1e0aaf4 100644 --- a/QuikPak/Program.cs +++ b/QuikPak/Program.cs @@ -2,9 +2,6 @@ using Newtonsoft.Json; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using WixSharp; namespace QuikPak @@ -49,6 +46,7 @@ namespace QuikPak Dirs = new[] { new Dir(new Id("IISMain"), config.Name + "_" +config.Version.ToString() +"_Web", + new Files(System.IO.Path.Combine(options.Path, "**")), new File(options.Config, new IISVirtualDir @@ -58,10 +56,10 @@ namespace QuikPak { InstallWebSite = false, Description = config.Name, - Addresses = addresses.ToArray(), + Addresses = addresses.ToArray() }, WebAppPool = new WebAppPool(config.Name) { - Attributes = new Dictionary() { + Attributes = new Dictionary() { ["Identity"] = config.Identity, ["RecycleMinutes"] = config.RecycleMinutes.ToString(), ["IdleTimeout"] = config.IdleTimeout.ToString(), diff --git a/QuikPak/Properties/AssemblyInfo.cs b/QuikPak/Properties/AssemblyInfo.cs index 5575d7c..1e44a78 100644 --- a/QuikPak/Properties/AssemblyInfo.cs +++ b/QuikPak/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following