From 609cd614f82cad73b160d757256d5a2043bc4983 Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Thu, 10 Oct 2024 09:43:32 +0200 Subject: [PATCH] changed to have original assembly being compiled against .NET 3.5 added new assembly for .NET 4.8 #19 --- AjaxPro/AjaxPro.csproj | 4 +- AjaxPro/AjaxPro.net2.csproj | 316 ++++++++++++++++++++++++++++++++++++ AjaxPro/AjaxPro.sln | 9 +- AjaxPro/AssemblyInfo.cs | 44 ++--- 4 files changed, 347 insertions(+), 26 deletions(-) create mode 100644 AjaxPro/AjaxPro.net2.csproj diff --git a/AjaxPro/AjaxPro.csproj b/AjaxPro/AjaxPro.csproj index ccfc53f..9b0f2ae 100644 --- a/AjaxPro/AjaxPro.csproj +++ b/AjaxPro/AjaxPro.csproj @@ -11,7 +11,7 @@ - AjaxPro.2 + AjaxPro.2.net48 JScript @@ -69,7 +69,7 @@ false - TRACE;NET20 + TRACE;NET20 NET48 false diff --git a/AjaxPro/AjaxPro.net2.csproj b/AjaxPro/AjaxPro.net2.csproj new file mode 100644 index 0000000..ffa0ad3 --- /dev/null +++ b/AjaxPro/AjaxPro.net2.csproj @@ -0,0 +1,316 @@ + + + + Local + 9.0.30729 + 2.0 + {0B9D4A5A-F2B1-493B-878C-D03BF3325401} + Debug + AnyCPU + + + + + AjaxPro.2 + + + JScript + Grid + IE50 + false + Library + AjaxPro + OnBuildSuccess + + + + + + + SAK + SAK + SAK + SAK + false + 3.5 + v3.5 + + + + bin\Debug\ + false + 285212672 + false + + + TRACE;DEBUG;NET20 + + + true + 4096 + false + + + false + false + false + false + 4 + full + prompt + false + AllRules.ruleset + false + + + bin\Release\ + false + 285212672 + false + + + TRACE;NET20 + + + false + 4096 + false + + + true + false + false + false + 4 + none + prompt + AllRules.ruleset + false + + + bin\ReleaseNET48\ + TRACE;NET20 + 285212672 + true + 4096 + AnyCPU + 7.3 + prompt + AllRules.ruleset + false + + + true + + + + System + + + + System.Data + + + + + System.Web + + + System.XML + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + + + + + Code + + + + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + Code + + + + + + + + + + + Code + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + + + + Code + + + Code + + + + Code + + + Code + + + Code + + + + ASPXCodeBehind + + + + + + + + + + + + + + core.js + + + ms.js + + + prototype.js + + + + + + + + + + \ No newline at end of file diff --git a/AjaxPro/AjaxPro.sln b/AjaxPro/AjaxPro.sln index 32eda1c..b72149b 100644 --- a/AjaxPro/AjaxPro.sln +++ b/AjaxPro/AjaxPro.sln @@ -13,19 +13,22 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ..\SECURITY.md = ..\SECURITY.md EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AjaxPro.net2", "AjaxPro.net2.csproj", "{0B9D4A5A-F2B1-493B-878C-D03BF3325401}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU - ReleaseNET48|Any CPU = ReleaseNET48|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.Debug|Any CPU.Build.0 = Debug|Any CPU {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.Release|Any CPU.ActiveCfg = Release|Any CPU {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.Release|Any CPU.Build.0 = Release|Any CPU - {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.ReleaseNET48|Any CPU.ActiveCfg = ReleaseNET48|Any CPU - {9AD42568-07A4-4D8B-9C6D-1FD54683EF4B}.ReleaseNET48|Any CPU.Build.0 = ReleaseNET48|Any CPU + {0B9D4A5A-F2B1-493B-878C-D03BF3325401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0B9D4A5A-F2B1-493B-878C-D03BF3325401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0B9D4A5A-F2B1-493B-878C-D03BF3325401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0B9D4A5A-F2B1-493B-878C-D03BF3325401}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/AjaxPro/AssemblyInfo.cs b/AjaxPro/AssemblyInfo.cs index ffd4654..914d181 100644 --- a/AjaxPro/AssemblyInfo.cs +++ b/AjaxPro/AssemblyInfo.cs @@ -23,7 +23,7 @@ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* Developers of Ajax.NET Professional (AjaxPro) +/* Contributors of Ajax.NET Professional (AjaxPro) * MS Michael Schwarz * TB Tim Byng * MR Matthew Raymer @@ -41,39 +41,41 @@ * MS 21-11-22 changed default behavior of passing types during deserialization to deny * MS 21-11-29 added check for custom type deserialization * MS 21-11-30 changed error message for unsupported deserialization types in debug mode + * MS 24-10-10 changed to have different titles for each binary * */ -using System; -using System.Security.Permissions; using System.Reflection; -using System.Runtime.CompilerServices; // // 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. // -#if(JSONLIB) - #if(NET20) - [assembly: AssemblyTitle("Ajax.NET Professional JSON library for Microsoft.NET 2.0")] - #else - [assembly: AssemblyTitle("Ajax.NET Professional JSON library for Microsoft.NET 1.1")] - #endif +#if (JSONLIB) +#if (NET48) + [assembly: AssemblyTitle("Ajax.NET Professional JSON library for Microsoft .NET Framework 4.8")] +#elif (NET20) + [assembly: AssemblyTitle("Ajax.NET Professional JSON library for Microsoft .NET Framework 3.5")] #else - #if(NET20) - [assembly: AssemblyTitle("Ajax.NET Professional for Microsoft.NET 2.0")] - #else - [assembly: AssemblyTitle("Ajax.NET Professional for Microsoft.NET 1.1")] - #endif + [assembly: AssemblyTitle("Ajax.NET Professional JSON library for Microsoft .NET Framework 1.1")] +#endif +#else +#if (NET48) + [assembly: AssemblyTitle("Ajax.NET Professional for Microsoft .NET Framework 4.8")] +#elif (NET20) + [assembly: AssemblyTitle("Ajax.NET Professional for Microsoft .NET Framework 3.5")] +#else + [assembly: AssemblyTitle("Ajax.NET Professional for Microsoft .NET Framework 1.1")] +#endif #endif [assembly: AssemblyDescription(".NET Library that provides AJAX related methods to simplify the communication between server and client.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Michael Schwarz")] [assembly: AssemblyProduct("Ajax.NET Professional")] -[assembly: AssemblyCopyright("2023, Michael Schwarz")] +[assembly: AssemblyCopyright("2024, Michael Schwarz")] [assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] +[assembly: AssemblyCulture("")] [assembly: System.Security.AllowPartiallyTrustedCallersAttribute()] [assembly: System.Runtime.InteropServices.ComVisible(false)] [assembly: System.CLSCompliant(true)] @@ -122,10 +124,10 @@ [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyName("")] -#if(STRONGNAME) - #if(NET20) +#if (STRONGNAME) +#if (NET20) [assembly: AssemblyKeyFile("michael.schwarz.snk")] - #else +#else [assembly: AssemblyKeyFile("michael.schwarz.snk")] - #endif +#endif #endif