Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using Umbraco from a hosting supplier, but want to try to write a web service and therefore build a dll.
So I downloaded all the folders to my local machine and fired up Visual Studio 2015 Community Edition
I tried to create a project (as the hosted system doesn't include a project or solution file) from existing code.
From the menu, I chose
File
Project from existing code
choose C#
and selected my folder
It then asked for name and output type : however, the only output types available are
Console Application
Windows Application
Class Library
There is no option for 'Web Site'
Has anyone come across this before? Do I need to change some settings? I assume this must be possible!
Hi Tim,
I believe you have to open it as a website first in your case.
File -> Open -> Web Site
Then you can save a solution: File -> Save MySite.sln
Then you can create a new project in that solution.
B.
It seems this version won't save solutions, only projects!
Sorry, it does, but implcitly. This has worked!
I was in the middle of a reply back to you till I saw your update!
Glad it worked :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Visual Studio create project from existing code
I am using Umbraco from a hosting supplier, but want to try to write a web service and therefore build a dll.
So I downloaded all the folders to my local machine and fired up Visual Studio 2015 Community Edition
I tried to create a project (as the hosted system doesn't include a project or solution file) from existing code.
From the menu, I chose
File
Project from existing code
choose C#
and selected my folder
It then asked for name and output type : however, the only output types available are
Console Application
Windows Application
Class Library
There is no option for 'Web Site'
Has anyone come across this before? Do I need to change some settings? I assume this must be possible!
Hi Tim,
I believe you have to open it as a website first in your case.
File -> Open -> Web Site
Then you can save a solution: File -> Save MySite.sln
Then you can create a new project in that solution.
B.
It seems this version won't save solutions, only projects!
Sorry, it does, but implcitly. This has worked!
I was in the middle of a reply back to you till I saw your update!
Glad it worked :)
is working on a reply...