Skip to content

Commit

Permalink
Fixed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkapok committed Aug 31, 2023
1 parent 67b22eb commit 0d13894
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Build/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (-Not $(Test-Path $msbuild)) {
$solutionFile = "..\Source\Terminals.sln";
dotnet restore $solutionFile # already expecting new dotnet installed with Visual studio
# Compile the solution - the distributionrelease configuration contains installer, which is not normal configurations
& "$msbuild" $solutionFile /m /p:configuration=DistributionRelease /p:Platform='Mixed Platforms' /t:rebuild -restore | Tee-Object $logFile -Append;
& "$msbuild" $solutionFile /m /p:configuration=DistributionRelease /p:Platform='Mixed Platforms' /t:rebuild -restore /verbosity:diag | Tee-Object $logFile -Append;

.\PackOutput.ps1 | Tee-Object $logFile -Append;

Expand Down
2 changes: 1 addition & 1 deletion Source/Terminals/Properties/Common.AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
[assembly: AssemblyCompany("Robert Chartier")]
[assembly: AssemblyProduct("Terminals by Robert Chartier")]
[assembly: AssemblyCopyright("Copyright © by Robert Chartier 2006 - 2023")]
[assembly: AssemblyVersion("4.0.1.*")]
[assembly: AssemblyVersion("5.0.0.*")]
7 changes: 6 additions & 1 deletion Source/Terminals/Terminals.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
<PackageReference Include="System.Memory" />
<PackageReference Include="System.Numerics.Vectors" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
<PackageReference Include="System.Threading.Tasks.Extensions" />
<PackageReference Include="System.Threading.Tasks.Extensions" GeneratePathProperty="true" ExcludeAssets="Compile;Runtime;Build" />

<!-- Hack https://github.com/dotnet/sdk/issues/1791 to enforce nestandard version -->
<Reference Include="System.Threading.Tasks.Extensions">
<HintPath>$(PkgSystem_Threading_Tasks_Extensions)\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>

<Reference Include="AWSSDK, Version=1.3.10.0, Culture=neutral, PublicKeyToken=cd2d24cd2bace800, processorArchitecture=MSIL">
<HintPath>..\..\Resources\Libraries\AmazonS3\AWSSDK.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion Source/TerminalsSetup/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<!--to make new release change all product id, package id and version number-->
<Product Id="*" Name="Terminals" Language="1033" Version="4.0.1.0" Manufacturer="Robert Chartier"
<Product Id="*" Name="Terminals" Language="1033" Version="5.0.0.0" Manufacturer="Robert Chartier"
UpgradeCode="DD0D31A2-2E86-4F3F-98CE-6AED37FF24CD">
<Package Id="*" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A newer version of Terminals is already installed." />
Expand Down
8 changes: 7 additions & 1 deletion Source/Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Threading.Tasks.Extensions" />
<PackageReference Include="System.Threading.Tasks.Extensions" GeneratePathProperty="true" ExcludeAssets="Compile;Runtime;Build" />
<!-- Hack https://github.com/dotnet/sdk/issues/1791 to enforce nestandard version -->
<Reference Include="System.Threading.Tasks.Extensions">
<HintPath>$(PkgSystem_Threading_Tasks_Extensions)\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>

<PackageReference Include="System.Memory" />
<PackageReference Include="System.Numerics.Vectors" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
Expand Down

0 comments on commit 0d13894

Please sign in to comment.