473,398 Members | 2,125 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,398 software developers and data experts.

Dll reference in Web Application Projects

Hi all,

I'm trying to figure out how references works in Web Application
Projects. We have a third party dll that we use in many projects. I've
created a folder containing that DLL. That way, when we want to update
the DLL, we simply have to update it in that folder and it should
normally be distributed to all the project that have references to it,
and since it will be in our versioning system, people will simply need
to update to get the new version.

Now, my problem occurs with references in Web Application Projects.
I'm not sure which file I should send to our versioning system so that
the reference will be set correctly for everybody in the Web
Application Projects. Since there is now csproj in WebApplication, I'm
unsure of where the referenc is kept. Would sending the .dll.refresh
file to the versioning system keep the reference ok for everybody or
is it done in another way?

Thank you
Simon Picard

Sep 26 '07 #1
3 3380
Hi,

reference is kept in the csproj file. E.g it is told that from which
file/project reference is coming. For example

reference to dll

<Reference Include="nStuff.WebDevHelper.Server, Version=0.5.0.0,
Culture=neutral, PublicKeyToken=8fc0e3af5abcb6c4,
processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\nStuff.WebDevHelper.Server.dll</HintPath>
</Reference>

reference to another project:

<ItemGroup>
<ProjectReference Include="..\MyScripts\MyScripts.csproj">
<Project>{0EF0560C-01A0-4229-9CA0-45A7EB1D620B}</Project>
<Name>MyScripts</Name>
</ProjectReference>
</ItemGroup>

Of course, you would want to put the referenced dll itself also into version
system so that when someone gets updated version, he/she also gets the
updated reference dll.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"drop" <dr**@step.polymtl.cawrote in message
news:11**********************@o80g2000hse.googlegr oups.com...
Hi all,

I'm trying to figure out how references works in Web Application
Projects. We have a third party dll that we use in many projects. I've
created a folder containing that DLL. That way, when we want to update
the DLL, we simply have to update it in that folder and it should
normally be distributed to all the project that have references to it,
and since it will be in our versioning system, people will simply need
to update to get the new version.

Now, my problem occurs with references in Web Application Projects.
I'm not sure which file I should send to our versioning system so that
the reference will be set correctly for everybody in the Web
Application Projects. Since there is now csproj in WebApplication, I'm
unsure of where the referenc is kept. Would sending the .dll.refresh
file to the versioning system keep the reference ok for everybody or
is it done in another way?

Thank you
Simon Picard

Sep 26 '07 #2
Thanks for the tip Teepu but my problem is exactly the fact that I
don't have a csproj file. I'm in a Web Application project which has
no csproj file. I would be really happy if I had a csproj, it would be
much easier.

Simon Picard

Sep 26 '07 #3
Web Application Project is officially the project model with project file.
The other one without - which was default and only one in VS2005 for a
while - is a web site project. :-)

Web Site Project is self-contained (no project files), so all you have on
the site should be enough to keep it up-to-date. E.g including the
referenced dll.

Visual Studio 2005 Web Application Projects
http://msdn2.microsoft.com/en-us/asp.net/Aa336618.aspx

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"drop" <dr**@step.polymtl.cawrote in message
news:11**********************@k79g2000hse.googlegr oups.com...
Thanks for the tip Teepu but my problem is exactly the fact that I
don't have a csproj file. I'm in a Web Application project which has
no csproj file. I would be really happy if I had a csproj, it would be
much easier.

Simon Picard

Sep 26 '07 #4

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

Similar topics

3
by: Petri J. Riipinen | last post by:
Hi, I'm writing a largish (>60 projects) solution with VS.NET 2003 using VB.NET as my implementation language. I'm using NUnit and NUnit VS.NET-addin to implement unit tests for my code. ...
1
by: Tim | last post by:
I have an existing application that has 3 different Projects inside of it. The projects are: Administration, DataAccessComponents, and Utilities. I have added a fourth, a console applications. ...
16
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
6
by: liu | last post by:
Hi all, in my vb.net solution, i have 3 project: 1. Main-this is the startup or the base of my window application. 2. Sales-this is the project that contains all the sales info 3. Product-this...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
1
by: pamelafluente | last post by:
Hi, Assume that I have a web application. I want to be able to use the classes that are in another project (say a Win application) on which I am working at the same time. Is it possible to...
2
by: AMDRIT | last post by:
Hello Everyone, I am having an issue with my solution and hoping that you all can suggest a resolution. I have a common library that (A) that three other projects make reference of (B,C,D). ...
7
by: Annie | last post by:
hello guys, Let is say I have two layers: the GUI web application that has the master page and web forms. and the DAL - Data access layer which is another web application and has been created...
3
by: ma79ash | last post by:
Language :: VS.NET/ C# The type 'frm_data.frm_data' is defined in an assembly that is not referenced. You must add a reference to assembly I have a Frm_sol solution, which consists on 2...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.