How do I work with a precompiled source?

Posted by Zhang Jingchu under ASP.NET on 6/19/2013 | Points: 10 | Views : 1786 | Status : [Member] | Replies : 2
I was handed a "precompiled" asp.net app source code.
OK, how do I make this such that I can use and debug it?
How do I compile a precompiled app?

[

After I click past this window, and i try to build the applicatino, I get an error that says "This application is already precompiled".

What can I do?




Responses

Posted by: Sheonarayan on: 6/19/2013 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
In general a pre-compiled app can't be compiled again as it is already compiled. My question is how you are able to modify this, you can only modify its .aspx pages not the source code (C# or VB.NET). If you have modified only the .aspx pages, then compilation is no necessary.

There is some plug in or app available that will get the source code from the .dll and then you can modify them and compiled again but how effective is that is again a question mark.

Hope this helps.

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Zhang Jingchu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj.Trivedi on: 6/19/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Zhang,

Check if there is precompiled.config file in the website if yes then remove that file and try to run. If that also does not work
then publish the website again and then before running the website remove the precompiled.config file

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Zhang Jingchu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response