SilverLight网站的发布
修改IIS:
配置 MIME类型
.bin sl/octet-stream
.xaml application/xaml+xml
.xap xapapplication/x-silverlight
将整个项目Web下的所有文件Copy到IIS的虚拟目录下面就可以了。
问题:
为什么直接在VS2010中直接右键publish老是出错呢?不解
报错内容:
Error 1 Web deployment task failed.(The metabase path '/lm/w3svc/<siteid>/ROOT/..' is not supported. Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'.)
The metabase path '/lm/w3svc/<siteid>/ROOT/..' is not supported. Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'.
The metabase key '/lm/w3svc/<siteid>/ROOT/..' could not be found.
系统找不到指定的路径。 (Exception from HRESULT: 0x80070003) 0 0 SilverlightApplication1.Web