Skip to content

Commit

Permalink
Configuration changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeReV committed May 17, 2021
1 parent 0b7a5c0 commit 07ded88
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
9 changes: 7 additions & 2 deletions Catalog.Wpf/Catalog.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<UseWPF>true</UseWPF>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand All @@ -15,8 +14,14 @@
<Product>Big Box Game Catalog</Product>
<AssemblyName>BBGC</AssemblyName>
<Title>Big Box Game Catalog</Title>
<Copyright>Copyright © 2020</Copyright>
<Copyright>Copyright © 2021</Copyright>
<PublishTrimmed>true</PublishTrimmed>
<TargetFrameworks>net5.0-windows;netcoreapp3.1</TargetFrameworks>
<LangVersion>9</LangVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<ItemGroup>
Expand Down
12 changes: 8 additions & 4 deletions Catalog/Catalog.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Catalog</RootNamespace>
<PackageVersion>0.3.1</PackageVersion>
<PackageVersion>0.3.2</PackageVersion>
<Title>Big Box Game Catalog</Title>
<Copyright>Copyright © 2020</Copyright>
<Copyright>Copyright © 2021</Copyright>
<Description>A cataloging software for Big Box game collections</Description>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AssemblyName>BBGC.Core</AssemblyName>
<Nullable>warnings</Nullable>
<PackageId>BigBoxGameCatalog.Core</PackageId>
<Authors>Amir Grozki</Authors>
<PackageProjectUrl>https://github.com/GeReV/BigBoxGameCatalog</PackageProjectUrl>
<RepositoryUrl>https://github.com/GeReV/BigBoxGameCatalog</RepositoryUrl>
<PublishTrimmed>true</PublishTrimmed>
<TargetFrameworks>net5.0-windows;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 6 additions & 2 deletions publish.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
@REM Use Publish Catalog.Wpf configuration from IDE.
@REM Figure out why published package didn't run.

pushd Catalog.Wpf

rd "bin/Release" /S /Q

dotnet publish -r win10-x64 -c Release
dotnet publish -r win-x64 -c Release

pushd bin/Release
pushd "bin/Release"

del /Q /F /S "*.pdb"
del /Q /F /S "*.md"

popd

Expand Down

0 comments on commit 07ded88

Please sign in to comment.