473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to keep 3rd party files from disappearing upon precompile

Hi all.
Up until recently I have been simply copying the website project to the
server such that all files on my development machine are included and the
site works as expected.

Now that the site is near completion, I tried depoying the precompiled
version and discovered that some files are missing.

I use some 3rd party tools that require their license files to be in the
same folder as their associated assemblies, in other words the BIN folder.

When I uploaded the precompiled version, I discovered that the 3rd party
assemblies were present but their License files were gone. Is there any way
to tell VS that I want to include some files "as is" in the BIN folder so
that I don't have to upload them separately after each precompile
deployment?

TIA
Aug 29 '08 #1
2 1055
Create a folder

/ThirdPartyReferences/

Put you dll and licenses there (as the source files).

Adding a reference to Some.DLL will copy the files into bin automatically.

Use "POST BUILD EVENTS" to copy the license files.

Don't use "/bin/" for source control.


"John Kotuby" <jk*******@comcast.netwrote in message
news:O6**************@TK2MSFTNGP04.phx.gbl...
Hi all.
Up until recently I have been simply copying the website project to the
server such that all files on my development machine are included and the
site works as expected.

Now that the site is near completion, I tried depoying the precompiled
version and discovered that some files are missing.

I use some 3rd party tools that require their license files to be in the
same folder as their associated assemblies, in other words the BIN folder.

When I uploaded the precompiled version, I discovered that the 3rd party
assemblies were present but their License files were gone. Is there any
way to tell VS that I want to include some files "as is" in the BIN folder
so that I don't have to upload them separately after each precompile
deployment?

TIA

Aug 29 '08 #2
Thank you Sloan

"sloan" <sl***@ipass.netwrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
Create a folder

/ThirdPartyReferences/

Put you dll and licenses there (as the source files).

Adding a reference to Some.DLL will copy the files into bin automatically.

Use "POST BUILD EVENTS" to copy the license files.

Don't use "/bin/" for source control.


"John Kotuby" <jk*******@comcast.netwrote in message
news:O6**************@TK2MSFTNGP04.phx.gbl...
>Hi all.
Up until recently I have been simply copying the website project to the
server such that all files on my development machine are included and the
site works as expected.

Now that the site is near completion, I tried depoying the precompiled
version and discovered that some files are missing.

I use some 3rd party tools that require their license files to be in the
same folder as their associated assemblies, in other words the BIN
folder.

When I uploaded the precompiled version, I discovered that the 3rd party
assemblies were present but their License files were gone. Is there any
way to tell VS that I want to include some files "as is" in the BIN
folder so that I don't have to upload them separately after each
precompile deployment?

TIA


Aug 29 '08 #3

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

Similar topics

119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
1
by: R0bert Neville | last post by:
My web page has one unordered list that disappears in Firefox. The unordered list in question has the class="dir". I double-checked the source code and verified the markup's semantics. Everything...
2
by: Shimon Sim | last post by:
I tried to use Precompile.axd to compile my site but got HTTP404 (The resource cannot be found) instead. I am running ASP.NET Version:2.0.50727.42 .. Any suggestions? Thank you, Shimon.
3
by: Bragadiru | last post by:
Hi, My WebServices project was converted by VS 2005 to its new format : *.asmx.cs files are in AppCode folder. Everything works fine, but now, when I'm deploying my WebServices => the WebMethods...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file,...
3
by: Scott M. | last post by:
Scenario: ASP .NET 2.0 Web "Site" All but one page is written using inline VB .NET code. One page is written using VB .NET code-behind. MSBuild options are set at the default (allow pages to be...
0
by: Pedro Vera | last post by:
Greetings, I have a plain VS 2005 VB.net solution that holds a single web site. The web site builds fine when I run it locally, and if I copy it as-is to my remote server everything runs. The...
1
by: Gabriel Pineda | last post by:
hi everybody, i have an issue for you: i have an operative site wich i'm trying to precompile to protect the code that will be installed on client. the issue is: if i run the precompile...
10
by: stephanieb | last post by:
We are having a problem with files in users home folder disappearing. None of the folders or files in the folder disappear. Only files directly under their user folders disappear. We are able to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
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,...

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.