Build is being skipped

So I got my copy of VS 2005 Standard at the rollout event and installed it.  I took a compact framework project produced in VS 2003 and copied it to a new directory and converted it to VS 2005.  When I attempt to "Clean", "Build", or "Rebuild" the project I keep getting the message "========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========".  I tried deleting the exe's and the object files manually to no avail.  I tried turning off edit and continue assuming that it could be making decisions about when to build and when to skip but it still just keeps skipping.  Any ideas

Bill


Answer this question

Build is being skipped

  • MartinGleeson

    Hi Jianfeng,

     

    As Shabbar suggested, go to Buid menu->Configuration Manager. Change active configuration from there. It will work.

    So if you go to project properties and change mode to release, it will not work. You must follow above procedure in order to change build mode. Shall we consider this as a bug in VS2005 or is it supposed to be like that for some reason

    Regards,

    Shabdar

     

     

     



  • Ajay Tandon

    Hi,
    I downloaded the UIP project and have the following info for you:

    After performing a conversion there was an error creating one of the .XSX files.
    I performed a rebuild on the solution and noticed the behavior that you were describing. Then I noticed that the referenced  project 'Microsoft.ApplicationBlocks.Data' was invalid, it could not be found. I removed the referenece and then tried to add the project as a reference, but I got an error along the lines of  'Project could not be referenced'. I performed a build and rebuild of the project from the command line using MSBuild and got the same errors that you were experiencing. Then after examining the diagnositc output from MSBuild on Rebuild target, I decided to perform a Compile on it, I did this and it worked. Then I performed a Rebuild on the project form command line and it worked. No more error. I then added the reference in VS and performed a rebuild there and it was successful. Now I can build and rebuild with no errors.

    Let me know if you need more information or clarification, as I'm sure this could be very confusing.

    Sayed Ibrahim Hashimi

  • B.Huard

    Hello Shadbar,

    You need to change the active configuration.
    Steps to change.
    1. Open the solution in VS 2005.
    2. Conversion wizard will come, convert the solution.
    3. Open Configuration Manager( Build Menu-> Configuration Manager)
    3. In the configuration Manager window
       a. change  the Active configuration to Debug
       b.Also make sure that the project configuration for Microsoft.ApplicationBlocks.Data and Microsoft.ApplicationBlocks.UIProcess is set to Debug.
    4. Close the configuration Manager window.

    Now try to rebuild the solution from IDE.
    It will build the solution now.

    Please let me know if you are still facing the problem.

    Thanks
    Shabbar

  • runcy

    I also got the same problem: Build is being skipped when I try to run the CUBE sample in msdn with visual studio 2005. I followed your command line method. It is built. But it is not like the expected when the .exe is running. no cube play. Only screen print image in the window. Very strange. Is there somebody got the same problem like me Thanks.
    Jeff 

  • benconnol1y

    Hi Shabbar,

    Forgot to mention project. I am facing this problem while building User Interface Process (UIP) Application Block - Version 2.0 with VS2005. Go to following link,

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag/html/uipab.asp


    Download and install it. Open source from following folder

    C:\Program Files\Microsoft Application Blocks for .Net\User Interface Process 2.0\Code\Microsoft.ApplicationBlocks.Data\

    file. When you try to build Data Block it won't build.


    Shabdar

  • Michael Eng

    Ok, so I followed the recommended steps and found that the "Only build startup projects and dependencies on Run" checkbox was already un checked.  VS 2005 is still skipping the build. any other ideas

    Bill

  • timleong

    Hi Shabbar,

    I am also facing same problem. I tried to build my project using msbuild as described by you in previous post. And it is building DLLs in DEBUG mode(i.e debug folder). But build is skipped if I build from VS2005.

    Also when I try to build project in Release mode, its not building from both VS2005 and msbuild. So no idea what to do for release mode. I tried changing Project Properties->Build->Configurations->Active(Debug) to Active(Release). But no output. I observed that when I restart project after saving, configuration is again changing to Active(Debug) mode.

    Any Idea

    Thanks,

    Shabdar (Don't confuse with my name, I am Shabdar Hussain and I am not from microsoft Big Smile! Cheers)

  • stlaural

    Check to see if the project has been checked to build:

    1. In Solution Explorer, right-click on the Solution node and click Configuration Manager
    2. Find your project and make sure Build is checked
    3. Click Close

  • jtweku

    So the configuration is debug, the platform is set to Pocket PC and the Build checkbox is indeed checked.  in the output window I still getting the following 2 messages:

    "------ Skipped Rebuild All: Project: PreProcEval ------"
    and
    "====== Rebuild All: 0 succeeded, 0 failed, 1 skipped ======"
    Any other ideas

    Bill


  • johnny_no1_boy

    Next thing to check:

    1. Choose Tools and select Options
    2. Under the Projects and Solutions node, choose Build and Run
    3. Uncheck Only build startup projects and dependencies on Run

  • morning_cloud

    Wert,
    Try this:
    1) Open Visual Studio Command prompt
    2) Go to the directory that contains your project file
    3) type in msbuild /t:Clean,Compile YOUR_PROJECT_FILE

    After this then from that same folder do:
         msbuild /t:Rebuild YOUR_PROJECT_FILE

    If you get the same error then my idea didn't work, if you don't get the error try to perform the Build Visual Studio. Let me know if this works for you, I'm very interested.
    Also can you ensure that all your references are resolved correctly. You can verify this by expanding the References in Visual Studio and making sure that none have the yellow-black exclamation icon on them.

    Hope this helps,
    Sayed Ibrahim Hashimi

  • mehrit

    Hello Bill,

    This is shabbar working as a dev in Visual Studio for Device Team in Microsoft.
    To understand your problem would you please answer the following:

    - Is it a VB or C# project( VB & C#).
    - What is the active configuration of the solution.You can find this in the Solution Configuration manager.
    - Was upgrade of project successful  
    - Have you migrated the project to the RTM build or to any other build of VS 2005. 
    - Open visual studio command prompt(Start->All Programs->Microsoft Visual Studio 2005-> Visual Studio Tools-> Visual Studio 2005 command prompt)and follow the steps 
          - Navigate to the directory where your project is stored.
          - Issue the following command msbuild <Solution file name> /t:rebuild
          - Check whether the solution is build or not.
          - If not then please send the error message.

    It would help us a lot if you can send the solution(*.sln) , project file(*proj) and UpgradeReport.xml.You can send directly send these files @ ( shabbarh@microsoft.com).

    Thanks
    Shabbar


  • cubexsystems

    Also make sure the correct "Active solution platform" is selected  in the Configuration Manager. I had a similar "Skipped rebuild" problem and noticed the default setting was Itanium so changing this to Win32 did the trick.
  • James Fielding


    Yes.. This was the mian cause of this problem... Most of the sample codes available from msdn is coming with default platform as 'Itanium'. So we need to change it Win32 from the configuration manager. There won't be any skipping in future!!

    Dinraj

  • Build is being skipped