473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to create two asemblies in one project

Hello friends,
I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?

Advait
Jun 29 '08 #1
6 2552
Advit,

A project is a DLL or Exe however a Solution can have different DLL's (and
maximum one Exe)

Cor

"Advait Mohan Raut" <ad*********@indiatimes.comschreef in bericht
news:00**********************************@h1g2000p rh.googlegroups.com...
Hello friends,
I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?

Advait
Jun 29 '08 #2
I'm not aware of a maximum of one exe per solution. This is normally true,
however there was a case where I created multiple helper exe's in one
solution.

"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:AF**********************************@microsof t.com...
Advit,

A project is a DLL or Exe however a Solution can have different DLL's (and
maximum one Exe)

Cor

"Advait Mohan Raut" <ad*********@indiatimes.comschreef in bericht
news:00**********************************@h1g2000p rh.googlegroups.com...
>Hello friends,
I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?

Advait
Jun 29 '08 #3
Family Tree Mike <Fa************@ThisOldHouse.comwrote:
I'm not aware of a maximum of one exe per solution. This is normally true,
however there was a case where I created multiple helper exe's in one
solution.
I wouldn't even say it's "normally" true. I've worked on plenty of
solutions with multiple executables.

--
Jon Skeet - <sk***@pobox.com>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon_skeet
C# in Depth: http://csharpindepth.com
Jun 29 '08 #4
Advait Mohan Raut <ad*********@indiatimes.comwrote:
Hello friends,
I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?
Separate your production code from your test code by putting them in
different assemblies. If you need to test members marked "internals"
you should look into InternalsVisibleToAttribute.

--
Jon Skeet - <sk***@pobox.com>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon_skeet
C# in Depth: http://csharpindepth.com
Jun 29 '08 #5
On Jun 29, 5:42*pm, Jon Skeet [C# MVP] <sk...@pobox.comwrote:
Advait Mohan Raut <advait_r...@indiatimes.comwrote:
Hello friends,
* I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?

Separate your production code from your test code by putting them in
different assemblies. If you need to test members marked "internals"
you should look into InternalsVisibleToAttribute.

--
Jon Skeet - <sk...@pobox.com>
Actuly I want to do that only as Jon specified.
I have not included any *internal* specifier.
So I was asking for how to create two assemblies under the single
project of VS C# 2005 Express Ed.
Jul 1 '08 #6
Advait Mohan Raut <ad*********@indiatimes.comwrote:
* I want to create two assemblies in single project -or-
one executable and one assembly in single project.
So that I can isolate testing information from actual code.
I am using VC# 2005 Express Edition.
Can anyone please tell me how to do this ?
Separate your production code from your test code by putting them in
different assemblies. If you need to test members marked "internals"
you should look into InternalsVisibleToAttribute.
Actuly I want to do that only as Jon specified.
I have not included any *internal* specifier.
It's the default for top-level classes anyway though.
So I was asking for how to create two assemblies under the single
project of VS C# 2005 Express Ed.
You can't create two assemblies from one project, but you can just
create two projects. Make the test project refer to the production
project.

--
Jon Skeet - <sk***@pobox.com>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon_skeet
C# in Depth: http://csharpindepth.com
Jul 1 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Andrew | last post by:
I have a problem creating mySQL tables with PHP. I am making an app where a user can create a project. Pressing "submit" on proj_form.php goes to proj_add.php where a couple of things happen. ...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
6
by: Vaclav Jedlicka | last post by:
Hi all Is it possible to create an ASP.NET project from code? Thanks in advance Vaclav
1
by: soni29 | last post by:
hi, i'm running windows 2000 and Internet Information Services 5.0, that's the version that the help file for iis shows, i'm using Visual Studio ..Net 2002 (version 7) but whenever i try to create...
4
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
4
by: Alan Mailer | last post by:
Again, I'm new to VB.net and there is something I need help with: Like (I assume) many of us, over time I want to be able to create some VB.net classes that I might want to use in more than one...
2
by: cmrchs | last post by:
Hello, I installed Visual Studio 2008 last week, created a web project and could run it. I had to deinstall it for some problems I had, installed it again, try to create a new web-project but...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.