HOW TO: Import Existing Files and Folders to Visual J# .NET Projects

Article translations Article translations
Article ID: 324967 - View products that this article applies to.
This article was previously published under Q324967
Expand all | Collapse all

On This Page

SUMMARY

Pre .NET Java-language projects frequently include a folder structure that reflects a Java package hierarchy. While other Visual Studio .NET language extensions may have the option to create a new project in an existing folder, the Visual J# .NET language extension does not. This step-by-step article describes how to work around this limitation when you work with existing Java-language source files and directory trees.


How to Copy to a New Empty Project Folder

  1. Open Visual Studio .NET, and then create a new Visual J# .NET project; use the Empty Project template.
  2. In Windows Explorer, locate the existing files and folders that you want to import to the new empty Visual J# .NET project.
  3. Select the files and folders that you want to import, and then drag them to the project node in Visual Studio .NET Solution Explorer. NOTE: You can also copy or move the existing files and folders to the new Visual Studio .NET project folder without a drag-and-drop operation.

    After you copy or move the items, in the Visual Studio .NET Solution Explorer, click the show all files icon at the top, click to select the items that you want to add, right-click any of the selected items, and then click Add to project.
NOTE: When you click to select items the Solution Explorer, you cannot drag the mouse to activate a selection reticule as occurs in Windows Explorer when you select multiple items. However, you can hold down SHIFT and click the right mouse button, or hold down CTRL and click the right mouse button.

REFERENCES

For more information about Java-language support on .NET, visit the following Microsoft Web site:
Java Language Support for .NET
http://msdn.microsoft.com/vjsharp/

Properties

Article ID: 324967 - Last Review: August 7, 2003 - Revision: 2.1
APPLIES TO
  • Microsoft Visual J# .NET 2003 Standard Edition
Keywords: 
kbimport kbhowtomaster KB324967

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com