Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 5616 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 2041 [details]
Hello world web service solution.
When I use the settings <hostingEnvironment shadowCopyBinAssemblies="false"/> in the web.config file and use a virtual directory with the web server, the binaries are still copied to the ASP.Net Temporary Files directoryr. If I don't use the virtual directory, the binaries are not copied.
Steps to reproduce :
1- Make sure that the ASP.Net Temporary Files directory is empty to see the directory creation. In Windows, it's in %windir%\<currentuser>\AppData\Local\Temp\<username>-temp-aspnet\, in Linux /tmp/<webserver_username>-temp-aspnet
2- Compile the web service, the web.config file already has the right setting for shadowCopyBinAssemblies.
3- Start xsp web server with a virtual directory in the project root directory, xsp2 --applications /test:.
4- Connect to the web server and you'll see the dll copied in the ASP.Net Temporary Files directory.
5- To see the correct behavior, clean the ASP.Net Temporary Files directory. Start xsp without a virtual directory and connect to the web server. The binary is not copied.
Mono 220.127.116.11 x86 (Debian 18.104.22.168-1~dhx1~lucid1) Ubuntu lucid 10.04.4 LTS
Mono 2.10.8 x86 (tarball) Windows Vista
Not seen with Microsoft .Net.
Reproduced also with Linux.