jsonvisual-studio-2010publishing-site

Using Microsoft VS2010 Publish Fails to deploy .json files


Anyone know what would make vs2010 not deploy .json files when doing a publish? All the other files (.js,.html, etc.) publish, but the .json files just to not move.

I don't think I've done anything special that would prevent that so any thoughts would be appreciated.


Solution

  • Right click on the file choose "properties" and set "content" as for the "Build Action"
    .JSON is not known to VS2010 web application file types You can change the behavior of vS2010 by editing the registry