Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 31st, 2007, 06:58 PM
Friend of Wrox
 
Join Date: Jun 2005
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?


 
Old January 1st, 2008, 08:32 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.

-Peter





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





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