473,487 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Publishing Misses .pdf Files

I have a solution with multiple web apps. Some of the web apps have folders
containing .pdf files, etc. When I publish any of these web apps, the .pdf
files do not get copied; I have to remember to copy these files over manually.

Ideally I would like to keep the "Only files needed to run the application"
selected. I've selected the "All files in source project folder" which not
only brings in too much, but it fails because the SourceSafe .scc files
cannot be overwritten during publishing.

Is there a .manifest, .config or .ini file I can edit to tell Visual
Studio's publish process to include these types of files during publishing?

Oct 19 '07 #1
3 1941
On Fri, 19 Oct 2007 10:46:01 -0700, Richard
<Ri*****@discussions.microsoft.comwrote:
>I have a solution with multiple web apps. Some of the web apps have folders
containing .pdf files, etc. When I publish any of these web apps, the .pdf
files do not get copied; I have to remember to copy these files over manually.

Ideally I would like to keep the "Only files needed to run the application"
selected. I've selected the "All files in source project folder" which not
only brings in too much, but it fails because the SourceSafe .scc files
cannot be overwritten during publishing.

Is there a .manifest, .config or .ini file I can edit to tell Visual
Studio's publish process to include these types of files during publishing?
Try including the pdf files in your projects, and be sure to set the
build action as content in the properties window

--
http://bytes.thinkersroom.com
Oct 19 '07 #2
Thanks Rad. Setting the build action to content was the key.

"Rad [Visual C# MVP]" wrote:
On Fri, 19 Oct 2007 10:46:01 -0700, Richard
<Ri*****@discussions.microsoft.comwrote:
I have a solution with multiple web apps. Some of the web apps have folders
containing .pdf files, etc. When I publish any of these web apps, the .pdf
files do not get copied; I have to remember to copy these files over manually.

Ideally I would like to keep the "Only files needed to run the application"
selected. I've selected the "All files in source project folder" which not
only brings in too much, but it fails because the SourceSafe .scc files
cannot be overwritten during publishing.

Is there a .manifest, .config or .ini file I can edit to tell Visual
Studio's publish process to include these types of files during publishing?

Try including the pdf files in your projects, and be sure to set the
build action as content in the properties window

--
http://bytes.thinkersroom.com
Oct 20 '07 #3
On Sat, 20 Oct 2007 09:17:01 -0700, Richard
<Ri*****@discussions.microsoft.comwrote:
>Thanks Rad. Setting the build action to content was the key.

"Rad [Visual C# MVP]" wrote:
>On Fri, 19 Oct 2007 10:46:01 -0700, Richard
<Ri*****@discussions.microsoft.comwrote:
>I have a solution with multiple web apps. Some of the web apps have folders
containing .pdf files, etc. When I publish any of these web apps, the .pdf
files do not get copied; I have to remember to copy these files over manually.

Ideally I would like to keep the "Only files needed to run the application"
selected. I've selected the "All files in source project folder" which not
only brings in too much, but it fails because the SourceSafe .scc files
cannot be overwritten during publishing.

Is there a .manifest, .config or .ini file I can edit to tell Visual
Studio's publish process to include these types of files during publishing?

Try including the pdf files in your projects, and be sure to set the
build action as content in the properties window

--
http://bytes.thinkersroom.com
Awesome! All the best!

--
http://bytes.thinkersroom.com
Oct 22 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1104
by: Nate | last post by:
Hello, I am using VS2005 and am publishing my site to a remote server. The process appears to succeed. I am warned by visual studio that the publishing process will delete files in the destination...
2
1335
by: Elmo Watson | last post by:
Since I came from the HTML world many years ago - I am just in the habit of copying/FTPing all my ASP.Net websites to the remote server However, I have a friend who says that Publishing is the...
2
1835
by: dani kotlar | last post by:
I have two questions concerning publishing and installation: 1. I used the publish wizard to publish an application. The application gets installed on the target computer in some obscure folder. My...
5
1857
by: rmgalante | last post by:
I've been using the VS2005 Publish utility on one of my projects for about six months. I have a large site with hundreds of files, thousands if you include the code behind files. So I thought...
2
6342
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
0
1190
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I have not tried this before. I have been building an ASP.Net 2.0 app for some weeks now and up till now I have not had any problems publishing. I was given a Word doc to include in the app. I...
7
12285
ADezii
by: ADezii | last post by:
There are essentially three techniques for publishing Access Data on the Web. The first technique is static, and does not allow for the dynamic addition or modification to the data, There is no...
4
1258
by: jake | last post by:
I am new to multi-threading. Here is my scenario: foreach (<file in a certain folder>) new Thread((ThreadStart)(delegate { processFile(<file>); })).Start(); sometimes misses firing some...
0
2123
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I have a publishing Click Once of my application. Now I want create new version of my application for modify some files, like app.config.
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7349
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5442
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
267
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.