[Mono-aspnet-list] This is a marker file generated by the precompilation tool, and should not be deleted!
jhill at arcfocus.com
Thu Apr 30 15:38:42 EDT 2009
In a previous post i was trying to use the VBNC compiler and import the
> could not seem to make this work..
> so now i am trying to precompile and put on server using mono 2.4
> so now i precompile and put the .dll on the server and put the generated bin
> folder on the server...also there is a PrecompiledApp.config file with the
> following..<precompiledApp version="2" updatable="true"/>
> when i try to look at a page i get the following...is there something
> different that should be in my precompiledapp.config file
> This is a marker file generated by the precompilation tool, and should not
> be deleted!
When you precompiled your web site, you specified a virtual path to host
the application in, but you are running it from a different location.
If you precompiled this web site in Visual Studio, "Virtual path" is one
of the propertis of the Web Site. If you compiled from the command
line, then the virtual path can be specified with the -v switch.
You need to make sure that you configure xsp2 or apache to host the
application at the same path as the virtual path you specify when you
precompile the site.
For instance, if you precompile your blog to be hosted in the /blog
virtual path (using this statement):
c:\test\>aspnet_compiler -f -p c:\test\BlogEngine.Web -v /blog
You can host it in the /blog directory using this xsp command:
xsp2 --applications /blog:/path/to/website
And you can browse to it from the local machine at this URL:
You can find more details in Gonzalo's blog entry:
Hope that helps
More information about the Mono-aspnet-list