[Mono-dev] Targets file to aid in Mono development on Visual Studio 2005 Beta 2

Mike Hull mike.hull at coversant.net
Tue Aug 23 19:28:38 EDT 2005


Hello,

Attached is a file that we use for our cross platform development.  It 
allows us to build a Linux or Mono release from Visual Studio .NET 2005 
that targets the Mono class libraries including mscorlib in the same 
solution as our .NET 1.1 and .NET 2.0 targets. For those of you who are 
developing cross platform C# and you are using Visual Studio 2005 Beta 2 
as an IDE, this file will probably be useful.

To use it change the line in your csproj file:

<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

To:

<Import Project="..\..\Relative\Path\To\Coversant.CSharp.targets">

This needs to be done in each project file in your solution.  Also you 
may need to adjust the installation path for your mono setup, in the 
targets file.

Once this is done, load up your solution/project. You should notice 
under the Solution platforms you have Linux, Mono 2.0, .NET 1.1, and Any 
CPU.

    * Linux and Mono are basically the same.  They just differ in the
      DefineConstants.
    * .NET 1.1 is to target the old .NET runtime.
    * Any CPU is your standard .NET 2.0 target.


-- 
*
*
	

*Mike Hull*
Coversant, Inc.
/Leader in XMPP Instant Messaging/

Cell: +1.209.564.0146
Email/XMPP: mike.hull at coversant.net <xmpp:mike.hull at coversant.net>
http://www.coversant.net <http://www.coversant.net/>

This communication (including all attachments and the list of electronic 
addresses) (collectively, the "Communication") is confidential and 
proprietary to the sender or the party for whom the sender may be acting 
as an agent. This Communication may be privileged. This Communication is 
protected by applicable federal, state and local laws and is intended 
solely for the use of the person or persons to whom it is addressed. If 
any recipient of this Communication is not the intended recipient or an 
agent responsible for delivering it to the intended recipient, you are 
hereby notified that you have received this Communication in error and 
that any review, distribution, disclosure, reproduction or use of this 
Communication is strictly prohibited. If you have received this 
Communication in error, please notify the sender by reply electronic 
mail and delete this Communication. Sender does not accept liability of 
any kind for any loss or damage to any computer system or data arising 
or resulting from unauthorized review, distribution, disclosure, 
reproduction or use of this Communication. All rights reserved.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050823/5a54f3f1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c:\documents and Settings\highway\My	Documents\Coversant\Coversant.png
Type: image/png
Size: 11009 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050823/5a54f3f1/attachment.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Coversant.CSharp.targets
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050823/5a54f3f1/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mike.hull.vcf
Type: text/x-vcard
Size: 211 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050823/5a54f3f1/attachment.vcf 


More information about the Mono-devel-list mailing list