I have asp.net mvc 5 application and websetup project in a VS2013 solution. I have added the asp.net mvc5 application as the Project output for the web setup project. Now I have web.config files for Areas, Views section. I have set them with Build Action = Content and Copy to Output Directory = Copy Always. On building the web setup project and deploying it to web server ,I see that there are no web.config files for Areas, Views section in the output. Can anyone help me to know how to resolve this issue ?
Copy to Output Directory = Copy Always not working for VS2013
2.2k views Asked by santosh kumar patro At
1
There are 1 answers
Related Questions in VISUAL-STUDIO-2013
- Alternative for nextafter when backporting to visual studio 2013
- Visual Studio 2013 Crystal report error "MIssing parameters Values"
- Visual Studio 2013 Crystal report 13.0.8 do not open
- Open Visual Studio 2012 solution in Visual Studio 2013
- SSRS DataTransform property in VS 2013 produces no output
- Virtual method with default parameter changed behavior
- why return nothing when i want to read password( CredentialBlob ) from credential manager in windows with type CRED_TYPE_DOMAIN_PASSWORD
- "This project is incompatible with the current version of Visual Studio" (VS2013)
- How to install AJAX in Visual Studio 2013
- "Package Installation" error on Visual Studio project load
- Choosing the user's installation folder of a program deployed with Visual Studio
- Running C++ dll in C# for calling functions
- Install multiple SAP Crystal Reports versions?
- Error "Cannot open source file" always occurs on Visual Studio Platform Toolsets v120_xp
- How to build Google test in Visual Studio 2013?
Related Questions in ASP.NET-MVC-5.2
- Partial view dropdown contents filtered by other dropdown selection
- I got stuck on ModelState.IsValid in ASP.NET MVC
- Partial View error HttpServerUtility.Execute blocked while waiting for an asynchronous operation to complete
- Routing cannot map action parameters correctly
- How to write a general rule to redirect all user urls to one valid Url by using asp.net mvc 5?
- Is it possible that an ASP.NET httpContextBase ever be null? or Request? or UserAgent?
- MVC application under NGNIX rule to run application with virtual directory URL
- unable to redirect to the line from where the action method is called in mvc
- ASP.NET MVC error cannot convert lambda expression to type 'string' because it is not a delegate type
- Server.GetLastError() returns null when Internal Server Error (500) occurs
- How to convert MVC5 project to SDK style
- How to set 2 routes point to the same controller in ASP.NET MVC 5
- Authenticate Asp.net 4.7.2 application to Azure AD using x509 certificate
- C# ASP.NET API constructor looping on WIndows Server 2008 R2
- How to custom validate specific data type system-wide in Aspnet MVC5?
Related Questions in WEB-SETUP-PROJECT
- during web setup deployment how to create Application pool and attach to the current application for which web setup is running
- Web Setup - VS2022 - Hosting Bundle Prerequisites
- Web Setup Project on Visual Studio 2022 - Unable to open project error
- Setup .net 5 project without web.config after installation
- Visual Studios Web Setup Project
- Couldn't find my Api-key in my firebase console for my flutter project sign-up authentication
- Overriding Custom Actions in a Web Setup Installer
- Error during Web application deploy using windows installer
- Tutorial on how to setup multiple laravel 5.1 apps in one project
- Visual Studio Setup and Deployment Projects - Web Setup Project and IIS
- Copy to Output Directory = Copy Always not working for VS2013
- Install as a Website not a Virtual Directory
- How do you get an installer to pause / allow validation?
- Using a Web Setup Project how can I create a new website in IIS NOT in the Default Site?
- How do you modify a Web Setup Project to create a new website, app pool and virtual directory?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The typical setup for an ASP.NET web project does not require copying the web.config to the build folder.
You could selected Build Action "Content" and Copy to Output Directory "Do not copy"
If you Publish your project, the content files will be published. They will not be placed in the bin folder, but rather alongside the app where IIS expects them. The publish step may produce output similar to the following.
Publishing folder bin... Publishing folder Content... Publishing folder Scripts... Publishing folder Views... Publishing folder Views/Home... Publishing folder Views/Shared…
If you must use WebSetup (instead of Publish) to deploy the web app, you will want to add the necessary files to the WebSetup FileSystem tab (including content and output).