Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore15-Sep-15 22:07
professionalF-ES Sitecore15-Sep-15 22:07 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell17-Sep-15 12:05
jschell17-Sep-15 12:05 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore17-Sep-15 21:24
professionalF-ES Sitecore17-Sep-15 21:24 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell18-Sep-15 13:22
jschell18-Sep-15 13:22 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore19-Sep-15 3:34
professionalF-ES Sitecore19-Sep-15 3:34 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell19-Sep-15 5:23
jschell19-Sep-15 5:23 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore20-Sep-15 0:21
professionalF-ES Sitecore20-Sep-15 0:21 
AnswerRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell11-Sep-15 11:57
jschell11-Sep-15 11:57 
Bartosz Jarmuż wrote:
- requires me to deliver a separate .dll file, which for some reason is much more difficult for users (they tend to share my programs without the .dll, which then crashes on startup)


As mentioned that isn't going to work regardless of what you do, because of the Net version dependency.

Bartosz Jarmuż wrote:
I have a helper project which I use in all the applications that I create...I am the only person editing code


Where the plural "applications" means how many exactly?
And what size are the applications?

If there are only two or three and the apps are relatively small then don't use the dll.
If many applications or there are a few but big then use the dll.

The second case occurs because, despite your best intentions, it is more likely that you will break something by adding an improvement. Because of that handling the helper code as an independent delivery should continue to make you aware that changes can cause problems. And hopefully you should implement unit tests for the dll to insure that behavior doesn't change unintentionally.

The threshold for this becomes lower if another developer was added to the mix.
QuestionAutoComplete Textbox Pin
Member 1052801510-Sep-15 22:50
Member 1052801510-Sep-15 22:50 
AnswerRe: AutoComplete Textbox Pin
Member 1052801510-Sep-15 23:23
Member 1052801510-Sep-15 23:23 
QuestionConditional RunTime code Pin
NJdotnetdev10-Sep-15 4:39
NJdotnetdev10-Sep-15 4:39 
AnswerRe: Conditional RunTime code Pin
Pete O'Hanlon10-Sep-15 5:02
mvePete O'Hanlon10-Sep-15 5:02 
AnswerRe: Conditional RunTime code Pin
OriginalGriff10-Sep-15 5:23
mveOriginalGriff10-Sep-15 5:23 
GeneralRe: Conditional RunTime code Pin
NJdotnetdev10-Sep-15 5:43
NJdotnetdev10-Sep-15 5:43 
GeneralRe: Conditional RunTime code Pin
OriginalGriff10-Sep-15 5:49
mveOriginalGriff10-Sep-15 5:49 
GeneralRe: Conditional RunTime code Pin
Eddy Vluggen11-Sep-15 10:56
professionalEddy Vluggen11-Sep-15 10:56 
GeneralRe: Conditional RunTime code Pin
David A. Gray11-Sep-15 11:26
David A. Gray11-Sep-15 11:26 
AnswerRe: Conditional RunTime code Pin
Eddy Vluggen10-Sep-15 5:41
professionalEddy Vluggen10-Sep-15 5:41 
GeneralRe: Conditional RunTime code Pin
NJdotnetdev10-Sep-15 5:45
NJdotnetdev10-Sep-15 5:45 
GeneralRe: Conditional RunTime code Pin
Eddy Vluggen10-Sep-15 5:54
professionalEddy Vluggen10-Sep-15 5:54 
QuestionNew to programming--Help! Pin
Member 119729959-Sep-15 20:13
Member 119729959-Sep-15 20:13 
AnswerRe: New to programming--Help! Pin
OriginalGriff9-Sep-15 21:09
mveOriginalGriff9-Sep-15 21:09 
AnswerRe: New to programming--Help! Pin
Richard MacCutchan9-Sep-15 22:10
mveRichard MacCutchan9-Sep-15 22:10 
AnswerRe: New to programming--Help! Pin
F-ES Sitecore9-Sep-15 23:42
professionalF-ES Sitecore9-Sep-15 23:42 
AnswerRe: New to programming--Help! Pin
Afzaal Ahmad Zeeshan10-Sep-15 1:06
professionalAfzaal Ahmad Zeeshan10-Sep-15 1:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.