-
Mar 8th, 2012, 12:04 AM
#1
[RESOLVED] "Publish Web" doesn't copy .svg files
How can I tell Visual Studio to copy .svg files when I publish from the "Publish Web" dialog (right-click on Project and select "Publish...")? It's copying all other image files to the target directory, but is not copying .svg files.
-
Mar 8th, 2012, 12:54 PM
#2
Re: "Publish Web" doesn't copy .svg files
By default it sounds like svg files have a build action of None. If you change that to Content it should get published.
If you want to change this so that new svg files get the Content build action by default there's an excellent article here: http://blog.andreloker.de/post/2010/...ile-types.aspx
-
Mar 8th, 2012, 06:14 PM
#3
Re: "Publish Web" doesn't copy .svg files
Thanks. That got it working.
-
Mar 9th, 2012, 02:22 AM
#4
Re: "Publish Web" doesn't copy .svg files
Glad to hear that you got this working tr333. Can you remember to mark your thread as resolved?
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|