473,322 Members | 1,241 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,322 software developers and data experts.

Sharing compiled web assemblies between developers?

All done in ASP.Net 2.0 using VB...

The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.

All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.

What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.

--
Gregory Gadow
Sep 15 '06 #1
5 1439
Generally what I do is add the latest build of it to the Solution Items
folder in the VS Solution, and check it in. Then other devs can get latest on
it, and set a reference in their own working solution.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Gregory Gadow" wrote:
All done in ASP.Net 2.0 using VB...

The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.

All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.

What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.

--
Gregory Gadow
Sep 15 '06 #2
Peter Bromberg [C# MVP] wrote:
Generally what I do is add the latest build of it to the Solution Items
folder in the VS Solution, and check it in. Then other devs can get latest on
it, and set a reference in their own working solution.
I am not familiar with a specific Solution Items folder. The library is in a
separate solution in Source Safe, and the compiled DLL is in the bin folder of
the web app.

--
Gregory Gadow
te******@serv.net
"Gregory Gadow" wrote:
All done in ASP.Net 2.0 using VB...

The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.

All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.

What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.
Sep 18 '06 #3
Just right-click on the Solution (very top) node in Solution Explorer and
choose "Add item".
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Gregory Gadow" wrote:
Peter Bromberg [C# MVP] wrote:
Generally what I do is add the latest build of it to the Solution Items
folder in the VS Solution, and check it in. Then other devs can get latest on
it, and set a reference in their own working solution.

I am not familiar with a specific Solution Items folder. The library is in a
separate solution in Source Safe, and the compiled DLL is in the bin folder of
the web app.

--
Gregory Gadow
te******@serv.net
"Gregory Gadow" wrote:
All done in ASP.Net 2.0 using VB...
>
The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.
>
All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.
>
What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.

Sep 18 '06 #4
Peter Bromberg [C# MVP] wrote:
Just right-click on the Solution (very top) node in Solution Explorer and
choose "Add item".
Pardon my missing the obvious, but add what? The DLL itself, even though it is
already in the bin folder of the project? All that did was put a copy of the DLL in
the root folder of the web app.

Gregory Gadow
"Gregory Gadow" wrote:
Peter Bromberg [C# MVP] wrote:
Generally what I do is add the latest build of it to the Solution Items
folder in the VS Solution, and check it in. Then other devs can get latest on
it, and set a reference in their own working solution.
I am not familiar with a specific Solution Items folder. The library is in a
separate solution in Source Safe, and the compiled DLL is in the bin folder of
the web app.

--
Gregory Gadow
te******@serv.net
"Gregory Gadow" wrote:
>
All done in ASP.Net 2.0 using VB...

The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.

All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.

What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.
Sep 18 '06 #5
if you keep the assembly in the root of the solution (not in the /bin folder)
and set a reference to it, it will be copied local into the bin folder at
build time.
You *could* set a reference to it in the bin folder but that would likely be
problematic. Generally what we do is have a separate folder that is within
the solution, say "ExternalDlls" or whatever, and you would add your
assemblies that are kept in this folder as Solution items.

When one of them is rebuilt, all you need to do is check it out, copy the
new over the old, and check it back in, and everyone on your team can get
latest and be sure of having the latest build of that assembly.

HTH
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Gregory Gadow" wrote:
Peter Bromberg [C# MVP] wrote:
Just right-click on the Solution (very top) node in Solution Explorer and
choose "Add item".

Pardon my missing the obvious, but add what? The DLL itself, even though it is
already in the bin folder of the project? All that did was put a copy of the DLL in
the root folder of the web app.

Gregory Gadow
"Gregory Gadow" wrote:
Peter Bromberg [C# MVP] wrote:
>
Generally what I do is add the latest build of it to the Solution Items
folder in the VS Solution, and check it in. Then other devs can get latest on
it, and set a reference in their own working solution.
>
I am not familiar with a specific Solution Items folder. The library is in a
separate solution in Source Safe, and the compiled DLL is in the bin folder of
the web app.
>
--
Gregory Gadow
te******@serv.net
>
"Gregory Gadow" wrote:

All done in ASP.Net 2.0 using VB...
>
The website I am developing has a large DLL that includes custom
MembershipUser, MembershipProvider and RoleProvider classes, several
frequently used web controls, custom base classes for Master and Page
objects, so on and so on.
>
All of this was done on my main dev machine, which I've also been using
to write the website. On the dev machine, the DLL references compile
Just In Time with no errors. Recently, though, one of my co-workers
started helping with the website. He's set up with VS 2005 on his
machine and we are sharing the source through Visual Source Safe, but he
can not reference the library. As a result, pages he writes that use
these objects end up with a lot of JIT errors, even though the page runs
fine when loaded through a browser from the website.
>
What do I need to do to get him a working copy of the DLL? And is there
any way to automate his getting it, so that when I post a new version to
the website, he will have access to that as well? This is code I do not
want to have available to others in our office (a few co-workers like to
"tinker"), so putting this in app_code would not be the best solution.

Sep 19 '06 #6

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

Similar topics

1
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies...
4
by: Richard | last post by:
I have a service which is used to call differenct versions of an application depending on the database version that is being used. The service has been compiled in framework 1.1 and it needs to...
7
by: Dan | last post by:
I'd like to have a set of more-or-less common code which I want to use for both desktop and smart device projects. I have two questions: 1. How can I set up conditional compile directives for...
9
by: Ender | last post by:
I have an application that I would like third party developers to be able to create Plug-ins that will be dynamically loaded into our application to extend functionality. I have utilized the...
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
2
by: BH | last post by:
My question may be a bit odd. Right now I can see that all referenced assemblies in my project are compiled into the application assembly so when I deploy the application, I don't see those...
3
by: Shikari Shambu | last post by:
Hi All, I have a situation where multiple applications are sharing some pages/ controls. So, I have a separate common project that has the common pages/ controls. My question is how do I...
6
by: Thomas Andersson | last post by:
Hi all, I've been thinking of about adding new languages to our website and is currently investigating how this could be done. And I know that one way to go would be to create new aspx-pages...
27
by: Jonathan Wood | last post by:
Greetings, I'd like to write any number of classes and then use those classes from any number of .NET applications. Since we've supposedly left "DLL Hell" and ActiveX objects behind, what has...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.