Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.78 KB

quickstart-01-project-from-existing.md

File metadata and controls

32 lines (17 loc) · 1.78 KB

Quickstart: create an AI project from existing code

Once you've installed Visual Studio Tools for AI, it's easy to bring existing Python code into a Visual Studio project.

Important

The process described here does not move or copy the original source files. If you want to work with a copy, duplicate the folder first.

  1. Launch Visual Studio and select File > New > Project.

  2. In the New Project dialog, search for "AI Tools", select the "From Existing Python code" template, give the project a name and location, and select OK.

    New Project from Existing Code, step 1

  3. In the wizard that appears, set the path to your existing code, set a filter for file types, and specify any search paths that your project requires, then select OK. If you don't know what search paths are, leave that field blank.

    New Project from Existing Code, step 2

If your existing code is part of an Azure Machine Learning project, check the "Is Azure Machine Learning folder" to ensure successful conversion of important Azure Machine Learning configuration details like about Experimentation account, Workspace, compute context and more.

  1. To set a startup file, locate the file in Solution Explorer, right-click, and select Set as Startup File.

  2. If desired, run the program by pressing Ctrl+F5 or selecting Debug > Start Without Debugging.

Next Steps

See Also