enable sourcelink
2 files changed, 6 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index dacb38243..ae2b84343 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,9 @@
configuration: Release
image: Visual Studio 2017 RC
+init:
+ - git config --global core.autocrlf input
+
environment:
SignClientSecret:
secure: S26+NphAhj/vo5ZdHd/N/4toty3ztdNGmuNdvAB57W1oIVQEHVKqAVuhTD8B9ATy
@@ -14,6 +17,7 @@ assembly_info:
build_script:
- cmd: msbuild /t:restore BouncyCastle.sln
- cmd: msbuild /t:build BouncyCastle.sln
+ - cmd: dotnet
- cmd: msbuild /t:pack crypto\src\crypto.csproj /p:PackageId="Portable.BouncyCastle" /p:PackageOutputPath="%APPVEYOR_BUILD_FOLDER%"
after_build:
diff --git a/crypto/src/crypto.csproj b/crypto/src/crypto.csproj
index fb4541070..bd61ea74b 100644
--- a/crypto/src/crypto.csproj
+++ b/crypto/src/crypto.csproj
@@ -32,8 +32,10 @@
<None Include="..\..\BouncyCastle.snk" />
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0011" PrivateAssets="All" />
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.0-rc4-31" PrivateAssets="All" />
+ <DotNetCliToolReference Include="dotnet-sourcelink" Version="2.0.0" />
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.0.0" />
<PackageReference Include="SourceLink.Create.GitHub" Version="2.0.0" PrivateAssets="all" />
+ <PackageReference Include="SourceLink.Test" Version="2.0.0" PrivateAssets="all" />
</ItemGroup>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>
\ No newline at end of file
|