How to enable build timing in Xcode?

Type this in the terminal: defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES Duration appears in the activity viewer after a build, alongside the “Succeeded” message. If you are running the app, the status will be replaced by the running status before you can see the duration. This replaces the entry that was used in older versions of … Read more

What is the difference between compile code and executable code?

Compiling is the act of turning source code into object code. Linking is the act of combining object code with libraries into a raw executable. Building is the sequence composed of compiling and linking, with possibly other tasks such as installer creation. Many compilers handle the linking step automatically after compiling source code.

eclipse stuck when building workspace

I was able to fix this with the following: First, exit Eclipse. Then temporarily move the following .projects folder to a safe location: mv .metadata\.plugins\org.eclipse.core.resources\.projects projects Start and exit Eclipse, then move the .projects folder back to where it was originally: mv projects .metadata\.plugins\org.eclipse.core.resources\.projects Use at your own risk, of course.

Preventing referenced assembly PDB and XML files copied to output

I wanted to be able to add and remove referenced assemblies in my primary application while avoiding the the need to maintain which files I needed to delete or exclude. I dug through Microsoft.Common.targets looking for something that would work and found the AllowedReferenceRelatedFileExtensions property. It defaults to .pdb; .xml so I explicitly defined it … Read more

specify project file of a solution using msbuild

msbuild test.sln /t:project /p:Configuration=”Release” /p:Platform=”x86″ /p:BuildProjectReferences=false Notice that what is assigned to /t is the project name in the solution, it can be different from the project file name. Also, as stated in How to: Build specific targets in solutions by using MSBuild.exe: If the project name contains any of the characters %, $, @, … Read more