Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 28th, 2018, 09: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
Reply With Quote
  #2 (permalink)  
Old June 1st, 2018, 08: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.
Reply With Quote
  #3 (permalink)  
Old June 1st, 2018, 09: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
Reply With Quote
Reply


Thread Tools
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
Build Error venessaz BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 46 March 30th, 2016 01: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 10:16 AM
error on build stewbaby C++ Programming 1 October 30th, 2003 06:07 PM



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


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