Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 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 October 8th, 2007, 03:16 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't want to be smart, but this error:
Quote:
quote:make sure the application for the project type() is installed
seems to suggest your VS installation is missing something. You get this error when you try to open a .csproj file (for C#) when you only have VB installed, or when you try to open a multi-project Solution file with one of the Express editions.

You may also get it if you try to open a Web Application Project without the required WAP update or VS 2005 SP1 installed.

I don't know the book and I don't know the sample application, but I would check to see if my VS installation matches the book's requirements.

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old October 8th, 2007, 07:42 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Jim can move this over to the books forum if need be.

Imar is quite correct in his deduction. It seems that you do not have the necessary software installed to run the project. You havent, for example, said which IDE you are using. (I have not read the book nor the chapter in question since this is really a code problem and not a problem with the manuscript.)

Can I assume that you are using Visual C# Express since, after all, this is a C# Book? Or are you using Visual Studio 2Kx? In my original post I said that I tested the .sln file in Visual Studio 2005/2008 and also in Visual Web Developer and the solution opened fine. I do not have Visual C# Express installed on this PC but I bet if I try to open that .sln file in VCE I will get the same error that you are receiving.

Here is why: The express products are designed to do very specific things, VCE for example, will allow you to design Console and Windows form applications in C# but not web projects, you need Visual Web Developer to do that. So if you are trying to open the project in VCE it is going to fail since it is not designed to handle web projects (the project in question is a web project).

If you are trying to open it in Visual Studio, as Imar said, you may not have a complete install of Visual Studio and should investigate that.

hth.


================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========
 
Old October 8th, 2007, 07:49 AM
Registered User
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using MS Visual Studio 2005 (not express) and I have checked for any SP from MS.

I did not install all the options including those related to web development as web development is something that I do not know.

I agree maybe I need to re-install and load this option but I am interested in C# not web development and I would contend that the samples should be C# examples not web development examples.



Gmorris59
 
Old October 8th, 2007, 07:59 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

They are C# examples they just aren't C# windows form's examples and that is why you are getting the error. I will agree with you that these should probably be WinForm examples since chapter 28 is titled: Windows Forms but, IMHO, I don't think you can write a general C# book that focus's strictly on Windows Forms since creating web applications is also a big part of what C# can do.

Personaly, if I were looking for a book that was strictly Windows Forms programming with C# I would look for a book something like Professional Windows Forms (although that book is a bit dated I think)

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========
 
Old October 8th, 2007, 08:24 AM
Registered User
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Appreciate your help - it would appear that we have finally got to the bottom of this issue

Gmorris59
 
Old October 8th, 2007, 08:39 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No problem, I have also let Jim know about all of this. =]

Cheers.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Beginning Visual C# 2008
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Samples qjay BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 17 July 13th, 2009 04:10 AM
C# version of the code samples? Berggreen BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 9 June 21st, 2006 08:32 AM
where can i get the samples code edwinomar ADO.NET 2 April 16th, 2004 12:55 PM





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