Stephen2
94 posts
Registered:
05 Feb 2012
24 Sep 2012
Link to this post
Hey, we publish using Visual Studio with no problem.
The step you're missing is after adding the license, it copies a file to "App_Data\Sitefinity\Sitefinity.lic"
Make sure to right click in Visual Studio and "Include In Project".
You also have to set the "Build Action" for the file to "Content".
By doing these steps, a "Publish" will also copy the Sitefinity license to the output location, and you'll have no other troubles.
Just beware that during development, Sitefinity also likes to randomly add "Config" files (and some other files in the "App_Data" folder) into "App_Data\Sitefinity\Configuration" that you must then include in project as well.