This is not the prettiest solution - but is the only way I could easily get it all working - so I could click the Run button from VS to startup NUnit and run my tests project. As a primer, read James Newkirks article on this (he explains the config files a bit more than I do). Firstly to get NUnit to work with .NET 2.0 assemblies you need to have this in your nunit config file (nunit-gui.exe.config): <startup> <supportedRuntime version="v2.0.50727" /> <requiredRuntime version="v2.0.50727" ......
This really very simple, once you know how.... To get the version of the currently running assembly: System.Reflection.Assembly assembly = System.Reflection.Assembly.... assemblyName = assembly.GetName();Version assemblyVersion = assemblyName.Version; To get the version of the CLR runtime: Version CLRVersion = Environment.Version; ......
When you reference System.Web.HttpContext.Curr... within a class (that is not a page or control) and the method has the [AjaxPro.AjaxMethod] attribute it terminates the current execution and returns to the client. To solve this you simply need to provide the HttpSessionStateRequrement argument to the AjaxMethod attribute - setting it to the appropriate enumeration (None, Read or ReadWrite) eg: [AjaxPro.AjaxMethod(AjaxPro... string MyAjaxMethod(){...} ......
Open your image. Select the area you want to make transparent. Select the appropriate selection tool from the Tool window or the Tools - Selection Tools menu on the Layer window. I usually use the magic wand/fuzzy select (Select contiguous region) tool or the Select regions by color tool. Click in the region you want selected. Use shift-click to add more regions/colors. Tip: It's easier if you zoom in (View - Zoom menu) to see finer details of exactly what you're selecting. In the Layer window (the ......
The proxy settings on this computer are not configured correctly for web discovery. Click the Help button for more information. This error occurs (in VS.NET 2003) when trying to browse for web services (add a web reference) if you are behind a proxy &/or firewall. The solution for this is posted on the MS site: http://msdn.microsoft.com/l... ......
This error occurred when trying to run code that accessed the System.DirectoryServices namespace. To work around this, just open up your .NET 2.0 security: Start the .NET Framework 2.0 Configuration tool (from Administrative Tools). Expand Runtime Security Policy. Expand User - Code Groups and right-click on All_Code and select Properties. On the Membership Condition tab make sure All Code is selected in the dropdownlist. On the Permission Set tab make sure FullTrust is selected in the dropdownlist. ......