PLEASE FOLLOW YUBIN’s COMMENT BELOW. THANKS FOR YOUR HELP YUBIN.
I’ve arrived at a stage where I wanted to create my own custom Sharepoint solution using Visual Studio 2010.
When I created a new blank Sharepoint project it asked me whether I want to deploy the solution as a Sandboxed Solution or a Farm Solution.
I first selected Sandboxed Solution but then I found out that I couldn’t build and package my solution when I had a Sharepoint Mapped Folder within it.
Therefore, I needed to change the type of the deployment to Farm Solution. I looked everywhere (from Project Properties, Solution Properties, etc) and I couldn’t find the setting for it.
I tried to re-create the project and now selected Farm Solution as the deployment type and I then tried to compare the project properties manually. This included opening the .csproj file in Notepad and compared between the two apple-by-apple.
I noticed the following missing tag within the project file (.csproj) that was deployed as Sandboxed solution:
<SandboxedSolution>False</SandboxedSolution>
I added that tag to my .csproj and now my Sandboxed Solution project suddenly became Farm Solution project.
Hope this helps,
Tommy