Skip to content

Commit

Permalink
Added command line entry point.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Jun 9, 2022
1 parent b6459a9 commit b286d5f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ILAsm.Managed.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
LICENSE = LICENSE
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILAsm.Managed", "ILAsm.Managed\ILAsm.Managed.csproj", "{02460F37-93DF-4F31-89FB-42C16823F080}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -22,6 +24,10 @@ Global
{ED384E9E-56E1-4AEB-B92B-7E270425D70E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED384E9E-56E1-4AEB-B92B-7E270425D70E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ED384E9E-56E1-4AEB-B92B-7E270425D70E}.Release|Any CPU.Build.0 = Release|Any CPU
{02460F37-93DF-4F31-89FB-42C16823F080}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02460F37-93DF-4F31-89FB-42C16823F080}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02460F37-93DF-4F31-89FB-42C16823F080}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02460F37-93DF-4F31-89FB-42C16823F080}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
17 changes: 17 additions & 0 deletions ILAsm.Managed/ILAsm.Managed.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.2;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<OutputType>Exe</OutputType>

<AssemblyName>ilasm</AssemblyName>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

<NoWarn>$(NoWarn);1591;1587;1570;1572;1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\ILAsm.Managed.Core\ILAsm.Managed.Core.csproj" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions ILAsm.Managed/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Mono.ILASM;

public static class Program
{
public static int Main(string[] args) =>
Driver.Main(args);
}

0 comments on commit b286d5f

Please sign in to comment.