Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6242573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:58:48+00:00 2026-05-24T11:58:48+00:00

Our vendor-created platform is asp.net based and I am developing customizations in the form

  • 0

Our vendor-created platform is asp.net based and I am developing customizations in the form of web user controls (ascx) that the product will host.

I have the web portion of this web product on my dev pc and it looks something like this generic representation:

C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule  [ascx files here]
C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\Scripts [js files here]
C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\StyleSheets[css files here]

I decided to create my VS 2010 project like this:

C:\Inetpub\wwwroot\VendorApp\WebParts\CustomControls.sln
C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\CustomControls.csproj
C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\ [custom ascx and code behind]

I created it as a web application so that VS plays nice with ascx designer/intellisense although I deleted web.config etc since I actually test and debug through the vendor’s site in IIS

This works reasonably well however I must reference js and css relative to this path:

<script type="text/javascript" src="WebParts/ServiceModule/Scripts/jquery-1.6.2.min.js"></script>

The problem is that VS complains that the path is invalid and refuses to allow jquery intellisense.

My current fix is to create sub folders below the project to mimic the path the VS is seeing. Jquery intellisense works and VS stops complaining. The downside is file duplication:

C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\WebParts\ServiceModule\Scripts\ [copy of any js I use]
C:\Inetpub\wwwroot\VendorApp\WebParts\ServiceModule\WebParts\ServiceModule\StyleSheets\ [copy of any css I use]

Is there a better way to solve this problem? It isn’t a huge deal since only one copy of the scripts/css will actually deploy to production but this is still seems untidy from project/TFS point of view.

I’ve looked into the jquery vsdoc files but I don’t think I need them since intellisense works perfectly as long as VS thinks the path is correct. I also considered sym links but I am on XP at least until later this year.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:58:50+00:00Added an answer on May 24, 2026 at 11:58 am

    I didn’t find a way to avoid the duplication, but I realized that I can make it a bit more tolerable by adding a post build event to robocopy to the other location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our ASP.NET 3.5 website running on IIS 6 has two teams that are adding
Our site has some very complicated form controls that are submitted and then show
I have a collection (set) of ActiveX controls. I recieved them from our vendor
We have a .net 3.5 web app that consumes third party web services. The
I'm using a medical records system built on an Oracle database. Our vendor just
I'm trying to test a proposition that one of our vendors presented to us
Our dev shop currently uses Visual SourceSafe. We all know how that could end
Our application is interfacing with a lot of web services these days. We have
Our business deals with houses and over the years we have created several business
Our team has some code guidelines that I would like to enforce via stylecop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.