[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

Windows apps development and dll's...compiling question.

When you create a windows app and let's say it has 3 dll's with it from class library's in your solution, and you need to make a change to something in one of the dll's, I am curious if you always have to use the new .exe as well since it is compiled with the new dll.

Where I work my apps sit on a server that I have some access to for development.  If I create an app as described above with 3 dll's and then the app .exe and I need to make a change to a dll, I can't just make that change, recompile the dll and replace it can I?  I have to recompile the .exe as well and replace it since the dll change correct?

Just wanting to make sure....  
0
rgn2121
Asked:
rgn2121
  • 5
  • 3
1 Solution
 
jpaulinoCommented:
If you change the DLL only you don't need to recompile the project to create a new exe file, you just need to replace the DLL file. That's one of the advantages of using DLL's.
0
 
rgn2121Author Commented:
Yes, I thought it might be, but I get errors if I do that....I will try and post the error.
0
 
rgn2121Author Commented:
Well, I couldn't recreate it as easily as I thought, but it gave me an error like my a token ID or assembly ID didn't match and asked me about editing something to fix it.  Sorry...I know that is vague.  I will try to see if I can't recreate it over the next few days since it was a month or so ago that it happened.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
jpaulinoCommented:
Ok,
What king of dll it is ? A regular library ?
0
 
rgn2121Author Commented:
yes...just a class library project added to my solution...
0
 
jpaulinoCommented:
It should work ...
0
 
rgn2121Author Commented:
Would it cause an issue if I did recompile the whole solution and then only used the new dll?  I will be making changes to an app this week and I will try to make it error out...
0
 
rgn2121Author Commented:
It didn't error out this time so maybe something was quirky the first time.  If I have issues again I will start a new thread and have the error message ready.  Thanks...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now