diff --git a/CSharpMinifier.GUI/App.config b/CSharpMinifier.GUI/App.config
index f8ac8ea..de68365 100644
--- a/CSharpMinifier.GUI/App.config
+++ b/CSharpMinifier.GUI/App.config
@@ -1,12 +1,12 @@
-
+
-
+
-
+
@@ -72,4 +72,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CSharpMinifier.GUI/CSharpMinifier.GUI.csproj b/CSharpMinifier.GUI/CSharpMinifier.GUI.csproj
index ec4383a..3172442 100644
--- a/CSharpMinifier.GUI/CSharpMinifier.GUI.csproj
+++ b/CSharpMinifier.GUI/CSharpMinifier.GUI.csproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -9,7 +9,7 @@
Properties
CSharpMinifier.GUI
CSharpMinifier.GUI
- v4.5
+ v4.6
512
diff --git a/CSharpMinifier.GUI/Properties/Resources.Designer.cs b/CSharpMinifier.GUI/Properties/Resources.Designer.cs
index f33943e..a3d61f5 100644
--- a/CSharpMinifier.GUI/Properties/Resources.Designer.cs
+++ b/CSharpMinifier.GUI/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34209
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -19,7 +19,7 @@ namespace CSharpMinifier.GUI.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
diff --git a/CSharpMinifier.GUI/Properties/Settings.Designer.cs b/CSharpMinifier.GUI/Properties/Settings.Designer.cs
index d83e7f8..d4972a9 100644
--- a/CSharpMinifier.GUI/Properties/Settings.Designer.cs
+++ b/CSharpMinifier.GUI/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace CSharpMinifier.GUI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/CSharpMinifier.GUI/frmMain.cs b/CSharpMinifier.GUI/frmMain.cs
index a15b4e9..0c84aca 100644
--- a/CSharpMinifier.GUI/frmMain.cs
+++ b/CSharpMinifier.GUI/frmMain.cs
@@ -125,7 +125,7 @@ private void btnMinify_Click(object sender, EventArgs e)
EnumToIntConversion = cbEnumToIntConversion.Checked,
Unsafe = cbUnsafe.Checked
};
- Minifier minifier = new Minifier(minifierOptions);
+ IMinifier minifier = new RoslynMinifier(minifierOptions);
tbOutput.Text = !cbMinifyFiles.Checked ? minifier.MinifyFromString(tbInput.Text) : minifier.MinifyFiles(Sources.Select(source => source.Value).ToArray());
tbInputLength.Text = tbInput.Text.Length.ToString();
diff --git a/CSharpMinifier.Tests/CSharpMinifier.Tests.csproj b/CSharpMinifier.Tests/CSharpMinifier.Tests.csproj
index 58e2244..5732e46 100644
--- a/CSharpMinifier.Tests/CSharpMinifier.Tests.csproj
+++ b/CSharpMinifier.Tests/CSharpMinifier.Tests.csproj
@@ -1,5 +1,6 @@
-
+
+
Debug
@@ -9,10 +10,12 @@
Properties
CSharpMinifier.Tests
CSharpMinifier.Tests
- v4.5
+ v4.6
512
+
+
true
@@ -34,14 +37,85 @@
false
-
- ..\packages\NUnit.2.6.3\lib\nunit.framework.dll
+
+ ..\packages\Microsoft.CodeAnalysis.Common.2.7.0\lib\netstandard1.3\Microsoft.CodeAnalysis.dll
+
+
+ ..\packages\Microsoft.CodeAnalysis.CSharp.2.7.0\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll
+
+
+ ..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll
+
+ ..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll
+
+
+ ..\packages\System.Collections.Immutable.1.3.1\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll
+ True
+
+
+
+ ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll
+
+
+ ..\packages\System.Diagnostics.FileVersionInfo.4.3.0\lib\net46\System.Diagnostics.FileVersionInfo.dll
+
+
+ ..\packages\System.Diagnostics.StackTrace.4.3.0\lib\net46\System.Diagnostics.StackTrace.dll
+
+
+ ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
+ True
+
+
+ ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
+
+
+ ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
+
+
+
+ ..\packages\System.Reflection.Metadata.1.4.2\lib\portable-net45+win8\System.Reflection.Metadata.dll
+
+
+ ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll
+
+
+ ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
+
+
+ ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
+
+
+ ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net46\System.Security.Cryptography.X509Certificates.dll
+
+
+ ..\packages\System.Text.Encoding.CodePages.4.3.0\lib\net46\System.Text.Encoding.CodePages.dll
+
+
+ ..\packages\System.Threading.Thread.4.3.0\lib\net46\System.Threading.Thread.dll
+
+
+ ..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll
+
+
+
+
+ ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll
+
+
+ ..\packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll
+
+
+ ..\packages\System.Xml.XPath.4.3.0\lib\net46\System.Xml.XPath.dll
+
+
+ ..\packages\System.Xml.XPath.XDocument.4.3.0\lib\net46\System.Xml.XPath.XDocument.dll
+
-
@@ -53,6 +127,7 @@
+
@@ -65,6 +140,12 @@
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+