Build starts in Release mode then switches to debug
I have build that uses a tfsbuild.proj file and an Upgrade template.
My build is set to build in Release|Any CPU mode.
<ItemGroup Condition="'$(DebugOnly)' != 'True'">
<ConfigurationToBuild Include="Release|Any CPU">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Any CPU</PlatformToBuild>
</ConfigurationToBuild>
</ItemGroup>
This definition builds multiple solutions. I have recently discovered that 2 solutions build some of the same files, so in my log file it builds some projects and then later rebuilds those projects over again. (This is frustrating but the slns are not mine
so I will have to work on getting these changed.)
Here is what my problem is:
The build is building one file in Release then the second file in debug.
CopyFilesToOutputDirectory:
abc.Core -> E:\ActiveBldTypes\APM V3\V3.6.0.6.0\bin\Release\abc.Core.dll
Done Building Project "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Core\abc.Core.csproj" (default targets).
Project "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Mobile\WebAPI\abc.WebAPI\abc.WebAPI.csproj" (186) is building "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Registry\abc.Registry.csproj" (14:112) on node 1 (default targets).
Project "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Registry\abc.Registry.csproj" (14:112) is building "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Excel\abc.Excel.csproj" (12:20) on node 1 (default targets).
PrepareForBuild:
Creating directory "obj\Debug\".
I have checked the abc.Excel.csproj properties and for Release Any CPU the output path is bin\Release\.
Earlier in the log file, remember I said it is building it 2 times, I see:
Project "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Admin\abc.Admin.csproj" (9) is building "E:\ActiveBldTypes\APM V3\V3.6.0.6.0\src\abc\Excel\abc.Excel.csproj" (12) on node 1 (default targets).
PrepareForBuild:
Creating directory "obj\Release\".
So here is what I do not understand:
The build project is set to build Release|Any CPU
When I open each sln, and look in Configuration Manager, Active config is Release: Active platform is Any CPU
Then look at abc.Excel project, both are set to Configuration = Release, platform = Any CPU.
The project is the exact same project, I don't have 2 in source control so the build process is reading the same abc.Excel.csproj file.
Why is the output Release in one sln and debug in the other. especially in the first case when the first project(abc.Core.csproj) outputs to Release but the second project(abc.Excel.csproj) outputs to debug. It is like the build process changes to
Debug mid solution??????
Any ideas would be greatly appreciated.
BTW
Using VS2013, TFS2013, build machine 2008/r2
Hello,
I have recently discovered that 2 solutions build some of the same files, so in my log file it builds some projects and then later rebuilds those projects over again.
I'm not aware of such a behavior, do you mean two solutions build with the same project so that the project is rebuild again?
Aslo I'm not sure of this $(DebugOnly), as far as I know about the condition is like this:
Condition="'$(CONFIG)'=='DEBUG'"
And the output path is write in this property:
OutputPath
I think if you want to unstand the problem, you'd better check your settings in detail, I suspect when you build two solutions maybe the conditions are different and the
OutputPath may haven't write to the same folder. Which caused the directory changed from obj\Debug\ to obj\Release\.
So please check the following:
1. How you set it in your tfs build.
2. How you set the condition.
3. Please check the OutputPath in your csproj or from your build command, that could help us get the reason.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Building AEGPs in Release mode
Hello,
Wanted to get some help with building AEGPs in release mode (Visual Studio 2005). The examples provided in the SDK have only Debug mode project configurations.
Help?
Thanks,
Eran KalmansonThe varieties of what "Release" means to different developers, together with the constant sample maintenance headache of updating a configuration that's NEVER intended to see the light of day (you don't ship sample projects), led me to remove the release configurations from all SDK samples, years ago.
I think Zac is planning to add at least one Release config to the SDK to get you started, but only you know what "Release" means to your users. -
I just purchased an ibook for my mac for the first time and it started with two pages then switched to one with notes and i can't change it back. Anyone else having this problem?
Up the top where the three buttons are (red yellow green) are three images. Click on the third image that looks like a notepad (not the first which is a library book), and that should get rid of 'Notes'. To read using two pages make the window bigger.
-
Mavericks will only start in safe mode, then shuts down.
I think the new OS is trying to help me, but it's actually doing the opposite. Does is automatically try to start in safe mode after a hard shutdown or something? Every time I start up I get the spining wheel and a progress bar that takes 20-30 minutes to fully load. When it reaches the end the computer just shuts off. I have been having some problems with the Mac itself - multiple attempts needed to start up etc - but in 10.8 at least it would boot normally.
I can't even boot in the recovery drive or in Windows, because the safe mode boot begins before the keyboard is recognized, so Option does nothing. Any thoughts?
Edit: Tried zapping PRAM etc, still can't get the Option menu or avoid the endless progress bar of doom.Hi HCMJ,
Welcome to the Support Communities!
The article below may be able to help you with this issue.
Click on the link to see more details and screenshots.
Apple Support: Resolve startup issues and perform disk maintenance with Disk Utility and fsck
http://support.apple.com/kb/TS1417
Cheers,
- Judy -
IMac tries to start in safe mode but fails.
I have a Mid 2010 iMac running Maverick. I added 16gb of ram to the 4 existing which I have done on many Macs. It started up but after a minute or two it forced restarted on its own. I then tried it a few more times and continued to crash then restart. I started it in safe mode. It nearly loaded completely the safe start then shut down. Any time I now try to start it, it does the same thing, starts in safe mode then fails. I have taken the 16 extra gas of ram out and it still fails to load. Any advice would be greatly appreciated!
Have you tried repairing the disk? I know it seems simple but sometimes this can be the problem.
Hold down Command+R when starting the computer, select repair disk from the menu.
This won't delete any data and may not work but it's worth a try. -
My mac book pro on start up shows a white screen with a folder with a question mark in it then switches to the apple symbol with the loading bar under it but it freezes about half way. Only started to have problems since upgrading to yosemite any ideas.
I do hope you have recent backup, because it look like your hard disk is failing. You can start up in Recovery Mode, and run Disk Utility to see if the disk can be fixed: OS X: About OS X Recovery - Apple Support
-
Fire fox crashes and freezes if i use it too much (kind of a good thing). For example if i use stumble fire fox will start to slow down then freeze completely. I am using windows XP pro and a pretty decent computer. All software is up to date and i do no have a virus. I have even tried to disable my add-ons and plug-ins but it did not make a difference. Does anyone have a solution or should i just switch to chrome?
Please provide a crash id -> https://developer.mozilla.org/en/How_to_get_a_stacktrace_for_a_bug_report
Do the issues still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode -
My iPod touch 5th Gen iOS 8.1 won't turn on, charge and CONNECT TO iTUNES.
Maybe this is because of the new release ios 8.1 where after the update it went
recovery mode then i didn't restore, i set up a new ipod.
What's wrong? Is ths bcoz of ios 8.1?How do you do that
lllaass wrote:
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
iMac that won't boot up! When power is switched on it chimes, Apple logo appears, then loading bar, then spinning wheel. Bar seems to load up and gets to around 25%, then reverts to the start again, gets to about 20% on the bar and then switches itself off leaving a black screen. Tried all the remedies on internet with no avail so would welcome some advice other than binning what is a relatively new computer. Earliest appointment Apple could offer was Thursday 17th, really useful for a business user _ not impressed,
You've probably tried this, but will it Safe Boot? Restart holding down the Shift key until you see the grey progress bar. You'll need to input your admin password during bootup. If it will boot you can then try to eject the disk using the various suggestions here that you haven't tried already:
http://osxdaily.com/2009/08/28/eject-a-stuck-disk-from-your-mac-dvd-super-drive/
Or this (not tried this myself, but if things are desperate): http://www.youtube.com/watch?v=n7NYW9Dr448 -
i cannot able able to start my macbook and then i started my mac in a recovery mode now mac os X utility window opens with 4 options 1. Restore From Time Machine Backup 2. Reinstall Mac OSX 3. Get Help Online 4. Disk Utility if i try to restore my mac with time machine no option appears if i reinstall from Mac OSX error comes and cannot able to recover from disk utility please help how can i reinstall mac OSX
Guitar21,
your MacBook Pro has booted into its Recovery mode. From the OS X Utilities menu, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it get to the login screen now? -
My forward and back buttons are greyed out after update to Firefox 8. Tried to move to 9 beta, but same behavior. Back and Forward also greyed out in right click menu.
Attempted to fix by updating all plugins and extensions, then disabled all plugins and extensions, and then tried to start in safe mode. Nothing worked.You could have backed up your profile folder. If you did, [[Recovering important data from an old profile]] can help :)
-
I got a Macbook Air. My system language is russian but the login password is english. I put the laptop into sleep mode, then wanted to log in again, but the language seems to have switched to russian, there's no language change button! How do I log in now?
Severia,
I tried your solution, but it did not work with my laptop. After I restart the laptop, the language does not change and I cannot type the password in English language. Do you have any other suggestion?
Thank you. -
my facetime starts connecting then fails to make the call ? ive tried the swtiching face time off switching macbook off then switching it back on the logging back in to facetime but still no joys. any help ?
my facetime starts connecting then fails to make the call ? ive tried the swtiching face time off switching macbook off then switching it back on the logging back in to facetime but still no joys. any help ?
-
my iphone dose not start it was stuck in restoring mode then it shut down and it won't start what shall i do
If this has happened more than once the problem is likely on your PC.
See here: http://www.apple.com/support/iphone/assistant/itunes/ -
Tried opening my Mac in safe mode SMS mode. And pram mode. It acts like it is going to start up the gets about 10 percent through the grey start up box and then shuts down. Any other thoughts? Thanks
Douglaslouis,
which model Mac do you have, and which version of OS X is installed on it?
Maybe you are looking for
-
I need to update a presentation with new updated images. Is there a way to swap the current image with another, keeping its animation and properties without going through the pains of inserting the new image, formating it and reapplying the animation
-
why acrobat it is not working
-
Mobile Me gallery sorting issue
I recently upgraded iLife from '08 to '09. I am having an issue when I publish and event to my Mobile Me Gallery where its not sorting the photos correctly in the gallery. They don't seem to sorted the same way as I have them in the event when I publ
-
How to call jsp /servlets running in different web application in tomcat
hello all, i have 2 web applications(Charts and Reports) in the same tomcat,i want to call jsp/servlets running in the Reports webapp from Charts webapp.how do i achieve this. thanx ravi
-
Hi, I use a drop-down list in a form view and I would like to use a dynamic entry list from a characteristic (0SALESORG) of a bi query. But the obtained list is empty. I am in BI 70 SP 10. Regards Jacques