[Cleanup] Removed TARGET_JVM
[mono.git] / mcs / class / System.Web.Extensions / Assembly / AssemblyInfo.cs
index 5625ab0dadc74406e624e76cb405b657fe782944..905c63c4e7f5a1f5ab6e510a6b4f86bf18a75c85 100644 (file)
@@ -32,29 +32,67 @@ using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using System.Resources;
 using System;
+using System.Diagnostics;
 using System.Web.UI;
 using System.Security;
+using System.Security.Permissions;
 
 // General Information about the System.Web.Extensions assembly
-
-[assembly: AssemblyVersion ("1.0.61025.0")]
+// v3.5 Assembly
 
 [assembly: AssemblyTitle ("System.Web.Extensions.dll")]
 [assembly: AssemblyDescription ("System.Web.Extensions.dll")]
-[assembly: AssemblyConfiguration ("Development version")]
-[assembly: AssemblyCompany ("MONO development team")]
-[assembly: AssemblyProduct ("MONO CLI")]
-[assembly: AssemblyCopyright ("(c) 2007 Various Authors")]
-[assembly: AssemblyTrademark ("")]
-#if TARGET_JVM
-[assembly: CLSCompliant(false)]
+[assembly: AssemblyDefaultAlias ("System.Web.Extensions.dll")]
+
+[assembly: AssemblyCompany (Consts.MonoCompany)]
+[assembly: AssemblyProduct (Consts.MonoProduct)]
+[assembly: AssemblyCopyright (Consts.MonoCopyright)]
+#if NET_3_5
+       [assembly: AssemblyVersion (Consts.FxVersion)]
+       [assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
 #else
-[assembly: CLSCompliant (true)]
+       [assembly: AssemblyVersion ("1.0.61025.0")]
+       [assembly: AssemblyInformationalVersion ("1.0.61025.0")]
 #endif
-[assembly: ComVisible (false)]
-[assembly: AssemblyDefaultAlias ("System.Web.Extensions.dll")]
-[assembly: AssemblyInformationalVersion ("0.0.0.1")]
+[assembly: SatelliteContractVersion (Consts.FxVersion)]
+[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
+
 [assembly: NeutralResourcesLanguage ("en-US")]
 
-[assembly: AllowPartiallyTrustedCallers ()]
+#if !(TARGET_DOTNET)
+       [assembly: CLSCompliant (true)]
+       [assembly: AssemblyDelaySign (true)]
+       [assembly: AssemblyKeyFile ("../winfx.pub")]
+
+#endif
+
+[assembly: ComVisible (false)]
+[assembly: AllowPartiallyTrustedCallers]
+
 [assembly: TagPrefix ("System.Web.UI", "asp")]
+[assembly: TagPrefix ("System.Web.UI.WebControls", "asp")]
+[assembly: Dependency ("System,", LoadHint.Always)]
+
+[assembly: WebResource ("MicrosoftAjax.js", "application/x-javascript")]
+[assembly: WebResource ("MicrosoftAjax.debug.js", "application/x-javascript")]
+[assembly: WebResource ("MicrosoftAjaxWebForms.js", "application/x-javascript")]
+[assembly: WebResource ("MicrosoftAjaxWebForms.debug.js", "application/x-javascript")]
+[assembly: WebResource ("MicrosoftAjaxTimer.js", "application/x-javascript")]
+[assembly: WebResource ("MicrosoftAjaxTimer.debug.js", "application/x-javascript")]
+#if TARGET_J2EE
+       [assembly: WebResource ("MicrosoftAjaxExtension.js", "application/x-javascript")]
+       [assembly: WebResource ("MicrosoftAjaxWebFormsExtension.js", "application/x-javascript")]
+#endif
+
+// Those entries must not be enabled until the appropriate .resx files with translations for the client scripts are
+// created.
+// The default (English) strings are embedded in the scripts - maybe we should extract them on the build time and create
+// the .resx files on the fly.
+//
+// DO NOT ENABLE UNTIL THE .resx FILES ARE PRESENT - ENABLING CAUSES BUG #384144
+#if DO_NOT_ENABLE_UNLESS_RESX_FILES_ARE_PRESENT
+[assembly: ScriptResource ("MicrosoftAjax.js", "System.Web.Resources.ScriptLibrary.Res", "Sys.Res")]
+[assembly: ScriptResource ("MicrosoftAjax.debug.js", "System.Web.Resources.ScriptLibrary.Res.debug", "Sys.Res")]
+[assembly: ScriptResource ("MicrosoftAjaxWebForms.js", "System.Web.Resources.ScriptLibrary.WebForms.Res", "Sys.WebForms.Res")]
+[assembly: ScriptResource ("MicrosoftAjaxWebForms.debug.js", "System.Web.Resources.ScriptLibrary.WebForms.Res.debug", "Sys.WebForms.Res")]
+#endif