"Webs do not support linked files" Exception

Hi All,

Whenever i wish to add files to a webservice programmatically using

objVSWebsite.Project.ProjectItems.AddfromFile(filename)

It throws exception--Webs do not support linked files

Can somebody please let me know the remedy of this exception

regards

[309 byte] By [rajivnahata] at [2007-12-23]
# 1

Hi Rajiv,

WebSite projects does not support linked files. That is the nature of the WebSite Project. As know probably know there is no project file for WebSite project. Therefore it can not know about linked filed files.

Ole

OlePreisler-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...

Visual Studio

Site Classified