Skip to content

Commit

Permalink
Fix AppVeyor after .NET Core (#25)
Browse files Browse the repository at this point in the history
* Fix Appveyor config after .NET Core change

* Is that what you want, Appveyor?

* Fixed paths

* Last change, rename the artifact
  • Loading branch information
Smenus authored Nov 9, 2020
1 parent 5275a87 commit 46efb06
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
16 changes: 13 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
image: Visual Studio 2019
version: 1.0.{build}
configuration: Release

dotnet_csproj:
patch: true
file: 'src\PrivateGalleryCreator.csproj'
version: '{version}'

before_build:
- cmd: dotnet --version
- cmd: dotnet restore src\PrivateGalleryCreator.csproj --verbosity m

build_script:
- ps: ./build.ps1
- cmd: dotnet publish src\PrivateGalleryCreator.csproj

artifacts:
- path: 'src\bin\**\*.exe'
name: Executable
- path: 'src\bin\$(configuration)\netcoreapp3.1\publish'
name: PrivateGalleryCreator
8 changes: 7 additions & 1 deletion src/PrivateGalleryCreator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<ApplicationIcon />
<OutputType>Exe</OutputType>
<StartupObject />
<Version>1.0.0</Version>
</PropertyGroup>


<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>None</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>

</Project>

0 comments on commit 46efb06

Please sign in to comment.