1

I am working with a precompiled ASP.net website. I have most of the *.aspx.vb files, but I am missing some of the library files, and only have the DLLs. Can I still selectively compile aspx.vb files? When I just hit build, It errors with 'This application is already precompiled'

Jonathan Dobbie
  • 176
  • 1
  • 6
  • Can you simply add references to those compiled DLLs from a project that contains your .vb files, and then build that project? – Brad Jan 09 '11 at 20:35
  • it all depends... you're leaving out alot of information, like if all the compiled assemblies are merged into one or if each .vb files is in their own .dll. And if the website is updatable or not. – Pauli Østerø Jan 09 '11 at 20:40
  • It looks like a 1 to 1 relationship with VB to DLLs. There are many DLLs of the files that I do not have access to the VB. I do not know how to tell if the website is updatable. – Jonathan Dobbie Jan 09 '11 at 20:48
  • Brad - how would I do that? (I'm a LAMP programmer usually, so I'm a bit clueless with the tools) – Jonathan Dobbie Jan 09 '11 at 20:56

1 Answers1

1

If you have DLLs, then most likely those are external assemblies which are not part of the project, to which the source files belong. So if you have a project file, try compiling it and see if it reports missing source (.vb) files. Most likely compiler will give you hints regarding particular problems.

If you don't have a project file, the situation becomes more complicated. You might need to use some decompiler tool (9rays.net decompiler is a good one) to restore the source files from compiled DLL (note - main project DLL, not those library DLLs) and analyze what's missing and what was included.

Eugene Mayevski 'Callback
  • 45,135
  • 8
  • 71
  • 121