Click here to Skip to main content
15,898,222 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
Bartosz Jarmuż11-Sep-15 1:39
Bartosz Jarmuż11-Sep-15 1:39 
Quote:
Why? It will need the highest version of .NET that will run the code within the DLL, not the version that your app uses.

Hm, I was under an impression, that if I reference a .dll file into my project, and that .dll has code that requires .NET 4.5 then the whole app needs to be built for .net 4.5

As for the setup project, yeah, I started doing that some time ago (exactly because of .net auto-check), but it's quite a lot of additional work (create the project, set all properties etc), which is tiring for a 40kb program.

Quote:
it means that you can fix bugs and release the latest version without having to rebuild the application(s) that use it. It also means that the "consumer" of the helper classes can't change the way they work and nobody knows.


What's the harm of rebuilding the app that uses it? As for the part about the consumer, you mean a scenario where I deliberately or accidentaly change the code of the helper files while working on a project that uses it? That would definately be a problem, but I suppose only in case if more than one person worked on it...

Thanks a LOT for your comments!
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
OriginalGriff11-Sep-15 2:02
mveOriginalGriff11-Sep-15 2:02 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
Bartosz Jarmuż11-Sep-15 2:24
Bartosz Jarmuż11-Sep-15 2:24 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
OriginalGriff11-Sep-15 2:33
mveOriginalGriff11-Sep-15 2:33 
AnswerRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore11-Sep-15 3:58
professionalF-ES Sitecore11-Sep-15 3:58 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
Bartosz Jarmuż11-Sep-15 4:40
Bartosz Jarmuż11-Sep-15 4:40 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
Bartosz Jarmuż11-Sep-15 7:15
Bartosz Jarmuż11-Sep-15 7:15 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore12-Sep-15 2:19
professionalF-ES Sitecore12-Sep-15 2:19 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
David A. Gray11-Sep-15 11:14
David A. Gray11-Sep-15 11:14 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell11-Sep-15 11:58
jschell11-Sep-15 11:58 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore12-Sep-15 2:17
professionalF-ES Sitecore12-Sep-15 2:17 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
David A. Gray12-Sep-15 20:12
David A. Gray12-Sep-15 20:12 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore13-Sep-15 3:03
professionalF-ES Sitecore13-Sep-15 3:03 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
David A. Gray13-Sep-15 7:03
David A. Gray13-Sep-15 7:03 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell13-Sep-15 12:07
jschell13-Sep-15 12:07 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell13-Sep-15 12:04
jschell13-Sep-15 12:04 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
F-ES Sitecore13-Sep-15 22:16
professionalF-ES Sitecore13-Sep-15 22:16 
GeneralRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
jschell15-Sep-15 11:24
jschell15-Sep-15 11:24 
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 

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.