scons icon indicating copy to clipboard operation
scons copied to clipboard

Adding C# support

Open bdbaddog opened this issue 7 years ago • 1 comments

This issue was originally created at: 2008-02-13 08:12:21. This issue was reported by: nate_snapp.

nate_snapp said at 2008-02-13 08:12:22

Added tool to allow builds with Microsoft's C# compiler. This was tested with .NET 2.0 and 3.0 SDKs.

Patches submitted for man page, source and associated xml file, as well as test cases. Test cases add a new directory under test and a patch couldn't be created, so they are zipped up. The rest (doc, src) are in .patch form and can be applied from the base scons directory.

To set the environment up to compile with C#, you must be on a Windows machine with the .NET SDK downloaded. You can easily download the .NET 2.0 SDK from https://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&displaylang=en

Once installed, be sure to add it to your environment PATH. For creation of publisher policies to work (part of the unit test), you need to have the sn.exe tool, which comes as part of Visual Studio (including express editions). Be sure this is also in your PATH.

nate_snapp said at 2008-02-13 08:14:03 Created an attachment (id=304)

Documentation, test cases, and source code for csharp compiler support

gregnoel said at 2008-03-16 19:42:48

*** Issue 1917 has been marked as a duplicate of this issue. ***

gregnoel said at 2008-03-16 19:44:22

Duplicate issue #1917 has a test case that fails with this patch; look there for details.

garyo said at 2008-03-17 20:28:04

Milestone: 2.x.

gregnoel said at 2008-12-26 13:20:28

Adjust triage of issues.

stevenknight said at 2009-11-10 18:00:20

stevenknight => issues@scons

Votes for this issue: 5.

nate_snapp attached csharp.zip at 2008-02-13 08:14:03.

Documentation, test cases, and source code for csharp compiler support

gregnoel said this issue is duplicated by #1917 at 2008-03-16 19:42:51.

bdbaddog avatar Jan 02 '18 12:01 bdbaddog

See also #2490

mwichmann avatar Oct 23 '24 14:10 mwichmann