use sourcelink
2 files changed, 4 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 21bb0ca3c..dacb38243 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -6,8 +6,6 @@ environment:
secure: S26+NphAhj/vo5ZdHd/N/4toty3ztdNGmuNdvAB57W1oIVQEHVKqAVuhTD8B9ATy
install:
- - cmd: appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v4.0.0/NuGet.exe
- - cmd: nuget install gitlink -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion
- cmd: nuget install SignClient -Version 0.5.0-beta4 -SolutionDir %APPVEYOR_BUILD_FOLDER% -Verbosity quiet -ExcludeVersion -pre
assembly_info:
@@ -18,7 +16,6 @@ build_script:
- cmd: msbuild /t:build BouncyCastle.sln
- cmd: msbuild /t:pack crypto\src\crypto.csproj /p:PackageId="Portable.BouncyCastle" /p:PackageOutputPath="%APPVEYOR_BUILD_FOLDER%"
-after_build:
- - cmd: '.\packages\gitlink\lib\net45\GitLink.exe . -f BouncyCastle.sln -u https://github.com/onovotny/bc-csharp -c Release -s %APPVEYOR_REPO_COMMIT% -errorsaswarnings'
+after_build:
- ps: '.\scripts\Sign-Package.ps1'
- ps: 'cmd /c "appveyor PushArtifact *.nupkg";if($lastexitcode -ne 0){$lastexitcode = 0}'
\ No newline at end of file
diff --git a/crypto/src/crypto.csproj b/crypto/src/crypto.csproj
index 6175a6db2..fb4541070 100644
--- a/crypto/src/crypto.csproj
+++ b/crypto/src/crypto.csproj
@@ -9,6 +9,7 @@
<Copyright>Copyright (C) 2000-2017</Copyright>
<Company>The Legion of the Bouncy Castle Inc.</Company>
<Description>Bouncy Castle Cryptography API</Description>
+ <DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -31,6 +32,8 @@
<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-git" Version="2.0.0" />
+ <PackageReference Include="SourceLink.Create.GitHub" Version="2.0.0" PrivateAssets="all" />
</ItemGroup>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>
\ No newline at end of file
|