Reputation: 4617
I have a website which was created using Microsoft Visual Studio 2010.
I want to copy the website onto a CD so that my professor can run it on his computer.
However, since Visual Studio creates the solution of the website in My Documents/Visual Studio 2010/Projects, I cannot simply copy the website folder only.
What is the best way to transfer a copy of this website please? Thank you and all the best for the new year.
Upvotes: 1
Views: 4645
Reputation: 3690
You have to search My Documents/Visual Studio 2010/WebSites/ And obviosly, u should find there the website of your solution. It is needed to copy the website folder and solution folder of your site from VS2010/Projects and /Websites folders to your professors' computer.
This way is right if your professor has VS 2010 installed.
Upvotes: 0
Reputation: 6021
If your professor needs only to run it on his environment, you can use "Publish" feature of Visual Studio 2010 and choose the file system as the target.
Then burn the published folder.
He then will be able to copy it from the CD to his Microsoft.NET enabled application server and run it.
Upvotes: 0
Reputation: 29935
Of course you can copy the folder. It will make the website in a folder within projects
and you will be able to copy this folder onto a CD. When you run the website you can see where it is stored, if you look into the address bar of your web browser it will say something like c:\Users\You\Documents\Visual Studio 2010\Projects\MyWebsite\index.html
. In this case the folder you need to copy is c:\Users\You\Documents\Visual Studio 2010\Projects\MyWebsite\
- instruct your professor to open the folder and select index.html
.
The question is, have you used something other than just HTML and CSS to do this? Its probably a stupid question as if you have used ASP or similar to create the website you would probably also have the knowledge to copy said website. In the off chance that you HAVE used ASP or similar you will need to put this website onto a server that runs ASP.
However, if you've just used Visual Studio to lay out the website and put in some content and such, then its most likely all the files are images, HTML and CSS which will happily run off a CD.
Upvotes: 2
Reputation: 28936
Upload it to a cheap or free hosting provider and send the URL to your professor. If necessary, you can password-protect the site to prevent access by unauthorized third parties.
Upvotes: -1