I build the .net cas client but it get following package reference error
Please provide me solution.
Following is powershell output :
PS C:\cas\dotnet-cas-client> .\build.ps1
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing tools...
Installing addins...
Compiling build script...
========================================
Clean
========================================
Executing task: Clean
Cleaning directory C:/cas/dotnet-cas-client/DotNetCasClient/bin/Release
Cleaning directory C:/cas/dotnet-cas-client/artifacts
Finished executing task: Clean
========================================
Version
========================================
Executing task: Version
Is AppVeyor Build: False
Assembly Version: 1.3.0.0
Assembly File Version: 1.3.2.0
Assembly Informational Version: 1.3.2+Branch.master.Sha.2677b8d182af40d490644e08d194ce811f3e3795
Build Number: 0
NuGet Version: 1.3.2-local-00002
VCS Revision: 2677b8d182af40d490644e08d194ce811f3e3795
VCS Branch Name: master
GitVersion Info:
Major: 1
Minor: 3
Patch: 2
PreReleaseTag:
PreReleaseTagWithDash:
PreReleaseLabel:
PreReleaseNumber:
BuildMetaData:
BuildMetaDataPadded:
FullBuildMetaData: Branch.master.Sha.2677b8d182af40d490644e08d194ce811f3e3795
MajorMinorPatch: 1.3.2
SemVer: 1.3.2
LegacySemVer: 1.3.2
LegacySemVerPadded: 1.3.2
AssemblySemVer: 1.3.2.0
AssemblySemFileVer: 1.3.2.0
FullSemVer: 1.3.2
InformationalVersion: 1.3.2+Branch.master.Sha.2677b8d182af40d490644e08d194ce811f3e3795
BranchName: master
Sha: 2677b8d182af40d490644e08d194ce811f3e3795
NuGetVersionV2: 1.3.2
NuGetVersion: 1.3.2
CommitsSinceVersionSource: 2
CommitsSinceVersionSourcePadded: 0002
CommitDate: 2019-04-17
Creating assembly info file: C:/cas/dotnet-cas-client/DotNetCasClient/Properties/AutoGeneratedAssemblyInfo.cs
Finished executing task: Version
========================================
Restore-NuGet-Packages
========================================
Executing task: Restore-NuGet-Packages
MSBuild auto-detection: using msbuild version '16.4.0.56107' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'.
Nothing to do. None of the projects in this solution specify any packages for NuGet to restore.
Finished executing task: Restore-NuGet-Packages
========================================
Build
========================================
Executing task: Build
Microsoft (R) Build Engine version 4.8.3752.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 30-12-2019 18:22:28.
Project "C:\cas\dotnet-cas-client\DotNetCasClient.sln" on node 1 (Build target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Project "C:\cas\dotnet-cas-client\DotNetCasClient.sln" (1) is building "C:\cas\dotnet-cas-client\DotNetCasClient\DotNetCasClient.csproj" (2) on node 1 (default targets).
C:\cas\dotnet-cas-client\DotNetCasClient\DotNetCasClient.csproj(49,63): error MSB4066: The attribute "Version" in element <PackageReference> is unrecognized.
Done Building Project "C:\cas\dotnet-cas-client\DotNetCasClient\DotNetCasClient.csproj" (default targets) -- FAILED.
Done Building Project "C:\cas\dotnet-cas-client\DotNetCasClient.sln" (Build target(s)) -- FAILED.
Build FAILED.
"C:\cas\dotnet-cas-client\DotNetCasClient.sln" (Build target) (1) ->
"C:\cas\dotnet-cas-client\DotNetCasClient\DotNetCasClient.csproj" (default target) (2) ->
C:\cas\dotnet-cas-client\DotNetCasClient\DotNetCasClient.csproj(49,63): error MSB4066: The attribute "Version" in element <PackageReference> is unrecognized.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.03
An error occurred when executing task 'Build'.
Error: One or more errors occurred.
MSBuild: Process returned an error (exit code 1).
PS C:\cas\dotnet-cas-client>