dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Simple issue with web service

  1. #1
    Join Date
    Jun 2006
    Posts
    645

    Simple issue with web service

    Hi all,
    I have a solution with 3 projects. Two of these 3 projects are windows dll projects. One is Data access layer project and the other is a core project. The third project is a webservice which contains .asmx files and respective .cs files that reference the 2 class libraries. Let us say the physical paths of the solution, webconfig and web service files are:
    D:\...\MyWebApp\
    D:\...\MyWebApp\Web.config
    D:\...\MyWebApp\WebService.asmx
    Now, when the website is build, another directory is created inside the working directory as:
    D:\...\MyWebApp\MyWebApp\
    And in this file, it makes copies of all the folders and files in the parent MyWebApp directory. I do not know why it does this? Ideally, it should only have references to the dlls and pdbs and those should rest in bin directory of the ewb application. Now, the problem arises with this when there is any change made to a file and checked in source control. If the changes are made to the class library .cs files, those are not updated in the child MyWebApp directory due to its read only status put by source control. Hence there are multiple errors.
    What I want is, the application should create a child MyWebApp directory, but should only copy necessary files in it. Further more, there is a grand child directory in child MyWebApp directory as well that is being created with the same files being copied.
    D:\..\MyWebApp\MyWebApp\MyWebApp\
    I believe there is a way to set the references right and organize the directory structure for this application. Any clues are much appreciated.
    Thanks,
    Bhushan

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,248

    Re: Simple issue with web service

    Change the project options and set the output folder for each of the project.

    Point them as appropriate to get the binaries to go where you need them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)