I'm trying to publish my final project on ISS7 server and it works fine , but it deletes some sub folder of images uploading. So, I have to recreate folders manually on ISS7 server.
Is there any solution to help visual studio know that these folders are required to run my website? Can I define this on web config?
You need just to Add the sub folders to visual Studio project before your publish it, so the visual studio know that you want these folders.
Related
I'm just starting out with npm. I use visual studio and everything is working great. I've got my packages installed.
How do I go about publishing the website with the node modules? If I publish the site within visual studio 2015 right now, it is missing all the scripts installed via npm.
Do I need to include the npm_modules folder in my project? If so I've tried just to test, and it seems to freeze VS2015 on every attempt. I've failed to find information on how to do this. I'm guessing there is an easy fix that I'm just not aware of.
Thanks!
A brute force solution is to set the following project setting:
tab 'Package/Publish Web
Set 'Items to deploy ....' to 'All files in this project folder
See also this answer:
How to "Add Existing Item" an entire directory structure in Visual Studio?
How do I download the content of a project in Visual Studio TFS? I clicked around and I did not find an easy or intuitive way to do it. It is an old project that I thought had been lost until I reinstalled the latest version of Visual Studio.
You can get the TFS project from Visual Studio. First, you have to connect the project via Team Explorer in Visual Studio then add a server and click 'select team project' and you're done. It is downloaded to your PC.
You can find a documentation here.
EDIT:
Also, if you want to download your code as a zip:
You can click on any ellipsis to find the menu which contains Download as Zip option.
If you merely want an archive of the contents of a folder, you can right-click on the folder in the tree view on the left hand side of the page (in this case, on $/gelsana) and select the option "Download as Zip".
This is suitable for archival purposes. You cannot check-in changes made using this option.
Is it possible in Visual Studio to view a log of when a website was published? We had a situation where the directory for our website was deleted with the exception of a "styles" subfolder.
Trying to determine if it was a failed publish by Visual Studio or another cause. The remaining "styles" folder had a last modified date so it would be helpful to know if it matched with the Publish time.
I've created a C# project and wanted to publish it. As working in MS Visual studio 2012, I followed the 'How to publish : http://msdn.microsoft.com/en-us/library/31kztyey.aspx '.
So i selected all the right folders on my file share device, and it build well.
But after i installed the project through the setup.exe, i try to run the .appliction but it doenst show me the form i created, while in taskmanager the process with the description 'Vshost32.exe' can't be killed, if i say 'end process' it reappears, but still doenst show me my project.
I ran the project (before publishing) in both debug mode and release mode. I tried to publish via cd-rom instead of file-share, but same problem appeared.
How can i publish my poject now for other company members without MS Visual Studio on our file share device, so they can also run it ? ( i don't think, simply copying the .exe out of the bin\release folder is a clean way to do it)
I have VS2012 Express Web installed on my machine and can create all different kinds of Projects with exception of MVC3/MVC4 apps. When I click OK on the New Project dialog I get the Select A Template dialog. I notice that the Create a Unit Test Project checkbox is Disabled. Selecting any of the choices (such as Internet Application) gives me this same error: The system cannot find the file specified (Exception from HRESULT 0x80070002).
I have uninstalled and deleted the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VWDExpress\ProjectTemplatesCache and ItemsTemplateChache - and after removal deleted the entire VWDExpress directory so the fresh install would recreate all the templates. I've tried both the web-installer as well as the .iso installer. Has anyone seen this problem or have any idea why I can't create MVC3/MVC4 projects?
Any thoughts would be greatly appreciated. I have posted to the MSDN Newgroup and not had any luck there.
regards,
Bill
I had the same problem with a full installation of Visual Studio 2012. Uninstalling Visual Studio and everything it came with (SQL Server localDB, Silverlight SDKs etc), restarting, then reinstalling Visual Studio made it work.
Prior to re-installing, I ran ProcessMonitor during an attempt to create an MVC4 app and it kept trying to find an "extension.vsixmanifest" file but couldn't. I'm not sure which one, since I didn't try reinstalling all my extensions; maybe that will help.