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

changes to a project

We have a .net solution that we make frequent changes to. Must we physically
uninstall/reinstall the solution (really just the dll) every time, or can we
create some project structure that enables us to move the dll to a public
location so that the user can have access to the changes next time they open
the exe?

Thanks.
Apr 25 '07 #1
3 1077
Tim Zych wrote:
We have a .net solution that we make frequent changes to. Must we physically
uninstall/reinstall the solution (really just the dll) every time, or can we
create some project structure that enables us to move the dll to a public
location so that the user can have access to the changes next time they open
the exe?
Depending on the magnitude of each change, you could do either.

If you're only changing code /inside/ existing methods, then you can
copy the Dll into the application directory and it the program will pick
up the revised code when it runs.

If you add completely new methods, the same will /probably/ work.

If you change existing method signatures (changing the arguments), then
you really /ought/ to create a new "version" of the dll and rebuild the
client application to use the new library.

If you want your dll separate from your application(s), either
(a) add it to the Global Assembly Cache on the target machine - this
makes it available machine-wide, or
(b) look at the "dependentAssembly" and "codeBase" attributes that you
can specify in App.Config - and yes, [in VB'2003], relative paths /do/
work.

HTH,
Phill W.
Apr 27 '07 #2
Thanks.

"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-kwrote in message
news:f0**********@south.jnrs.ja.net...
Tim Zych wrote:
>We have a .net solution that we make frequent changes to. Must we
physically uninstall/reinstall the solution (really just the dll) every
time, or can we create some project structure that enables us to move the
dll to a public location so that the user can have access to the changes
next time they open the exe?

Depending on the magnitude of each change, you could do either.

If you're only changing code /inside/ existing methods, then you can copy
the Dll into the application directory and it the program will pick up the
revised code when it runs.

If you add completely new methods, the same will /probably/ work.

If you change existing method signatures (changing the arguments), then
you really /ought/ to create a new "version" of the dll and rebuild the
client application to use the new library.

If you want your dll separate from your application(s), either
(a) add it to the Global Assembly Cache on the target machine - this makes
it available machine-wide, or
(b) look at the "dependentAssembly" and "codeBase" attributes that you can
specify in App.Config - and yes, [in VB'2003], relative paths /do/ work.

HTH,
Phill W.

Apr 27 '07 #3
You could deploy your application using ClickOnce deployment, and have the
user run it from the server, where it would always be up-to-date, or have
it install on the user machine and check for updates. It only updates the
changed files, not everything.

Robin S.
-------------------------
"Tim Zych" <tzy---ch@NOSp@mE@RTHLINKDOTNETwrote in message
news:eA**************@TK2MSFTNGP04.phx.gbl...
We have a .net solution that we make frequent changes to. Must we
physically uninstall/reinstall the solution (really just the dll) every
time, or can we create some project structure that enables us to move the
dll to a public location so that the user can have access to the changes
next time they open the exe?

Thanks.


May 1 '07 #4

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

Similar topics

0
by: Bob Darlington | last post by:
Using Access 2002, after making design changes over 30 minutes or so, I want to save my project. I close the project (keeping Access open) and save. Then when I reopen the project, it takes over...
8
by: Bennett Haselton | last post by:
If I create a new C# Web Project in Visual Studio and add this to the Page_Load method for WebForm1: Response.Write("firsttime"); then hitting F5 to debug the project of course shows the...
1
by: Edward Yang | last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error: Server Error in...
6
by: Frank Esser | last post by:
Hallo, I've got a project with about 10 pages. On each of them the user can do data changes (mostly datagrid interactions; the datagrids are bound to datasets). The user is able to jump to...
8
by: Shimon Sim | last post by:
Hi I converted my existing ASP.NET project to VS.NET 2005. Build gives me some warnings about config file. I have custom section definition in web.config. Were there any changes in this for...
3
by: Lisa | last post by:
Suddenly, the encoding in my exe.config file changes from UTF-8 to Windows-1252 every time I try to debug my winform app. This causes the old application configuration error when I try to debug...
6
by: Martin Horn | last post by:
Hi, I have encountered a problem with compiling my project. Basically what happened was that I noticed my PC date was set a day into the future, so I reset it to the correct date. Now when I...
1
by: Bjarke | last post by:
Web application projects I have a little assignment where I have to make some changes to a Web Application Project, and there are some basic information I have spent lots of time figuring out,...
11
by: gyap88 | last post by:
Hello i m using vb 2005 express to do my project. I m suppose to create a datagrid to allow user to make changes to the database. The program display the database in a datagrid where users can juz...
3
by: Eric | last post by:
I'm trying to manipulae my app.config file. Below is code to test that I can remove a ConfigurationSection. It looks like its working, but the app.config file is not changed when I look at it...
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...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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.