Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning C# 6.0 Programming with Visual Studio 2015
This is the forum to discuss the Wrox book Beginning C# 6.0 Programming with Visual Studio 2015 by Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid; ISBN: 978-1-119-09668-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 6.0 Programming with Visual Studio 2015 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 May 28th, 2018, 08:55 PM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch10 .. error during build

Because none of the figures appear the same in my Community version I have typed in the code. I have verified it all but for some reason I continue to get 2 errors during build.
CS5001 Program does not contain a static main method suitable for entry point ... I have created the program class the same as all others. I have tried to set it as the starting point through the menu though that doesn't seem to do anything.

CS0006 Metadata file "pathto\Ch10CardLib.exe' could not be found ... this is true as it can't even be built

If anyone has run into this please let me know how you solved this.

thanks
 
Old June 1st, 2018, 07:45 PM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Only way i can get this to work is to include the main() as part of the CardLib file as normal.
 
Old June 1st, 2018, 08:21 PM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found the error ... I had created Ch1CardLib as a console app and not a library




Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Error venessaz BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 46 March 30th, 2016 12:25 PM
Build error wilkov BOOK: Silverlight 4 Problem - Design - Solution 6 November 18th, 2010 03:26 AM
ch10 exercise 4 on-line solution, apparent programming error fortran_ii BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 1 July 15th, 2010 09:16 AM
error on build stewbaby C++ Programming 1 October 30th, 2003 06:07 PM





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