Skip to content

Commit

Permalink
v4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadelsucht committed Oct 6, 2020
1 parent 85c5df4 commit 3e1c16a
Show file tree
Hide file tree
Showing 11 changed files with 147 additions and 183 deletions.
8 changes: 4 additions & 4 deletions BulkPDF/App.config
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>

<supportedRuntime version="v2.0.50727" /></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>

</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0" />
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
4 changes: 2 additions & 2 deletions BulkPDF/BulkPDF.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BulkPDF</RootNamespace>
<AssemblyName>BulkPDF</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<IsWebBootstrapper>false</IsWebBootstrapper>
Expand Down
10 changes: 0 additions & 10 deletions BulkPDF/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

174 changes: 72 additions & 102 deletions BulkPDF/MainForm.resx

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions BulkPDF/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions BulkPDF/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions BulkPDF/ShortcutCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ private void bSelectConfiguration_Click(object sender, EventArgs e)

private void bCreateShortcut_Click(object sender, EventArgs e)
{
if (!String.IsNullOrEmpty(configurationFilePath))
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
saveFileDialog.Filter = "Shortcut|*.lnk";
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
WshShell wshShell = new WshShell();
IWshShortcut shortcut = (IWshShortcut)wshShell.CreateShortcut(saveFileDialog.FileName + ".lnk");
shortcut.Arguments = "\"" + configurationFilePath + "\" wait";
shortcut.WorkingDirectory = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
shortcut.TargetPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\" + "BulkPDFConsole.exe"; ;
shortcut.Save();
//if (!String.IsNullOrEmpty(configurationFilePath))
//{
// SaveFileDialog saveFileDialog = new SaveFileDialog();
// saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
// saveFileDialog.Filter = "Shortcut|*.lnk";
// if (saveFileDialog.ShowDialog() == DialogResult.OK)
// {
// WshShell wshShell = new WshShell();
// IWshShortcut shortcut = (IWshShortcut)wshShell.CreateShortcut(saveFileDialog.FileName + ".lnk");
// shortcut.Arguments = "\"" + configurationFilePath + "\" wait";
// shortcut.WorkingDirectory = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
// shortcut.TargetPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + @"\" + "BulkPDFConsole.exe"; ;
// shortcut.Save();

MessageBox.Show(Properties.Resources.MessageFinished);
}
}
else
{
MessageBox.Show(Properties.Resources.MessageSelectConfiguration);
}
// MessageBox.Show(Properties.Resources.MessageFinished);
// }
//}
//else
//{
// MessageBox.Show(Properties.Resources.MessageSelectConfiguration);
//}
}
}
}
8 changes: 4 additions & 4 deletions BulkPDFConsole/App.config
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>

<supportedRuntime version="v2.0.50727" /></startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0" />
<assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
4 changes: 3 additions & 1 deletion BulkPDFConsole/BulkPDFConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BulkPDFConsole</RootNamespace>
<AssemblyName>BulkPDFConsole</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand All @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -31,6 +32,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Logo.ico</ApplicationIcon>
Expand Down
Loading

0 comments on commit 3e1c16a

Please sign in to comment.