|
-
August 22nd, 2012, 02:17 PM
#1
Recompiling dll file
I've modified the source code for a .dll, but I'm not sure how to recompile it. I just opened one of the source code .cs files with Notepad and made a few changes. I think if I can load it in Visual Studio properly, I could probably figure out how to export it as a .dll, but I don't know how to load the altered files in the first place. Is there some way I could edit a dll in Visual Studio directly?
-
August 22nd, 2012, 02:53 PM
#2
Re: Recompiling dll file
Open the project (.csproj) or solution (.sln) in visual studio, modify the source file(s) and click the Build\Rebuild Solution menu item.
-
August 22nd, 2012, 09:35 PM
#3
Re: Recompiling dll file
Thanks! It's building, though with a few errors I'll have to sort out. Can I use Visual Studio to export it as a dll file? Searches only seem to describe how to do it with Visual Studio C++, not with the C# version. Is it possible with C#?
-
August 24th, 2012, 03:25 PM
#4
Re: Recompiling dll file
 Originally Posted by fiodis
Can I use Visual Studio to export it as a dll file?
What do you mean 'export' it? If the project is a class library project, a dll (assembly) will be created for you when you build the project.
You determine this when you create the project. If you don't have the correct project type, create a new class library project and add your .cs files to it.
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
|