?
Solved

Copying website not copying in visual studio 2010

Posted on 2012-09-17
4
Medium Priority
?
510 Views
Last Modified: 2012-09-30
I have  a website and I am using the Copy Website option to copy it to multiple servers.

On the left, I have a file with a date older than the one on the right. And another file with a date newer than the one on the right.

But the one on the right shows an arrow pointing left like I need to copy it to the left, even though the first file on the left is identical to the one on the right -- it's just that the first time it was copied it kept the date of the copy date instead of the file creation date. And the second file on the left is newer than the one on the right, but the one on the right shows an arrow to the left that it should be copied.

If I did what it says I'd be wiping out my coding changes!

Even if I select the directory and click to copy on the right, it ignores the fact that the one on the left has a newer date and does not copy it at all.

So none of my changed files are being copied at all.

I copy this to two different servers, which may or may not be messing up the little "logs" that track the copied files.

How do I clear things out and make sure new stuff is copied to the right, etc. as it should be?

thanks.
0
Comment
Question by:Starr Duskk
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 38411066
What are the properties for the file, when selected in the Solution Explorer, and viewed on the Property Window?

There are two important values (Build Action and Copy to Output Directory).
0
 
LVL 2

Author Comment

by:Starr Duskk
ID: 38430168
the only property is the Full Path.

There is no build action, etc.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 38430306
The Build Action needs to be Content in order to get deployed.
0
 
LVL 2

Author Comment

by:Starr Duskk
ID: 38449250
This is not helping. I'm just closing this out.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question