My assembly int the refences list?

  • Thread starter Thread starter Zanna
  • Start date Start date
Z

Zanna

Hi all!

I'd like to see my assemblies into the list in the project references
window (of VisualStudio), without have to browse each time for searching
them.

I see I can put the assemblies in
\Program files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE

Is this the right way?

Can I say to VS to re-copy my assemblies into this path each time I
re-compile them?

Thanks!
 
Zanna,

Yes, this is the correct way of doing it. If you want to make sure the
assembly is deployed to this folder whenever you recompile, you have two
options:
1. Change the output folder for the assembly in the project's properties
2. Create a post-build action (only available in C#, IIRC) that copies
the assembly to the folder

Of the two options, #2 is my preferred choice as it means I can build
either a debug or release assembly and copy only the assembly (not the
PDB) to the Windows CE folder.

HTHT
Neil
 
Neil Cowburn [MVP] ha scritto:
1. Change the output folder for the assembly in the project's properties

Thanks.

Just a tip for the readers: the output folder is the one on the window
property under the build options, not the one on the device options (the
one showed in the property window at design time.
2. Create a post-build action (only available in C#, IIRC) that copies
the assembly to the folder

I have to work with VB :(
 
Neil Cowburn [MVP] ha scritto:
Yes, this is the correct way of doing it. If you want to make sure the
assembly is deployed to this folder whenever you recompile, you have two
options:
1. Change the output folder for the assembly in the project's properties


I hope no one followed this tip :)

If you set the path to the VS.net path you will damage your VS
installation for the smart device, because VS delete the files of the
reference you remove from your project, so think on removing the
system.dll or so from a project :(

I think I'll do a .bat that copy all .dll from my assembly pathes.

All suggestions are welcomed!

Bye
 
Back
Top