Project's File locations (outside project folder) ?

G

GW

Is it possible to specify the location of some common files outside the
project's folder?

Have some common forms for which I do not wish to create and external
assembly (they are all used by several projects).

Tried to play with the XYZ.vbproj file without any success.

<File
RelPath = "Form10.vb"
SubType = "Form"
BuildAction = "Compile"
/>

Possible... similar as specifying file locations as in VB6?

Thks, GW
 
G

GW

Yes I understand, but I do not want to place them in a separate dll.

GW

References said:
Since windows forms are now Class files, put them into a .dll file and set
a reference to those files like any other .dll and import the resources you
need.
When you open the add reference dialog box (in VS.NET) you can browse to
any place in the file structure and can reference any other .NET assembly.
 
G

Guest

GW
If these are truley "common" items, then I'm not sure "why" you would not want to put them into a seperate assembly that can be shared between applicaions. Given that, I don't know of a way to use a file not under the directory structure of the project inside a project, other than to go to that other directory and copy the "common" item and paste it into your present project

Cos Callis, MCAD
 
G

GW

When you develop canned products security (not the kind of security MS talks
about) comes to mind. We do copy the common files now. Just thought there
may be a way to edit the project's config xml file.

If there isn't we'll just keep using our trusted DOS batch file to copy.

GW

Cos Callis said:
GW,
If these are truley "common" items, then I'm not sure "why" you would not
want to put them into a seperate assembly that can be shared between
applicaions. Given that, I don't know of a way to use a file not under the
directory structure of the project inside a project, other than to go to
that other directory and copy the "common" item and paste it into your
present project.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top