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: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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
Thread Tools Display Modes
  #1 (permalink)  
Old January 10th, 2009, 10:56 AM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default Please help: Can't create file

I'm going through the book, building the website chapter by chapter (I downloaded the chapters 2-5)

My project isn't reading the project file that I created and added to the websolution. I added the project and the reference.

Looking at the chaper 3's solution, when the website with the project added is loaded, it shows the following

Under the Beerhouse web Solution:


Then under that Class file:



When I open that file, it contains the following code:

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Compile Include="CustomEvents.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.target s" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
<Target Name="AfterBuild">

If I double click on that file, then the properties window view switches to "XML Document", and shows a "Schemas" path for it.

If you open just Chapter 3's project file ("TBHCustomEvents.csproj") alone, there is no sub-file with that code. It looks like my project - i.e., there is no "TBHCustomEvents.csproj" in the list of files.

So apparantly at some point after adding the customevent project to the websiteSolution, I guess this file is supposed to be made or added? But I don't know what to do to get my websolution to add this file.

I also don't know why when their file is added, its added as TBH_CustomEvents rather than TBHCustomEvents?? They have two project files, one as it was built by itself (which looks like mine and same name as mine - "TBHCustomEvents.csproj" ), and then the other with the name "TBH_CustomEvents.csproj" which when double clicked, opens the entire solution as added to the websolution. If you double click on the "TBHCustomEvents" file, then only the project file opens. I don't know how to create a similiar "TBH_CustomEvents" that will open WITH my solution.

Can someone please help? I've been stuck trying to resolve this a day and a half now and can't get any further in the book until I work it out.


Last edited by Rachel; January 10th, 2009 at 11:02 AM.

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
create Exec File angelboy Java Basics 4 January 23rd, 2008 02:10 AM
how can i create file using php seco PHP How-To 1 April 11th, 2007 05:58 PM
File.Create C# everest General .NET 1 September 6th, 2005 07:48 PM
create xml file using c# kk_katepally General .NET 2 February 11th, 2005 01:59 AM
Trying to create MDE file sburgess Access 1 February 1st, 2005 04:44 PM

All times are GMT -4. The time now is 04:26 AM.

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