Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 31st, 2007, 06:58 PM
Friend of Wrox
Points: 660, Level: 9
Points: 660, Level: 9 Points: 660, Level: 9 Points: 660, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2005
Location: St. Louis, , .
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Default First Build

I have written some simple C# programs just to get my feet wet.

Now I have decided to build a co-workers program and step through it. I am not used to all of the problems that might arise when building a C# program as I would a C++ program.

I get this error:

------ Rebuild All started: Project: ProjectName, Configuration: Debug Any CPU ------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Micr osoft.Common.targets(481,9): error : The OutputPath property is not set for this project.
Please check to make sure that you have specified a valid Configuration/Platform combination.
Configuration='Debug' Platform='AnyCPU'
Done building project "ProjectName.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 So there are some settings I need to check. Any advice?

Reply With Quote
  #2 (permalink)  
Old January 1st, 2008, 08:32 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

This particular error is odd. I've never seen this for a typical project created in visual studio. It sounds like the original developer removed the output path in the project configuration. You need to go into the project properties, onto the "Build" tab. Towards the end of that property sheet is the "Output" section in which you'll find the "Output path:" setting. This is likely blank. This is typically something like "bin\" or more specific based on the build configuration such as "bin\debug\" or "bin\release\". You can change the selected configuration (at the top of the property sheet) to see how the other configurations are set up. Obviously the developer has one that worked otherwise they'd never have been able to build the project.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lua build Triezen BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 0 January 2nd, 2008 06:08 AM
Build VS Compile sugarpalm157 Intro Programming 0 August 9th, 2007 08:12 PM
How to build Activex? sd Generics 1 July 22nd, 2007 04:28 AM
How to build FORUMS saif44 ASP.NET 1.x and 2.0 Application Design 1 October 13th, 2006 06:50 AM
How to build a Forum? Dango24 BOOK: Beginning ASP.NET 1.0 2 August 8th, 2004 04:31 PM

All times are GMT -4. The time now is 03:10 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.