Questions tagged [web-site-project]

Web Site "projects" are created by using the File->New Web Site command in Visual Studio. They are very strange and should not be used unless you really need to. In most cases, you should use File->New Project.

Web site projects are projects that encompass a web site that will be available through a device using a browser.

498 questions
10
votes
3 answers

Why does vwd.webinfo always get automatically checked out from source control?

We have a 2008 solution that has a file system website as part of the solution. This solution is under source control with Team Foundation Server. Every time the solution is closed it either checks out a file called vwd.webinfo or attempts to and…
9
votes
1 answer

How do I Build and Publish .Net Website using Azure DevOPs Pipeline

Is there support for building and publishing a .net Website (not a webapp) in Azure Devops?
9
votes
1 answer

Prevent ASP.NET Website project from building certain directories by using Web.config?

While programming, the longest part is a build on my ASP.NET Website project is the "Building directory" process seen below. (Note: I don't have the liberty to turn this into a Web Application with a .csproj build file. Wish I did.) The contents of…
John K
  • 28,441
  • 31
  • 139
  • 229
8
votes
5 answers

Exclude files from web site deployment with msbuild

I have a web site project that I deploy using msbuild. In the project there are some files and folders that are needed for the build (e.g. the web.config part replacement files) but that I don't want to deploy to the target site. The best I could…
Paolo Tedesco
  • 55,237
  • 33
  • 144
  • 193
8
votes
2 answers

Change the location of the node_modules folder

I'm currently trying to migrate an old ASP.NET WebSite project to Visual Studio 2015. I'd like to use NPM/Gulp to automatically compile LESS files to CSS (this task was done by WebEssentials in VS 2013). I added a package.json file to the project to…
M4N
  • 94,805
  • 45
  • 217
  • 260
7
votes
1 answer

Hidden references in visual studio 2010 web site project

When I create a new web site project (not web application) in VS 2010, it seems to have some dlls already referenced. If I try to add System, System.Core, System.Data, I get the error stating that "The Web site is already referencing the assembly…
DevByDefault
  • 664
  • 10
  • 24
7
votes
3 answers

How to create _custom.scss to override variable in Bootstrap 4 alpha 6

I am trying to customize a Bootstrap 4 alpha 6 theme. I want to copy settings from _variable.scss file to _custom.scss to override. But I didn't find _custom.scss file in source code. How do I add this _custom.scss file in my project?
7
votes
1 answer

How to use NuGet packages with an ASP.NET Website on CI Server

I have a number of ASP.NET Web Form Websites (the one with no .csproj file), and I am trying to figure out how to best use NuGet packages with them. When using Visual Studio 2015, adding NuGet packages via the UI works correctly (there is a…
Erick T
  • 7,009
  • 9
  • 50
  • 85
7
votes
2 answers

Visual Studio adds a number to the project name in solution explorer

I have a solution file with a bunch of projects inside it. One of the projects is a Web Site Project. I was going to upgrade from VS2012 to VS2013, and simply opened the .sln file in VS2013. It does work, but for some reason VS renames the project…
Jim Aho
  • 9,932
  • 15
  • 56
  • 87
7
votes
2 answers

Website Project with Team Foundation Server

Is it possible to use a Website Project instead of a Web Application Project with Team Foundation Server? I see that it is easy to add a Web Application but cannot find how to use version control with a Website Project. Any help for this would be…
7
votes
1 answer

Web.config transformation with SlowCheetah and ASP.NET Web site project

I'm trying to use SlowCheetah XML Transforms with an ASP.NET Web site project (not an ASP.NET Web Application Project) in Visual Studio 2010. When I right click on the Web.config file in my ASP.NET Web site project, I don't see "Add Transform" item…
6
votes
2 answers

static website generator

I was recently asked to create a web page using a static website generator, like Jekyll. My question is this: How does this differ from just creating a website using HTML or writing the page as an ASP.net project in Visual Studio? How does it…
jason
  • 3,821
  • 10
  • 63
  • 120
6
votes
3 answers

Debugging Long Compile Times in App_Code directory

I have a website based on the .NET 4.0 ASP.net project template. All of a sudden when I'm rebuilding my solution the App_Code directory takes awards of 3-4 minutes to compile (based on what is displayed in the Output window). There are only about…
bperniciaro
  • 901
  • 2
  • 12
  • 30
6
votes
2 answers

Intellisense missing in App_Code, for bin dlls in Website Project

Any classes I create in the /App_Code or /App_Code/[subfolder] don't have local intellisense. That is - I have intellisense for system dlls such as string.[member] etc. But cannot get it to recogize any classes local to App_Code (including itself),…
Jono
  • 3,949
  • 4
  • 28
  • 48
5
votes
5 answers

Cannot Parse .aspx during WAP Conversion

I've copied over the Web Site files to a new WAP project. Made sure that it compiles and it does. The problem I have is that it can't parse the .aspx pages when I perform a convert to WAP. The error simply says it can't parse the .aspx…
PositiveGuy
  • 46,620
  • 110
  • 305
  • 471
1
2
3
33 34