Why does the server say it can't find the .exe file when trying to execute the .xbap file?

I created a .xbap app with Visual Studio C # Express.

Works fine with F5.

Then press F6, copying the following files from the / Release directory to the ASP.NET web server:

  • Motion2.exe
  • Motion2.exe.manifest
  • Motion2.pdb
  • Motion2.xbap

But when I try to execute it in Firefox or IE: http://tanguay.de/xbap/Motion2/Motion2.xbap

I am getting error: Downloading http://tanguay.de/xbap/Motion2/Motion2.exe failed.

This happens on two computers as with .NET 3.5 installed.

How can I get my .xbap application to work on my hosting server?

Thanks.

0


a source to share


1 answer


Then I created Build / Publish, specifying that it will be launched from the website, and then changed the name of Publish.htm to Default.htm, copied the generated files:

  • Application files (folder)
  • Default.htm
  • Motion2.xbap


and now it runs: http://www.tanguay.de/xbap/Motion2 (in Firefox and IE, ok).

0


a source







All Articles