Click here to Skip to main content
15,888,073 members
Home / Discussions / C#
   

C#

 
AnswerRe: Simple and reusable system for user registration and tracking and auto-updates Pin
Dave Kreskowiak12-Sep-15 3:25
mveDave Kreskowiak12-Sep-15 3:25 
GeneralRe: Simple and reusable system for user registration and tracking and auto-updates Pin
Bartosz Jarmuż12-Sep-15 4:22
Bartosz Jarmuż12-Sep-15 4:22 
QuestionC# RUN zero-based index of the longest run in a string Pin
Erics Johnson11-Sep-15 4:40
Erics Johnson11-Sep-15 4:40 
AnswerRe: C# RUN zero-based index of the longest run in a string Pin
Richard Andrew x6411-Sep-15 5:09
professionalRichard Andrew x6411-Sep-15 5:09 
GeneralRe: C# RUN zero-based index of the longest run in a string Pin
Erics Johnson12-Sep-15 10:56
Erics Johnson12-Sep-15 10:56 
QuestionAdvantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
Bartosz Jarmuż11-Sep-15 0:52
Bartosz Jarmuż11-Sep-15 0:52 
AnswerRe: Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods) Pin
OriginalGriff11-Sep-15 1:16
mveOriginalGriff11-Sep-15 1:16 
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 

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.