473,626 Members | 3,947 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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, MembershipProvi der 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 1451
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, MembershipProvi der 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.n et
"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, MembershipProvi der 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.n et
"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, MembershipProvi der 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.n et
"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, MembershipProvi der 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 "ExternalDl ls" 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.n et
>
"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, MembershipProvi der 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
1944
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 across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
4
2040
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 call the current version of the application (also compiled in framework 1.1) and also historic versions (compiled in framework 1.0). The application compiled in framework 1.1 loads correctly,
7
3101
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 those parts of the code which are different on desktop and smart device projects 2. How can I actually share the same .cs source code files between the two projects. If I try to open a smart device project and add the files which are in the...
9
4475
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 "Let Users Add Functionality to Your .NET Applications with Macros and Plug-Ins" article at MSDN for the dynamic loading of DLLs http://msdn.microsoft.com/msdnmag/issues/03/10/Plug-Ins/default.aspx
16
2225
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. So I've adopted the approach of having two projects share the same set of files. In my case, I have two similarly named projects: DataObjects DataObjectsCF The former is for the Desktop app and the latter is for the Compact Framework.
2
1181
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 assemblies anymore. Is there a way to compile the application so that the referenced assemblies are still necessary when the app is deployed to a different computer? I know this doesn't make sense most of the time but I'd like to know if there is a...
3
2784
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 reference these pages/ controls from my ASP.NET web projects WEbApp1 url http://localhost/app1 C:\Apps\App1
6
2011
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 with new codebehinds for each page I want to have translated. But my question is - is it ok to keep the same codebehind file for a certain page which is translated into different languages. In this way I only need to change to aspx-file (html) of...
27
1990
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 taken it's place. Can anyone point me in the right direction getting started learning the best way to write a library of routines and then being able to access those
0
8199
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8638
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8365
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7196
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.