Display: Cloud | List
Most Popular Tags
Results (194 total) All > cpubfix (x)
property possible values for MSBuild arguments (MSBuild Command Line Reference)
Is there a list of all /p (parameters) and their possible values publishd somewhere for the MSBuild arguments?Thanks
Last modified by eliassal on 11/30/2011 1:34:46 PM
Tags:  contentbug  cpubfix
The script in Remarks section contains error (MSBuild Command Line Reference)
"msbuild myproject.csproj /noconsolelogger /l:ConsoleLogger,Microsoft.Build.Engine.dll;performancesummary" should be "msbuild myproject.csproj /noconsolelogger /l:ConsoleLogger,Microsoft.Build.Engine;performancesummary"
Last modified by Sergei Dorogin on 2/17/2011 12:22:23 PM
Tags:  contentbug  cpubfix
Conflicting documentation (Target Build Order)
The documentation here regarding the behaviour of InitialTargets is contradicted in http://msdn.microsoft.com/en-us/library/ms171463.aspx which states: $0$0 $0 $0"The InitialTargets attribute of the Project element specifies a target that will run first, even if targets are specified on the command line or in the DefaultTargets attribute." $0 $0$0 $0 $0This document states that InitialTarget
Last modified by Peter McEvoy on 4/28/2011 12:11:43 PM
Tags:  contentbug  cpubfix
Whoops (DateAndTime.DateDiff Method (DateInterval, DateTime, DateTime, FirstDayOfWeek, FirstWeekOfYear) (Microsoft.VisualBasic))
In the Example Here:Dim startTime As Date = Now' Run the process that is to be timed.Dim runLength As Global.System.TimeSpan = Now.Subtract(startTime)Dim millisecs As Integer = runLength.MillisecondsThe Last Line should be:Dim millisecs As Integer = runLength.TotalMilliseconds
Last modified by Jason at PTE on 3/16/2012 8:43:59 PM
Tags:  contentbug  cpubfix
documentation of fourth argument is wrong (Decimal Constructor (Int32, Int32, Int32, Boolean, Byte) (System))
The fourth argument to this constructor is listed as boolean, of which the valid arguments are 0 or 1. This is incorrect. For a boolean you need to specify true or false; it only becomes 0 or 1 when translated to CIL. True maps to 1 and false maps to 0. If you try to put a 0 or 1 here in C# you will get compiler error CS1503.The isNegative ParameterYou're correct, and the documentation is in error
Last modified by R Petrusha - MSFT on 9/24/2012 4:17:41 PM
Tags:  cpubfix
The pound sign (Custom Numeric Format Strings)
In the description column of Digit placeholder: "the pound sign" ??? # != £[tfl] as an American living in the UK, this is a source of come confusion. The '#" symbol used to be US for weight in pounds (i.e. 3# nails == 3 pounds in weight of nails). Meanwhile in the UK, the £ symbol is pounds sterling and is a measure of money. MSDN uses the US version of the 'pound symbol'.
Last modified by Thomas Lee on 8/7/2012 5:41:21 PM
Tags:  cpubfix
Bug in Example? (Best Practices for Using Strings in the .NET Framework)
public static bool IsFileURI(string path) {      path.StartsWith("FILE:", StringComparison.OrdinalIgnoreCase);    return true; }This should be 'return path.StartsWith("FILE:", StringComparison.OrdinalIgnoreCase);', unless I'm missing something here.An ErrorYes, it should be 'return path.StartsWith("FILE:", StringComparison.OrdinalIgnoreCase);', Andreas. Thanks for noticing the error and reporting
Last modified by R Petrusha - MSFT on 7/11/2012 10:36:07 PM
Tags:  cpubfix
MessageBox rather than MsgBox (Visual Basic Coding Conventions)
It is my understanding that MsgBox() exists from VB6 and Messagebox.Show is the native .NET option. However this document says: "Use MsgBox instead of MessageBox.Show ". It may not be a big deal, but it is also not best practice.
Last modified by Lotok on 5/22/2012 1:57:26 PM
Tags:  contentbug  cpubfix
Invalid result from example (String.Split Method (String[], StringSplitOptions) (System))
The comment in the example that should show the output of the code is wrong, it should be: Splitting the string:   "[stop]ONE[stop][stop]TWO[stop][stop][stop]THREE[stop][stop]".Using the delimiter string:   "[stop]"Result including all elements (9 elements):   '<>' 'ONE' '<>' 'TWO' '<>' '<>' 'THREE' '<>' '<>'Result including non-empty elements (3 elements):   'O
Last modified by R Petrusha - MSFT on 6/21/2012 2:52:10 PM
Tags:  cpubfix
Invalid comment in C# sample (Complex.One Field (System.Numerics))
In the C# sample the comment should read that a complex number is created with a real part 1 and imaginary part 0. The comment in the VB sample is correct.
Last modified by dHan61 on 6/14/2012 12:49:31 PM
Tags:  cpubfix
Page view tracker