Grouping files in Web Matrix

  • Thread starter Thread starter Sathyaish
  • Start date Start date
S

Sathyaish

I am using Web Matrix with v.1.1 of the framework. I don't see a
concept of a project or solution in Web Matrix, so here's my problem.

I have one aspx file that wants to use a class file called
"SkillSet.vb". Skillset.vb in turn wants to use another class file
"Skill.vb". How do I group them all together if I am using Web Matrix?
 
Hi Sathyaish,

Regarding this issue of grouping of the Skillset.vb, I would like to tell
you that to compile your source files into a DLL and reference "that". In
order to compile all .vb files in a directory to skillset.dll , I would
suggest you to use :


vbc /t:library /out:skillset.dll *.vb



If you need to reference a library/libraries, add it/them, separated by
slashes :



vbc /t:library /r:system.dll /r:system.data.dll /out:skillset.dll *.vb



Now, you can reference "skillset.dll" in WebMatrix.



Hope this helps.



Regards,

Mona [Grapecity]
 
Back
Top