Permalink
Browse files

Build updates.

  • Loading branch information...
jp2masa committed Nov 1, 2018
1 parent 9ab9f56 commit 7b2551a56825eb59371587a9478c8cc64845a276
@@ -1,14 +1,5 @@
<Project>
<PropertyGroup>
<!--
This property should exist, according to the docs, but it has no effect on pack.
-->
<PackageVersionPrefix>$([System.DateTime]::Now.ToString("yyyy.MM.dd"))</PackageVersionPrefix>
<PackageVersion Condition="'$(PackageVersionPrefix)' != '' AND '$(VersionSuffix)' != ''">$(PackageVersionPrefix)-$(VersionSuffix)</PackageVersion>
<PackageVersion Condition="'$(PackageVersionPrefix)' != '' AND '$(VersionSuffix)' == ''">$(PackageVersionPrefix)</PackageVersion>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>True</SignAssembly>
</PropertyGroup>
@@ -18,8 +18,7 @@ nuget:
build_script:
- cmd: |
msbuild "build\Build.proj" /t:Restore;Build /maxcpucount /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
msbuild "build\Build.proj" /t:Restore;Build;Pack /maxcpucount /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# Disabled for now
#artifacts:
# - path: 'source\**\*.nupkg'
artifacts:
- path: 'artifacts\nupkg\*.nupkg'
@@ -1,6 +1,7 @@
<Project>
<PropertyGroup>
<PackageVersion Condition="'$(PackageVersionSuffix)' != ''">$(PackageVersion)$(PackageVersionSuffix)</PackageVersion>
<PackageDescription Condition="'$(PackageDescription)' != ''">$(PackageDescription)
$(IL2CPUDescription)</PackageDescription>
@@ -1,7 +1,15 @@
<Project>
<PropertyGroup>
<ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$(RepoRoot)artifacts\</ArtifactsDir>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<PlatformName Condition="'$(PlatformName)' == ''">$(Platform)</PlatformName>
</PropertyGroup>
<PropertyGroup>
<ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$(RepoRoot)artifacts\$(Configuration)\</ArtifactsDir>
<DefaultPackageOutputPath>$(ArtifactsDir)nupkg\</DefaultPackageOutputPath>
<PackageOutputPath>$(DefaultPackageOutputPath)</PackageOutputPath>
</PropertyGroup>
</Project>
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<IsPackable>True</IsPackable>
<!--<IsPackable>True</IsPackable>-->
<NoWarn>CA1707;CA1716;$(NoWarn)</NoWarn>
</PropertyGroup>

0 comments on commit 7b2551a

Please sign in to comment.