Wrox Programmer Forums
|
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 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 August 15th, 2011, 07:39 AM
Registered User
 
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 24hour_source examples

thanks for all your help.

Last edited by anil.bm; August 15th, 2011 at 11:17 AM..
 
Old August 15th, 2011, 08:45 AM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

That's because you haven't unzipped the files. Windows Explorer lets you browse through the Zip file as if it were a directory structure but Visual Studio needs to create files to load and execute the project and it doesn't know how to do that inside the zipped package.

Unzip the project's files and you should have no problems.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old November 1st, 2012, 03:47 PM
Registered User
 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to open .sln in Visual C# Express

I had a similar problem. I unzipped the source code, and I can open the .cs files, but I can't open the .sln in VS. I get the mesage "project unloaded".

Thanks.
 
Old November 1st, 2012, 04:17 PM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I don't know if I've seen that error message before.

Do you see all of the files including the subdirectory and its files? Which version of Visual Studio are you using?
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old November 1st, 2012, 04:23 PM
Registered User
 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes. I see all subfolders and files. I am using Visual C# 2010 Express.
 
Old November 2nd, 2012, 11:30 AM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Can you email me a screen shot at [email protected]?

Be sure you unzip the project somewhere you have read and write permission. Visual Studio can't manage the project unless it can write more files into the same area.

Can you use the File > Open Project menu command to open the .sln file?

Can you open the .csproj file? (That's the project file. The solution could contain more than the solution file but unless you're working on multiple projects in one solution this would be okay.)

The only other thing I can think of is that a file downloaded from the internet should be marked as from the internet zone. When you try to unzip it, it should ask if you want to trust the file. Does it do that?

Sorry I can't figure out what's wrong. I haven't seen this problem before and can't find any posts on it.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernate examples anupkg2008 Hibernate 2 February 14th, 2008 11:29 PM
examples raheleh BOOK: Beginning JavaServer Pages 0 October 2nd, 2007 12:17 AM





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