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>
On Sun, Dec 8, 2019 at 1:35 AM Richard Frovarp <[email protected]>
wrote:
> The web.xml file is part of your web application. You need to modify that
> and include the required jar files.
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf of KIRTI
> KHEDKAR <[email protected]>
> *Sent:* Friday, December 6, 2019 10:09:56 PM
> *To:* CAS Community <[email protected]>
> *Subject:* [cas-user] Re: Cas java client
>
> I got source code of Java client from github but didn't get web.xml in
> that. Is it will create after build or we have to create ? and what is
> correct location/path of web.xml file
>
> On Friday, 6 December 2019 14:27:20 UTC+5:30, KIRTI KHEDKAR wrote:
>
> Please tell me how to deploy Java CAS client
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/32909d09-7630-40b2-a687-38ebd867e84e%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/32909d09-7630-40b2-a687-38ebd867e84e%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/SN2PR0801MB2175104FADDDDE689330C91A8B5E0%40SN2PR0801MB2175.namprd08.prod.outlook.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/SN2PR0801MB2175104FADDDDE689330C91A8B5E0%40SN2PR0801MB2175.namprd08.prod.outlook.com?utm_medium=email&utm_source=footer>
> .
>
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFCHdjnkfFhxke-FFADeuTnj7UfCKYQSue1JeTg6KJAZBC4xsQ%40mail.gmail.com.