Skip to content

Commit

Permalink
Run as dll, make main public
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeskydev committed Jul 21, 2019
1 parent 75170f3 commit c3a11a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions ColorzCore/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
</configuration>
11 changes: 5 additions & 6 deletions ColorzCore/ColorzCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B98F7CCF-9CAA-406E-88D7-2040FA99F631}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<RootNamespace>ColorzCore</RootNamespace>
<AssemblyName>ColorzCore</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -31,10 +32,8 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '32bit|AnyCPU'">
<OutputPath>bin\32bit\</OutputPath>
<PlatformTarget>x86</PlatformTarget>
<Optimize>true</Optimize>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
4 changes: 2 additions & 2 deletions ColorzCore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace ColorzCore
{
class Program
public static class Program
{
public static bool Debug = false;
private static string[] helpstringarr = {"EA Colorz Core. Usage:",
Expand Down Expand Up @@ -41,7 +41,7 @@ class Program
private const int EXIT_SUCCESS = 0;
private const int EXIT_FAILURE = 1;

static int Main(string[] args)
public static int Main(string[] args)
{
EAOptions options = new EAOptions();

Expand Down

0 comments on commit c3a11a7

Please sign in to comment.