|
|
Browse by Tags
All Tags » Visual Studio » Code » .NET 2.0
-
A colleague of mine this week showed me his code coverage as being over 94% for his production code, which impressed me so much, it spurred me on to ensure that all code paths in my code from now on go blue instead of red when testing with Team coverage, using the Test driven .NET addin for visual studio 2008. Not sure what I'm on about, then ...
-
Symptom
Aspnet_compiler.exe fails to produce any content apart from the PreCompiledApp.config and the Bin folder.
Reason
When you save a solution containing a web project (file based), it sets the physical path property Debug.AspNetCompiler.PhysicalPath for the aspnet_compiler. If you then subsequently save your ...
-
In order to pass Enum values around to your WCF service operations, then you must put [ServiceKnownType(typeof(Enum))] attribute on the service interface contract, and also add the [EnumMember] attribute to every enum value within your Enumeration data contract.Service contract looks like this...namespace ...
-
In Visual Studio, you can use the find and replace utitlity in regular expression mode, with the expressions below to turn code such as this... [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue = false, Order = 0)]
public ...
|
|
|