Skip to content

Commit

Permalink
Update CSharpFunctionalExtensions package. Minor updates to build scr…
Browse files Browse the repository at this point in the history
…ipt.

The package update fixes some of the build warnings but there are
other libaries that generate IL2104 as well - disabling warnings as
errors temporarily.
  • Loading branch information
Caleb9 committed Nov 23, 2021
1 parent c6587d6 commit d60bea7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions CameraUtility/CameraUtility.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<ImplicitUsings>enable</ImplicitUsings>
<!-- <TreatWarningsAsErrors>true</TreatWarningsAsErrors>-->
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CSharpFunctionalExtensions" Version="2.25.0" />
<PackageReference Include="CSharpFunctionalExtensions" Version="2.26.0" />
<PackageReference Include="MetadataExtractor" Version="2.7.1" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
<PackageReference Include="System.IO.Abstractions" Version="13.2.47" />
Expand Down
12 changes: 7 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ init:
- git config --global core.autocrlf true

install:
- dotnet tool install --global --version 5.6.6 gitversion.tool
- dotnet tool install --global --version 5.8.1 gitversion.tool

before_build:
# Display versions of used tools
Expand Down Expand Up @@ -51,20 +51,22 @@ matrix:
configuration: Release

test_script:
- dotnet test --verbosity m --configuration $CONFIGURATION
--runtime $CameraUtility_runtime --logger:AppVeyor;
- dotnet test
--verbosity m
--configuration $CONFIGURATION
--runtime $CameraUtility_runtime
--logger:AppVeyor

after_test:
- dotnet publish
--verbosity m
--configuration $CONFIGURATION
--runtime $CameraUtility_runtime
--output $CameraUtility_PublishFolder
--self-contained
$CameraUtility_ConsoleAppProject
/p:PublishSingleFile=true
/p:PublishTrimmed=true
/p:DebugType=None
/p:IncludeNativeLibrariesForSelfExtract=true
- 7z a $CameraUtility_ConsoleAppName-$GitVersion_FullSemVer-$CameraUtility_runtime.zip
$APPVEYOR_BUILD_FOLDER/$CameraUtility_PublishFolder/* $APPVEYOR_BUILD_FOLDER/LICENSE.txt

Expand Down

0 comments on commit d60bea7

Please sign in to comment.