I'm sure that there are a lot of people who have this problem.
Is it possible to get a public release for this.
It is really annoying and I am tired of waiting for someone here to call support at MS.
FIX: "Cannot copy assembly" error message during the build process after you use the Get Latest command to retrieve solution files from Visual SourceSafe
http://www.kbalertz.com/kb_843370.aspx
I've had the link below for a while, and now that I want to use it, I can't make it work. I don't even seem to have access to AppSettings from the nunit-gui.exe.config.
In a [Test] ConfigurationSettings.AppSettings.Count is zero :( and I would like to test some provider type stuff that relies on custom configuration sections.
Any suggestions or good links out there?
NUnit tip for ConfigurationSetings AppSettings:
http://weblogs.asp.net/psperanza/archive/2004/02/24/79596.aspx
I have a longtime habit of naming things like UserID with the i and the d capitalized, but FxCop doesn't seem to like that and keeps recommending Id.
Which do you use and which do you think is correct?
I have this utility class nested in annother class and FxCop gives me a Critical warning.
DoNotDeclareExplicitStaticConstructors.html
I don't really think I have annother way to do it. Everything, including the ProductFields, is static or constant.
public class FieldSets
{
public static readonly string Minimal;
static FieldSets()
{
CatalogSystemBase.FieldSets.Minimal = CreateFieldSet(ProductFields.ProductID,ProductFields.ProductName);
}
protected static string CreateFieldSet(string fieldSet,string fieldName)
{
return CreateFieldSet(new string[]{fieldSet,fieldName});
}
protected static string CreateFieldSet(params string[] fieldNames)
{
return String.Join(",",fieldNames);
}
}
Added links to ctor stuff.
Perf penalty Static Constructor (Brad Abrams)
http://blogs.msdn.com/brada/archive/2004/04/17/115300.aspx
Quiz: Type Constructors (Brad Abrams)
http://blogs.msdn.com/brada/archive/2004/08/15/214948.aspx