|
Rank: Newbie Groups: Member
Joined: 10/23/2007 Posts: 7
|
Building a web application in VS 2008, not a web site so there is no bin directory in the website folder. How can I add the licx file? If I add it to the root, VS tries to compile it into the assembly. Any thoughts?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
If you use a project file, you can exclude it from the project (this won't work if you open the Web site folder directly). I believe you can also manually create a bin folder and place the license file there. Another way is set your license information with code. The worst case you would just ignore the license warning message and only place the file on the root directory after you deployed the site to production server.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/23/2007 Posts: 7
|
I changed the properties of the file to action "none" instead of embedded resource and all is ok. The file gets copied to the bin directory that is generated during the build. Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Thanks for sharing!
|
|