You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/> |
|
// <version>$Revision$</version> |
|
// </file> |
|
|
|
using System; |
|
using System.IO; |
|
using ICSharpCode.SharpDevelop.Internal.Templates; |
|
using ICSharpCode.SharpDevelop.Project; |
|
using ICSharpCode.SharpDevelop.Dom; |
|
|
|
namespace ICSharpCode.ILAsmBinding |
|
{ |
|
public class ILAsmProject : CompilableProject |
|
{ |
|
public ILAsmProject(ProjectLoadInformation info) |
|
: base(info) |
|
{ |
|
} |
|
|
|
public ILAsmProject(ProjectCreateInformation info) |
|
: base(info) |
|
{ |
|
this.AddImport(@"$(ILAsmAddInPath)\SharpDevelop.Build.MSIL.Targets", null); |
|
} |
|
|
|
public override string Language { |
|
get { return ILAsmProjectBinding.LanguageName; } |
|
} |
|
|
|
public override LanguageProperties LanguageProperties { |
|
get { return LanguageProperties.None; } |
|
} |
|
|
|
public override ItemType GetDefaultItemType(string fileName) |
|
{ |
|
if (string.Equals(".il", Path.GetExtension(fileName), StringComparison.OrdinalIgnoreCase)) |
|
return ItemType.Compile; |
|
else |
|
return base.GetDefaultItemType(fileName); |
|
} |
|
} |
|
}
|
|
|