.NET Framework Bookmark and Share   
 index > MSBuild > VS.NET 2005 SP1 always builds up-to-date projects
 

VS.NET 2005 SP1 always builds up-to-date projects

Hi,

Sorry if not an MSBuild-related problem, but this issue happens both to our VB and C# solutions (for C++ solution the build process works well).

The problem is that if I build the solution (Build->Build Solution menu), it builds *all* the projects in the solution even if there is no change (no midified file since the last build) in any project. The output (see at the end) shows that build started and new dll/exe created (new assembly version), but no source file compilation performed inbetween.
For me it seems that the build system doesn't recognize that the target is newer than the source, so no build action should be performed - which is a very basic principle of build systems.

This is not only very annoying, but also time consuming: every time when I start debugging, it builds all the dozens projects in the solution (15-30sec). Moreover it is very inconvenient to work with two solutions parallel e.g. client & server sharing the code of low-level projects - if I start the server, it builds also the base projects assigning new assembly versions, causing problems for starting the client application.

I created a very simple solution/projects from scratch and it behaves the same so the problem is not within our solution.
I also checked all the flags in Tools->Options and seems OK.
But if I open the same solution in 2008EE and in 2010 Beta, the build behaves correctly! So it seems that something had been fixed around 2006-2008. But to be honest during these hard economic times if possible we'd like to avoid spending money for upgrading from 2005-->2008.
But unfortunately I cannot find any update or KBFIX on the net.

Can you please help me finding the solution?

Thanks,
Tamas



Build Log:
------ Build started: Project: CommonInterfaces, Configuration: Debug Any CPU ------
CommonInterfaces -> C:\Projects\Common\CommonInterfaces\bin\CommonInterfaces.dll
------ Build started: Project: Common, Configuration: Debug Any CPU ------
Common -> C:\Projects\Common\bin\Common.dll
------ Build started: Project: Settings, Configuration: Debug with setup Any CPU ------
Settings -> C:\Projects\Common\Settings\bin\Settings.dll
...
Tamas Somogyi
I think at the end of the build log you can see the status which mentions how many of them are build, and how many of them are up-to-date.
By default Visual Studio 2005 with SP1 will not build the up-to-date projects. I have not seen so far such kind of behavior.

Bhaskar MCPD:WinForms http://vsxperts.blogspot.com
Bhaskar Babu
Hi Bhaskar,

The end of the Build Log looks like this:
========== Build: 15 succeeded or up-to-date, 0 failed, 0 skipped ==========

However when I request detailed build information, I can see that many build targets and sub-tasks exist under each project. Maybe that's why it is slow: resolving references, searching for files, etc. - all takes time.

Strange that we had no problem in 2003, 2008, 2010 - only on 2005 (SP1).

- Tamas
Tamas Somogyi
Hi Tamas,

Usually, the rebuilding caused by the changed file date, is the file date always being changed by some reason? Or the date is in the future?
Is there any custom build events in your project? Does it still happenin a simple console project created from the project template?

Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao

We are changing the issue type to "General Discussion" because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and click the button "Change Type" at the top of the post. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!


Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao
Wesley,

Sorry for not answering earlier, I was on long holiday. The answers to your questions:
1) I checked the file dates both in \obj and \bin folders - and the file dates keep their previous value, namely they are not rebuilt every time!
2) No custom build event
3) Yes it happens also with simple console projects, however it is faster.

So according to 1) it is clear now that MSBuild doesn't (re-)build the projects, but it takes very long time to enumerate all the build steps for all projects in the solution.
Tamas Somogyi
I have the build logs, see below for one of my project called "Common".
I have 66 projects in the solution, and as I wrote it takes 15-30s on a Core2 Duo machine to start debugging, even if nothing changed (using "Minimal" log printouts, 1,2 or 30 parallel project builds).
I can see the following remarkable things in the log:
1) Normal log shows copying files - the disk operation can be slow if it really copies (note: nothing has built, the files are identical!)
2) Detailed log shows many-many targets, maybe it takes too long to complete all
3) Time Elapsed shows a few millisecs, so perhaps the time spent between two projects is longer

"Normal":
------ Build started: Project: Common, Configuration: Debug Any CPU ------
Build started 09/09/2009 10:44:51.
Target CopyFilesToOutputDirectory:
Common -> C:\Projects\Common\bin\Common.dll
Copying file from "obj\Debug\Common.xml" to "bin\Common.xml".

Build succeeded.

Time Elapsed 00:00:00.04

"Detailed":
------ Build started: Project: Common, Configuration: Debug Any CPU ------
Build started 09/09/2009 10:47:42.
Target _CheckForInvalidConfigurationAndPlatform:
Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).
Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).
Task "Message"
Configuration=Debug
Done executing task "Message".
Task "Message"
Platform=AnyCPU
Done executing task "Message".
Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\' != '' and !HasTrailingSlash('bin\')).
Target BeforeBuild:
Target BuildOnlySettings:
Task "CreateProperty"
Done executing task "CreateProperty".
Target GetFrameworkPaths:
Task "GetFrameworkPath"
Done executing task "GetFrameworkPath".
Task "GetFrameworkSDKPath"
Found the .NET Framework SDK installed at "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\".
Done executing task "GetFrameworkSDKPath".
Target PrepareForBuild:
Task "CreateProperty"
Done executing task "CreateProperty".
Task "CreateProperty"
Done executing task "CreateProperty".
Task "CreateProperty" skipped, due to false condition; ('$(AppConfig)'=='' and '%(RelativeDir)%(Filename)%(Extension)'=='App.Config') was evaluated as (''=='' and ''=='App.Config').
Task "CreateProperty" skipped, due to false condition; ('$(AppConfig)'=='' and '%(RelativeDir)%(Filename)%(Extension)'=='App.Config') was evaluated as (''=='' and ''=='App.Config').
Task "CreateProperty" skipped, due to false condition; ('$(AppConfig)'=='' and '%(Filename)%(Extension)'=='App.Config') was evaluated as (''=='' and ''=='App.Config').
Task "CreateProperty" skipped, due to false condition; ('$(AppConfig)'=='' and '%(Filename)%(Extension)'=='App.Config') was evaluated as (''=='' and ''=='App.Config').
Task "CreateItem"
Done executing task "CreateItem".
Task "MakeDir"
Done executing task "MakeDir".
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "UnmanagedUnregistration" skipped, due to false condition; (Exists('@(_UnmanagedRegistrationCache)')) was evaluated as (Exists('obj\Common.vbproj.UnmanagedRegistration.cache')).
Target BeforeResolveReferences:
Target "SplitProjectReferencesByType" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').
Target "ResolveProjectReferences" skipped, due to false condition; ('@(NonVCProjectReference)'!='') was evaluated as (''!='').
Target "ResolveVCProjectReferences" skipped, due to false condition; ('@(VCProjectReference)'!='') was evaluated as (''!='').
Target "ResolveNativeReferences" skipped, due to false condition; ('@(NativeReference)'!='') was evaluated as (''!='').
Target "GetFrameworkPaths" skipped. Previously built successfully.
Target "GetFrameworkPaths" skipped. Previously built successfully.
Target GetRedistLists:
Task "CreateItem"
Done executing task "CreateItem".
Task "CreateItem"
Done executing task "CreateItem".
Target "PrepareForBuild" skipped. Previously built successfully.
Target ResolveAssemblyReferences:
Task "CreateProperty"
Done executing task "CreateProperty".
Task "CreateItem" skipped, due to false condition; ('$(AutoUnifyAssemblyReferences)'=='false') was evaluated as ('true'=='false').
Task "ResolveAssemblyReference"
Assemblies:
ICSharpCode.SharpZipLib
HintPath = '..\SharpZipLib\ICSharpCode.SharpZipLib.dll'
Interop.DAO
HintPath = '..\interops\Interop.DAO.dll'
MSMAPI
HintPath = '..\interops\MSMAPI.dll'
System
System.Data
System.Drawing
System.Management
System.Windows.Forms
System.Xml
AssemblyFiles:
CandidateAssemblyFiles:
TargetFrameworkDirectory:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
InstalledAssemblyTables:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RedistList\CrystalReportsList.xml
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RedistList\FrameworkList.xml
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RedistList\JSharpList.xml
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RedistList\VSList.xml
SearchPaths:
{CandidateAssemblyFiles}
{HintPathFromItem}
{TargetFrameworkDirectory}
{Registry:Software\Microsoft\.NetFramework,v2.0,AssemblyFoldersEx}
{AssemblyFolders}
{GAC}
{RawFileName}
bin\
AllowedAssemblyExtensions:
.exe
.dll
AppConfigFile:

AutoUnify:
True
TargetProcessorArchitecture:

StateFile:
obj\Debug\ResolveAssemblyReference.cache
Primary reference "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Primary reference "ICSharpCode.SharpZipLib, Version=0.84.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73".
Resolved file path is "..\SharpZipLib\ICSharpCode.SharpZipLib.dll".
Reference found at search path location "{HintPathFromItem}".
Primary reference "System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Management.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Management.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Primary reference "MSMAPI, Version=1.1.0.0, Culture=neutral, PublicKeyToken=a8208e1b35fe5e8c".
Resolved file path is "..\interops\MSMAPI.dll".
Reference found at search path location "{HintPathFromItem}".
Primary reference "Interop.DAO, Version=5.0.0.0, Culture=neutral, PublicKeyToken=a8208e1b35fe5e8c".
Resolved file path is "..\interops\Interop.DAO.dll".
Reference found at search path location "{HintPathFromItem}".
Primary reference "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Primary reference "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Unified primary reference "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Using this version instead of original version "1.0.5000.0" because there is a more recent version of this framework file.
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Primary reference "System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Resolved file path is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll".
Reference found at search path location "{TargetFrameworkDirectory}".
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.exe", but it didn't exist.
This reference is not "CopyLocal" because it's a prerequisite file.
Done executing task "ResolveAssemblyReference".
Target "ResolveComReferences" skipped, due to false condition; ('@(COMReference)'!='' or '@(COMFileReference)'!='') was evaluated as (''!='' or ''!='').
Target AfterResolveReferences:
Target ResolveReferences:
Target AssignTargetPaths:
Task "AssignTargetPath"
Done executing task "AssignTargetPath".
Task "AssignTargetPath"
Done executing task "AssignTargetPath".
Task "AssignTargetPath"
Done executing task "AssignTargetPath".
Task "AssignTargetPath"
Done executing task "AssignTargetPath".
Task "AssignTargetPath" skipped, due to false condition; ('%(Extension)' == '.manifest' and '@(BaseManifestWithTargetPath)' == '') was evaluated as ('' == '.manifest' and '' == '').
Target "AssignTargetPaths" skipped. Previously built successfully.
Target SplitResourcesByCulture:
Task "CreateItem" skipped, due to false condition; ('%(Extension)'=='.licx') was evaluated as (''=='.licx').
Task "AssignCulture"
Done executing task "AssignCulture".
Task "CreateItem" skipped, due to false condition; ('%(Extension)'=='.resx' or '%(Extension)'=='.restext') was evaluated as (''=='.resx' or ''=='.restext').
Task "CreateItem"
Done executing task "CreateItem".
Task "CreateItem" skipped, due to false condition; ('%(Extension)'=='.resx' or '%(Extension)'=='.restext') was evaluated as (''=='.resx' or ''=='.restext').
Task "CreateItem"
Done executing task "CreateItem".
Target "CreateManifestResourceNames" skipped, due to false condition; ('@(ResxWithNoCulture)@(ResxWithCulture)@(NonResxWithNoCulture)@(NonResxWithCulture)'!='') was evaluated as (''!='').
Target PrepareResourceNames:
Target "_CopyNonResxEmbeddedResources" skipped, due to false condition; ('@(NonResxWithNoCulture)'!='' or '@(NonResxWithCulture)'!='' or '@(ManifestNonResxWithNoCulture)'!='' or '@(ManifestNonResxWithCulture)'!='') was evaluated as (''!='' or ''!='' or ''!='' or ''!='').
Target "ResolveAssemblyReferences" skipped. Previously built successfully.
Target "SplitResourcesByCulture" skipped. Previously built successfully.
Target BeforeResGen:
Target CoreResGen:
Task "GenerateResource" skipped, due to false condition; ( '@(ResxWithNoCulture)' != '' ) was evaluated as ( '' != '' ).
Task "GenerateResource" skipped, due to false condition; ( '@(ResxWithCulture)' != '' ) was evaluated as ( '' != '' ).
Target AfterResGen:
Target ResGen:
Target "CompileLicxFiles" skipped, due to false condition; ('@(_LicxFile)'!='') was evaluated as (''!='').
Target PrepareRdlFiles:
Task "CreateItem" skipped, due to false condition; ('%(Extension)'=='.rdlc') was evaluated as (''=='.rdlc').
Target "RunRdlCompiler" skipped, due to false condition; ('@(RdlFile)'!='') was evaluated as (''!='').
Target CompileRdlFiles:
Target PrepareResources:
Target "ResolveKeySource" skipped, due to false condition; ($(SignManifests) == 'true' or $(SignAssembly) == 'true') was evaluated as ( == 'true' or == 'true').
Target "ResolveReferences" skipped. Previously built successfully.
Target "ResolveKeySource" skipped, due to false condition; ($(SignManifests) == 'true' or $(SignAssembly) == 'true') was evaluated as ( == 'true' or == 'true').
Target BeforeCompile:
Target "_TimeStampBeforeCompile" skipped, due to false condition; ('$(RunPostBuildEvent)'=='OnOutputUpdated') was evaluated as (''=='OnOutputUpdated').
Target _ComputeNonExistentFileProperty:
Task "CreateProperty"
Done executing task "CreateProperty".
Target CoreCompile:
Building target "CoreCompile" completely.
Output file "__NonExistentSubDir__\__NonExistentFile__" does not exist.
Task "Vbc"
Done executing task "Vbc".
Target "_TimeStampAfterCompile" skipped, due to false condition; ('$(RunPostBuildEvent)'=='OnOutputUpdated') was evaluated as (''=='OnOutputUpdated').
Target AfterCompile:
Target Compile:
Target "GenerateSerializationAssemblies" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target "CreateSatelliteAssemblies" skipped, due to false condition; ('@(ManifestResourceWithCulture)'!='' or '@(ManifestNonResxWithCultureOnDisk)'!='') was evaluated as (''!='' or ''!='').
Target "GenerateManifests" skipped, due to false condition; ('$(GenerateClickOnceManifests)'=='true' or '@(NativeReference)'!='' or '@(ResolvedIsolatedComModules)'!='') was evaluated as (''=='true' or ''!='' or ''!='').
Target GetTargetPath:
Building target "GetTargetPath" completely.
No input files were specified.
Target "ComputeIntermediateSatelliteAssemblies" skipped, due to false condition; ('@(ManifestResourceWithCulture)'!='' or '@(ManifestNonResxWithCulture)'!='') was evaluated as (''!='' or ''!='').
Target _CopyFilesMarkedCopyLocal:
Task "Copy"
Did not copy from file "..\SharpZipLib\ICSharpCode.SharpZipLib.dll" to file "bin\ICSharpCode.SharpZipLib.dll" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
Did not copy from file "..\interops\Interop.DAO.dll" to file "bin\Interop.DAO.dll" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
Did not copy from file "..\interops\MSMAPI.dll" to file "bin\MSMAPI.dll" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
Done executing task "Copy".
Target "AssignTargetPaths" skipped. Previously built successfully.
Target "_SplitProjectReferencesByFileExistence" skipped, due to false condition; ('@(NonVCProjectReference)'!='') was evaluated as (''!='').
Target GetCopyToOutputDirectoryItems:
Task "MSBuild" skipped, due to false condition; ('@(_MSBuildProjectReferenceExistent)'!='') was evaluated as (''!='').
Task "CreateItem" skipped, due to false condition; ('%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_AllChildProjectItemsWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest') was evaluated as (''=='Always' or ''=='PreserveNewest').
Task "CreateItem" skipped, due to false condition; ('%(ContentWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(ContentWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest') was evaluated as (''=='Always' or ''=='PreserveNewest').
Task "CreateItem" skipped, due to false condition; ('%(_EmbeddedResourceWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_EmbeddedResourceWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest') was evaluated as (''=='Always' or ''=='PreserveNewest').
Task "CreateItem" skipped, due to false condition; ('%(Compile.CopyToOutputDirectory)'=='Always' or '%(Compile.CopyToOutputDirectory)'=='PreserveNewest') was evaluated as (''=='Always' or ''=='PreserveNewest').
Task "AssignTargetPath"
Done executing task "AssignTargetPath".
Task "CreateItem"
Done executing task "CreateItem".
Task "CreateItem" skipped, due to false condition; ('%(_NoneWithTargetPath.CopyToOutputDirectory)'=='Always' or '%(_NoneWithTargetPath.CopyToOutputDirectory)'=='PreserveNewest') was evaluated as (''=='Always' or ''=='PreserveNewest').
Target "_CopyOutOfDateSourceItemsToOutputDirectory" skipped, due to false condition; ( '@(_SourceItemsToCopyToOutputDirectory)' != '' ) was evaluated as ( '' != '' ).
Target "_CopyOutOfDateSourceItemsToOutputDirectoryAlways" skipped, due to false condition; ( '@(_SourceItemsToCopyToOutputDirectoryAlways)' != '' ) was evaluated as ( '' != '' ).
Target _CopySourceItemsToOutputDirectory:
Target "_CopyAppConfigFile" skipped, due to false condition; ( '@(AppConfigWithTargetPath)' != '' ) was evaluated as ( '' != '' ).
Target "_CopyManifestFiles" skipped, due to false condition; ( '$(_DeploymentCopyApplicationManifest)'=='true' or '$(GenerateClickOnceManifests)'=='true' ) was evaluated as ( ''=='true' or ''=='true' ).
Target _CheckForCompileOutputs:
Task "CreateItem"
Done executing task "CreateItem".
Task "CreateProperty" skipped, due to false condition; (!Exists('@(DocFileItem)')) was evaluated as (!Exists('obj\Debug\Common.xml')).
Task "CreateItem"
Done executing task "CreateItem".
Task "CreateProperty" skipped, due to false condition; (!Exists('$(IntermediateOutputPath)$(TargetName).pdb')) was evaluated as (!Exists('obj\Debug\Common.pdb')).
Task "CreateItem"
Done executing task "CreateItem".
Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target CopyFilesToOutputDirectory:
Task "Copy"
Did not copy from file "obj\Debug\Common.dll" to file "bin\Common.dll" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
Done executing task "Copy".
Task "Message"
Common -> C:\Projects\Common\bin\Common.dll
Done executing task "Message".
Task "Copy"
Done executing task "Copy".
Task "Copy" skipped, due to false condition; ('$(_SGenDllCreated)'=='true') was evaluated as ('false'=='true').
Task "Copy"
Did not copy from file "obj\Debug\Common.pdb" to file "bin\Common.pdb" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
Done executing task "Copy".
Task "Copy"
Copying file from "obj\Debug\Common.xml" to "bin\Common.xml".
Command:
copy /y "obj\Debug\Common.xml" "bin\Common.xml"
Done executing task "Copy".
Task "Copy"
Done executing task "Copy".
Task "Copy"
Done executing task "Copy".
Target PrepareForRun:
Target "UnmanagedRegistration" skipped, due to false condition; ('$(RegisterForComInterop)'=='true' and '$(OutputType)'=='library') was evaluated as ('false'=='true' and 'Library'=='library').
Target "_CheckForCompileOutputs" skipped. Previously built successfully.
Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target _CleanGetCurrentAndPriorFileWrites:
Task "ReadLinesFromFile"
Done executing task "ReadLinesFromFile".
Task "ConvertToAbsolutePath"
Done executing task "ConvertToAbsolutePath".
Task "CreateItem"
Done executing task "CreateItem".
Task "FindUnderPath"
Comparison path is "C:\Projects\Common".
Path "C:\Projects\Common\bin\ICSharpCode.SharpZipLib.dll" is inside the comparison path.
Path "C:\Projects\Common\bin\Interop.DAO.dll" is inside the comparison path.
Path "C:\Projects\Common\bin\MSMAPI.dll" is inside the comparison path.
Done executing task "FindUnderPath".
Task "FindUnderPath"
Comparison path is "bin\".
Path "C:\Projects\Common\obj\Debug\ResolveAssemblyReference.cache" is outside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.dll" is outside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.xml" is outside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.pdb" is outside the comparison path.
Path "C:\Projects\Common\bin\Common.dll" is inside the comparison path.
Path "C:\Projects\Common\bin\Common.pdb" is inside the comparison path.
Path "C:\Projects\Common\bin\Common.xml" is inside the comparison path.
Path "C:\Projects\Common\bin\ICSharpCode.SharpZipLib.dll" is inside the comparison path.
Path "C:\Projects\Common\bin\Interop.DAO.dll" is inside the comparison path.
Path "C:\Projects\Common\bin\MSMAPI.dll" is inside the comparison path.
Done executing task "FindUnderPath".
Task "FindUnderPath"
Comparison path is "obj\Debug\".
Path "C:\Projects\Common\obj\Debug\ResolveAssemblyReference.cache" is inside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.dll" is inside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.xml" is inside the comparison path.
Path "C:\Projects\Common\obj\Debug\Common.pdb" is inside the comparison path.
Path "C:\Projects\Common\bin\Common.dll" is outside the comparison path.
Path "C:\Projects\Common\bin\Common.pdb" is outside the comparison path.
Path "C:\Projects\Common\bin\Common.xml" is outside the comparison path.
Path "C:\Projects\Common\bin\ICSharpCode.SharpZipLib.dll" is outside the comparison path.
Path "C:\Projects\Common\bin\Interop.DAO.dll" is outside the comparison path.
Path "C:\Projects\Common\bin\MSMAPI.dll" is outside the comparison path.
Done executing task "FindUnderPath".
Task "CreateItem"
Done executing task "CreateItem".
Task "RemoveDuplicates"
Done executing task "RemoveDuplicates".
Target IncrementalClean:
Task "CreateItem"
Done executing task "CreateItem".
Task "FindUnderPath"
Comparison path is "bin\".
Done executing task "FindUnderPath".
Task "FindUnderPath"
Comparison path is "obj\Debug\".
Done executing task "FindUnderPath".
Task "Delete"
Done executing task "Delete".
Task "CreateItem"
Done executing task "CreateItem".
Task "RemoveDuplicates"
Done executing task "RemoveDuplicates".
Task "MakeDir"
Done executing task "MakeDir".
Task "WriteLinesToFile"
Done executing task "WriteLinesToFile".
Target "PostBuildEvent" skipped, due to false condition; (
'$(PostBuildEvent)'!=''
and
(
'$(RunPostBuildEvent)'!='OnOutputUpdated'
or
'$(_AssemblyTimestampBeforeCompile)'!='$(_AssemblyTimestampAfterCompile)'
)
) was evaluated as (
''!=''
and
(
''!='OnOutputUpdated'
or
''!=''
)
).
Target CoreBuild:
Target AfterBuild:
Target Build:
Building target "Build" completely.
No input files were specified.

Done building project "Common.vbproj".

Build succeeded.

Time Elapsed 00:00:00.04
Tamas Somogyi

You can use google to search for other answers

Custom Search

More Threads

• Web.Config
• I am not getting a sub-folder called _PublishedWebSites when I run a build
• Upgrade 2005 project to 2008
• identifying build and rebuild Event
• Looking for a custom task that retrieves VERSIONINFO
• RAR/RCR and build performance.
• Relative Path In Build rule
• Problems with VSHOST.EXE
• msbuild to setup projects
• Problems building solution file with dependencies using a msbuild.exe - VS2005 network installation