|
-
Jan 23rd, 2008, 11:40 AM
#1
Thread Starter
Hyperactive Member
sharing Vb.net form on 2 projects?!
I want to create a test and live version of a project, and am planning to use the OneClick Deployment....
Currentlly I have the test version, how do I create a share to this project (so basically the live version is the exact same as the test version)
I have tried added existing items, but this creates a copy of the form..I dont want this-if I make a change in test I want it 2 automatically do the change on live version to?????
Thank you
-
Jan 23rd, 2008, 12:32 PM
#2
Re: sharing Vb.net form on 2 projects?!
One way would be to put the form in its own class library, and reference it from each application. But usually I don't create seperate applications for test and production. Usually I'll add configurable data to the form or config file, to run in a test or a production environment.
-
Jan 23rd, 2008, 01:15 PM
#3
Re: sharing Vb.net form on 2 projects?!
 Originally Posted by pame1la
I have tried added existing items, but this creates a copy of the form..I dont want this-if I make a change in test I want it 2 automatically do the change on live version to?????
Doesn't this defeat the purpose of having two separate environments. If you make a change in test, and it blows up, so what? No one will ever know that but you. But, if production get automatically updated everytime you make a change in test, you run the risk of rolling out faulty code to your users.
You should ALWAYS have to make the change in both, but not in production until it actually works in test.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|