-1

I have one beautiful myname.dll that I used in my programs. But today I have to change something in it source. It is writen in VB, an source have such structure: files

SysCommandVB.ico
SysCommandVB.resx
SysCommandVB.vb
SysCommandVB.vbproj
SysCommandVBForm.Designer.vb
SysCommandVBForm.resx
SysCommandVBForm.vb

and folder My Project, witch contains

Application.Designer.vb
Application.myapp
AssemblyInfo.vb
Resources.Designer.vb
Resources.resx
Settings.Designer.vb 
Settings.settings

I have made some changes in file

SysCommandVB.vb

Ok, now, how can I get (modified) myname.dll from this files?

Alex K.
  • 171,639
  • 30
  • 264
  • 288
burduk
  • 142
  • 2
  • 9
  • Retagged; Thats VB.Net not VB6 – Alex K. Oct 08 '15 at 11:42
  • 1
    Are you asking how to compile it or .... ? – Alex K. Oct 08 '15 at 11:43
  • [How to: Compile and Run a Project in Visual Basic](https://msdn.microsoft.com/en-us/library/ms233809.aspx) – GSerg Oct 08 '15 at 11:54
  • I honestly don't understand the downvotes. It's a very basic question, but it's a clear, on-topic question. – Heinzi Oct 09 '15 at 12:37
  • Just for notice: I never worked before with "compiled" languages (I have worked with SQL, SAS, R, VBA, Mathematica, Autoit, even Pascal - but not with this). So, I just lose courage, what to do with all this ... large count of files. – burduk Oct 09 '15 at 13:54

1 Answers1

2

You get a new DLL by compiling your VB.NET project. "Compiling" is the process of translating source code files (such as your .vb files) into executable files (such as your .dll file)¹.

You can compile your project by opening your .vbproj file with Visual Studio and selecting "Build Solution" from the menu. The new DLL can be found in the bin subfolder.


¹ Technically speaking, "compiling" just means translation from one programming language into another.

Heinzi
  • 167,459
  • 57
  • 363
  • 519
  • Thanks. I have installed Visual Studi 2005 at my work, and when I try to open .vbproj file I get an error: Unable to read the project file '...vbproj': The imported project C:\Microsoft.VisualBasic.targets was not found. Confirm that the parth in the declaration is correct, and that the file exist on disk – burduk Oct 08 '15 at 12:02
  • Have I Installed newer version of Visual Studio, or doing something other? – burduk Oct 08 '15 at 12:09
  • @burduk: Yes, it looks like your project was created with another version of Visual Studio. Please [check the version number in your vbproj file](http://stackoverflow.com/q/8829542/87698). – Heinzi Oct 08 '15 at 12:54
  • I have got this: `` - so it seems like 2003 Visual studio... Dut I have also this line: `` I think trouble is somewhere here... – burduk Oct 08 '15 at 13:22
  • `ToolsVersion="3.5"` implies Framework 3.5, which was introduced in Visual Studio 2008. – Heinzi Oct 08 '15 at 13:38