473,399 Members | 4,177 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,399 software developers and data experts.

Team Build, 3rd Party References, and Web Deployment Projects

Hi All,

This may have been posted before and such, but I tried a few solutions
on the web but to no avail.

Problem: I have a web projects (not Web Application Project) with many
project references and a few 3rd party references. The 3rd party
references are automatically added to the web.config file as another
<add assembly/element via the VS.NET 2005 IDE.

The 3rd Party References are within Source Control not under the
solution file node. e.g.

Source Control Structure:

$/Code/MyCode/MySolution.sln
$/Code/MyCode/MyNameSpace/WebProject/$/Code/MyCode/MyNameSpace/MyProj1/MyProj1.csproj
$/Code/MyCode/MyNameSpace/MyProj2/MyProj2.csproj
$/Code/ReleasedAssemblies/ThirdParty/Microsoft
$/Code/ReleasedAssemblies/ThirdParty/CrystalReports

I am using Team Build and have added a Web Deployment Project to the
solution. I am building into a Relase|Mixed Platform Mode with the RTM
Version of TFS.

I manually copied the all the 3rd party refs to the Team Build Server
into a ReleasedAssemblies folder where I could easily reference those
assemblies with Team Build.

I tried Manish's fix to add the "AdditionalReferencePath" to
TFSBuild.proj.
http://blogs.msdn.com/manishagarwal/...05/477363.aspx

I put this line in my TFSBuild.proj:
<AdditionalReferencePath
Include="$(BuildDirectoryPath)\ReleasedAssemblies\ ThirdParty\CrystalReports\"
/>

But that did not resolve the issue of:
web.config(113): error ASPCONFIG: Could not load file or assembly
'xxx.xxx.xxx, Version=x.x, Culture=neutral,
PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system
cannot find the file specified.

What is the proper and best method of referencing 3rd party references
within web projects (Not Web Application Projects) using Team Build?

I supply more info if required?

THanks

md

Aug 11 '06 #1
1 2021

After more digging.

The Build is failing @ compiling wdproj when executing
ASPNET_Compiler.exe becuase it can not find those 3rd party references
indicated in the web.config file.

Found that the ASPNET_COMPILER.Exe does not have a reference attribute
per se like csc.exe. A target <ResolveAssemblyReferences>, located in
the Microsoft.WebDeployments.targets file, was called before the
ASPNET_COMPILER.Exe step. This should have resolved all dependencies,
but apparently it doesn't look like the 3rd party references listed in
a web.config file isn't read by that target.

Does anyone think this is a bug? Or is it by design? What is the
purpose of that if so?

I might have to install all these 3rd Party references into the GAC,
but one shouldn't have to do that.
OR
Write a custom target to override the current <AspNetCompilerTarget
to copy those assemblies into the _PublishedWebsites folder.

Which way is better??? I would imagine writing a custom target is
better.

Regards,

md

Aug 14 '06 #2

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

Similar topics

7
by: Dave L | last post by:
I have a VB.NET 2003 solution with several Windows forms projects and a deployment project. All of that works ok. I need to run an external script or program during the build process. It could...
1
by: Claire | last post by:
In our application we've used several 3rd party windows form controls that were installed into their own individual directories. We have to avoid using the GAC, all our dlls should be found...
0
by: George Harig | last post by:
While building my deployment project I receive the following error Unable to build folder named "FOLDER_NAME". My projects compiles fine, the deployment project dose not. Are there any rules...
4
by: Dave Diehl | last post by:
Has anyone heard of a problem with a rebuild of one application causing a problem with another app on the same server? I have two asp.net applications on the same Win2000 server, each with it's...
7
by: Rick | last post by:
I'm sorry for posting this here, but other more relevant groups are a little too quiet. Has anyone out there come up with an effective strategy for using VSS with a development team? IME it is a...
1
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class...
10
by: Joe | last post by:
Based on what it says in the subscribers downloads for Team Suite I would think it would be there. Can it be downloaded separately or is it just the Workgroups one? Visual Studio Team System...
1
by: Shawn B. | last post by:
Greatings, I started using the Team Developer version of Unit Testing and the Team Developer version of Code Coverage. One thing I really like about it is that I can create my Unit Tests in a...
1
by: Joseph Geretz | last post by:
Our application consists of a suite of webservices. Depending upon application area, different methods are grouped into separate webservice projects, and are developed and maintained by separate...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
marktang
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,...
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
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
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...
0
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,...

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.