CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 1/28/2004 7:25:14 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 9 Views: 8 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
10 Items, 1 Pages 1 |< << Go >> >|
davidvl2
Asp.Net User
Dependency assemblies copied on Build1/28/2004 7:25:14 PM

0/0

Hello,

I use Visual Studio .NET 2003 and with a particular project I have this problem. I have a Solution with 3 projects in it:
1: a class library project containing a BLL
2: an asp.net project containing a website
3: a second asp.net project

Projects 2 and 3 reference the project 1 assembly. Now when I select Build Solution or even Rebuild Solution, it builds all my projects correct, but the existing project 1 assemblies in the project 2 and 3 bin folders are not replaced. This is very frustrating because now I have to check everytime whether I upload the correct version of the file.

Is this a 'feature' in VS.NET or is something wrong with my project? I can send the project file if anyone is interested. If it is a feature, I would really like to see this changed in the Whidbey release! (I.e. copy latest version of assemblies a project is dependent on to it's bin folder).

If you have any questions, just ask.

Regards,

David van Leerdam
Fredrik N
Asp.Net User
Re: Dependency assemblies copied on Build1/28/2004 7:33:02 PM

0/0

Have you marked the reference to your class library project to copy the assembly locally?
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
davidvl2
Asp.Net User
Re: Dependency assemblies copied on Build1/28/2004 7:37:26 PM

0/0

Hi Fredrik

How can I do that?

Regards,

David van Leerdam
Fredrik N
Asp.Net User
Re: Dependency assemblies copied on Build1/28/2004 7:53:11 PM

0/0

In you web project, select the reference to the other projects and click on the right mouse button and select properties, check if option "Copy Local" is true. If not change it to true.


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
davidvl2
Asp.Net User
Re: Dependency assemblies copied on Build1/28/2004 8:01:16 PM

0/0

Hmm. Didn't know this. However, on both asp.net projects this value is True.

Regards,

David van Leerdam
yugangw
Asp.Net User
Re: Dependency assemblies copied on Build1/31/2004 3:24:49 AM

0/0

Hi David,
I hope I can provide some help in this case.
Some questions:
a. If you delete class library's assembly in the bin folder of one asp.net application, build solution, and please check whether new assembly is copied into bin folder of asp.net application. In the output window, can you verify no error reported?
b. What is the language of asp.net application and class library?
c. If you re-open the solution, does it still repro?
d. Can you add class library and two asp.net application in a new solution and verify it still repro? If not, I might need your solution files

I have VS 2003, and I can't repro. But I do have interest to nail it down
Thanks a lot
Yugang



davidvl2
Asp.Net User
Re: Dependency assemblies copied on Build2/4/2004 4:47:19 PM

0/0

Hi Yugang,

Thank you for your time. Here are my questions.

a. Everything builds fine, no errors. Files get copied.
b. VB.
c. Yes.
d. Same problem after copying the class libraries folder to my new blank solution folder, adding this class library project to the solution and copying the 2 asp.net projects to the new solution.

My server is a Windows 2000 Professional machine with IIS and .NET 1.0 and 1.1. The project is a converted 1.0 project (can't remember whether I had this problem with VS.NET 2002 already).

Regards,

David van Leerdam
yugangw
Asp.Net User
Re: Dependency assemblies copied on Build2/5/2004 3:24:04 AM

0/0

Let me confirm my understanding is correct
For question a: you did get new binaries updated if you delete the old one first. But you can't get binaries updated if you have old one there. Correct?
Thanks
Yugang
davidvl2
Asp.Net User
Re: Dependency assemblies copied on Build2/5/2004 10:40:49 AM

0/0

Hi Yugang,

That's correct.

Regards,

David van Leerdam
yugangw
Asp.Net User
Re: Dependency assemblies copied on Build2/9/2004 6:29:51 PM

0/0

Hi David,
If it is possible, could you please sent me the project files? My alias is yugangw at microsoft dot com.
Thanks
Yugang
10 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Dependency assemblies copied on Build - ng.asp-net-forum ... Dependency assemblies copied on Build, > ROOT > NEWSGROUP > Asp.Net Forum > ... Dependency assemblies copied on Build. 1/28/2004 7:25:14 PM. 0/0. Hello, ...
2 GWIAs to 1 - novell.support.groupwise.6x.install-setup - Web ... 2 GWIAs to 1, > ROOT > NEWSGROUP > Novell Forums > novell.support.groupwise.6x.install-setup, Date: 10/6/2003 ... dependency assemblies copied on build ...
Error: the dependency 'file' in project 'project' cannot be copied to ... ... between references; more than one distinct dependency with the same file name being copied to the bin directory for the ... 'assembly' Could not copy built ...
COM Interop unregistration failed A problem occurred when trying to unregister an old copy of the assembly. ... Could not bind to dependency 'assembly' Could not copy built outputs to the Web ...
Chapter 12. Maven Assemblies ... ship off a copy of your project which people could build from source. ... zip</type> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId> ...
Scott Hanselman's Computer Zen - "The dependency whatever.dll cannot be ... ... bad to have multiple copies of assemblies floating around in your solution's folder structure. ... is use a post build event to copy the dll's to a common ...
Nabble - Apache Geronimo - Dev - GEP Build Error for revision 683248 GEP Build Error for revision 683248. Hi, I am getting a missing dependency error while trying to build GEP. Any suggestions on getting this artifacts rather...
Sandcastle Help File Builder - Discussions Build started at 28.11.2007 18:29:16. Clearing working ... the fact that SCHFB copies all stated dependency assemblies into the same temp working folder. ...
Build functions and utilities ... dependency, and there is a default .SCANNER rule, the build will ... File suffix for an assembly file (default is .s on Unix, and .asm on Win32). EXE ...
Jack Hanison's Blog : Dependency not found issue when building BizTalk ... When you build a BizTalk 2006 project, you might get build output containing warnings such as: Updating ... of the BizTalk assemblies has been added ...
Building Sandcastle Documentation with Team Build " Grant Holliday This means it automatically includes all assemblies that have been built. ... Path to copy the template SHFB project file to, before modifying it for the ...



 
All Times Are GMT