Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
* Both Fop2DD and Fop2ClientLib should now work with the .Net client …
Browse files Browse the repository at this point in the history
…profile
  • Loading branch information
RobThree committed Mar 8, 2013
1 parent 2e2696c commit 15decb6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 17 deletions.
3 changes: 1 addition & 2 deletions Fop2ClientLib/Fop2ClientLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
Expand Down
3 changes: 1 addition & 2 deletions Fop2DD/Core/Common/ShellExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public static string ReplacePlaceholder(string value, IEnumerable<KeyValuePair<s
/// <returns>Returns the value with all placeholders (if any) replaced with the replacement.</returns>
public static string ReplacePlaceholder(string value, string placeholder, string replacement, bool useurlencoding)
{

return new Regex(Regex.Escape(placeholder), RegexOptions.CultureInvariant | RegexOptions.IgnoreCase).Replace(value, useurlencoding ? HttpUtility.UrlEncode(replacement) : replacement);
return new Regex(Regex.Escape(placeholder), RegexOptions.CultureInvariant | RegexOptions.IgnoreCase).Replace(value, useurlencoding ? Uri.EscapeDataString(replacement) : replacement);
}
}
}
3 changes: 1 addition & 2 deletions Fop2DD/Fop2DD.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile />
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
Expand Down Expand Up @@ -49,7 +49,6 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Remoting" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
Expand Down
4 changes: 2 additions & 2 deletions Fop2DD/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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("0.3.0.0")]
[assembly: AssemblyFileVersion("0.3.0.0")]
[assembly: AssemblyVersion("0.3.1.0")]
[assembly: AssemblyFileVersion("0.3.1.0")]
12 changes: 6 additions & 6 deletions Fop2DD/app.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Fop2DD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Fop2DD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<userSettings>
Expand Down Expand Up @@ -41,10 +41,10 @@
<value>https://www.google.com/search?q=%PHONENUMBER%</value>
</setting>
<setting name="DialCmd_Args" serializeAs="String">
<value />
<value/>
</setting>
<setting name="DialCmd_WorkDir" serializeAs="String">
<value />
<value/>
</setting>
<setting name="DialCmd_MinLength" serializeAs="String">
<value>6</value>
Expand All @@ -54,4 +54,4 @@
</setting>
</Fop2DD.Properties.Settings>
</userSettings>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup></configuration>
6 changes: 3 additions & 3 deletions Fop2DD/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
[Setup]
AppPublisher=KeenSystems
AppPublisherURL=http://www.keensystems.eu
AppVersion=0.3.0.0
AppVersion=0.3.1.0
AppName=Fop2DD
AppVerName=Fop2DD 0.3.0
AppVerName=Fop2DD 0.3.1
AppCopyright=Copyright (C) 2013 KeenSystems
VersionInfoVersion=0.3.0.0
VersionInfoVersion=0.3.1.0
DefaultDirName={pf}\KeenSystems\Fop2DD
DefaultGroupName=KeenSystems\Fop2DD
UninstallDisplayIcon={app}\Fop2DD.exe
Expand Down

0 comments on commit 15decb6

Please sign in to comment.