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? 3 1956
On Fri, 19 Oct 2007 10:46:01 -0700, Richard
<Ri*****@discus sions.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
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*****@discus sions.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
On Sat, 20 Oct 2007 09:17:01 -0700, Richard
<Ri*****@discus sions.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*****@discu ssions.microsof t.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 folder, I say OK and the output
reads:
Publish: 1 succeeded, 0 failed, 0 skipped.
So why is my bin folder empty? And no ASPX files either (I am leaving the
editable option checked). I can publish locally. What I would like to do is
set the...
|
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 only way to go and
it's the 'MS' way to do it
I've had nothing but trouble trying to do this, many times, with different
errors popping up, either in publishing, building before publishing, or
running after publishing...
|
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
question is: how can I control the path in which the program gets
installed?
2. When I install a new version of the program all the files in folder
of the program get deleted, including files that are not overriden by
newer versions. How can...
|
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 I'd use the publish utility and pre-compile my site, but
make it updateable. I thought I would be increasing the access time
for each page. Here is what I've found.
1. If I publish a pre-compiled, updateable version of the site, it
takes 50...
|
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 can I add *.ashx files to
the publish target?
| |
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 converted the doc to html
and copied it to the project's directory. I also copied the page's _files
directory with all the associated graphics files. I included the html, the
directory and all the files into the project. I set the Build Action...
|
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 direct link to the data, and in order to update it, you must republish. I am referring to the HTML Format. The second format, IDC, is an older, obsolete technology that runs on Microsoft web Servers. IDC has limited functionality, no script language...
|
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 threads to process files. It misses
firing different threads every time I run it. I suppose it all
depends on the time-slice it is getting at that moment (or I may be
way off base here). What I mean by "misses" is that the "foreach"
loop appears to...
|
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.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |