Skip to content

Commit

Permalink
Use the new method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihlus committed Aug 18, 2019
1 parent e503dbc commit 4d648ee
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 40 deletions.
11 changes: 7 additions & 4 deletions .idea/.idea.Launchpad/.idea/contentModel.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.Launchpad/.idea/projectSettingsUpdater.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 12 additions & 13 deletions Launchpad.Launcher/Launchpad.Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,26 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<AssemblyName>Launchpad</AssemblyName>
<TargetFramework>net462</TargetFramework>
<TargetFramework>net461</TargetFramework>
<Platform>x86</Platform>
<PlatformTarget>x86</PlatformTarget>
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>7.1</LangVersion>
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>

<!-- Workaround for https://github.com/dotnet/roslyn-project-system/issues/1739 -->
<PropertyGroup>
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>
</PropertyGroup>

<PropertyGroup>
<Version>2.0.0</Version>
<Description>An open-source launcher for your games.</Description>
<Authors>Jarl Gullberg;jax</Authors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Config.Net" Version="4.7.3" />
<PackageReference Include="GtkSharp" Version="3.22.24.36" />
Expand All @@ -38,11 +30,13 @@
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta004" PrivateAssets="all" />
<PackageReference Include="NGettext" Version="0.6.3" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="app.manifest" />
<EmbeddedResource Include="Resources\**\*.*" />
<EmbeddedResource Include="Interface\Launchpad.glade" />
</ItemGroup>

<ItemGroup>
<Content Include="*.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -56,6 +50,7 @@
<InProject>false</InProject>
</Content>
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="$(ProjectDir)\..\stylecop.json">
<Link>stylecop.json</Link>
Expand All @@ -66,9 +61,11 @@
<InProject>false</InProject>
</AdditionalFiles>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Launchpad.Common\Launchpad.Common.csproj" />
</ItemGroup>

<Target Name="CopyGTK" AfterTargets="Build">
<ItemGroup>
<GTKetc Include="$(SolutionDir)\lib\gtk+-3.16-bundle-win32\etc\**\*.*">
Expand All @@ -90,4 +87,6 @@
<Copy SourceFiles="@(GTKshare)" DestinationFolder="$(OutputPath)\share\%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(GTKbin)" DestinationFolder="$(OutputPath)\%(RecursiveDir)" SkipUnchangedFiles="true" />
</Target>

<Import Project="..\props\netfx-mono.props" />
</Project>
17 changes: 6 additions & 11 deletions Launchpad.Tests/Launchpad.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net462</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Launchpad.Launcher\Launchpad.Launcher.csproj" />
</ItemGroup>

<Import Project="..\props\netfx-mono.props" />

</Project>
23 changes: 11 additions & 12 deletions Launchpad.Utilities/Launchpad.Utilities.csproj
Original file line number Diff line number Diff line change
@@ -1,39 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net462</TargetFramework>
<Platform>x86</Platform>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.1</LangVersion>
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>

<!-- Workaround for https://github.com/dotnet/roslyn-project-system/issues/1739 -->
<PropertyGroup>
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="Resources/Icons8-Android-Industry-Engineering.ico" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="GtkSharp" Version="3.22.24.36" />
<PackageReference Include="CommandLineParser" Version="2.2.1" />
<PackageReference Include="NGettext" Version="0.6.3" />
<PackageReference Include="NLog" Version="4.5.2" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Interface\Launchpad.Utilities.glade" />
</ItemGroup>

<ItemGroup>
<Content Include="Content\locale\**\*.po">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -44,9 +39,11 @@
<InProject>false</InProject>
</Content>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Launchpad.Common\Launchpad.Common.csproj" />
</ItemGroup>

<Target Name="CopyGTK" AfterTargets="Build">
<ItemGroup>
<GTKetc Include="$(SolutionDir)\lib\gtk+-3.16-bundle-win32\etc\**\*.*">
Expand All @@ -68,4 +65,6 @@
<Copy SourceFiles="@(GTKshare)" DestinationFolder="$(OutputPath)\share\%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="@(GTKbin)" DestinationFolder="$(OutputPath)\%(RecursiveDir)" SkipUnchangedFiles="true" />
</Target>

<Import Project="..\props\netfx-mono.props" />
</Project>

0 comments on commit 4d648ee

Please sign in to comment.