Category: Uncategorized

Release Management: The specified path, file name, or both are too long

While working with Release Management a new deployment suddenly gave an error: ERROR: The deployment for release template ‘XXXX’ has not been completed successfully. Check the releases history for more details. Exit: 1 The release history didn’t gave much information but the Event Viewer showed the following: The specified path, file name, or both are too long. The fully qualified...

TechQuiz Question 3: Nullable boxing

Why does Foo<int?> throw an exception? 1: static void Foo<T>() where T : new() 2: { 3: T t = new T(); 4: Console.WriteLine(“ToString: ” + t.ToString()); 5: Console.WriteLine(“GetHashCode: ” + t.GetHashCode()); 6: Console.WriteLine(“Equals: ” + t.Equals(t)); 7: Console.WriteLine(“GetType: ” + t.GetType()); 8: } 9:   10: public void Main() 11: { 12: Foo<int>(); 13: Foo<int?>(); // Exception thrown 14:...