Connecting Tech Pros Worldwide Forums | Help | Site Map

Project's File locations (outside project folder) ?

GW
Guest
 
Posts: n/a
#1: Nov 22 '05
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



GW
Guest
 
Posts: n/a
#2: Nov 22 '05

re: Project's File locations (outside project folder) ?


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

GW

"References" <anonymous@discussions.microsoft.com> wrote in message
news:2082084F-00C8-4982-B0C7-C16BA7A894AF@microsoft.com...[color=blue]
> Since windows forms are now Class files, put them into a .dll file and set[/color]
a reference to those files like any other .dll and import the resources you
need.[color=blue]
>
> When you open the add reference dialog box (in VS.NET) you can browse to[/color]
any place in the file structure and can reference any other .NET assembly.[color=blue]
>
> HTH,
>
> Cos Callis, MCAD[/color]


GW
Guest
 
Posts: n/a
#3: Nov 22 '05

re: Project's File locations (outside project folder) ?


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

GW

"References" <anonymous@discussions.microsoft.com> wrote in message
news:2082084F-00C8-4982-B0C7-C16BA7A894AF@microsoft.com...[color=blue]
> Since windows forms are now Class files, put them into a .dll file and set[/color]
a reference to those files like any other .dll and import the resources you
need.[color=blue]
>
> When you open the add reference dialog box (in VS.NET) you can browse to[/color]
any place in the file structure and can reference any other .NET assembly.[color=blue]
>
> HTH,
>
> Cos Callis, MCAD[/color]


Cos Callis
Guest
 
Posts: n/a
#4: Nov 22 '05

re: Project's File locations (outside project folder) ?


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
Cos Callis
Guest
 
Posts: n/a
#5: Nov 22 '05

re: Project's File locations (outside project folder) ?


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
GW
Guest
 
Posts: n/a
#6: Nov 22 '05

re: Project's File locations (outside project folder) ?


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" <anonymous@discussions.microsoft.com> wrote in message
news:BB2503C9-936E-4092-A571-099154F3C328@microsoft.com...[color=blue]
> GW,
> If these are truley "common" items, then I'm not sure "why" you would not[/color]
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.[color=blue]
>
> Cos Callis, MCAD[/color]


GW
Guest
 
Posts: n/a
#7: Nov 22 '05

re: Project's File locations (outside project folder) ?


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" <anonymous@discussions.microsoft.com> wrote in message
news:BB2503C9-936E-4092-A571-099154F3C328@microsoft.com...[color=blue]
> GW,
> If these are truley "common" items, then I'm not sure "why" you would not[/color]
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.[color=blue]
>
> Cos Callis, MCAD[/color]


Closed Thread