How exactly can I fix them, and why has it been crippled in such a way?
I can't make any edits to the project, because even if I do, I won't be able to debug it.
EDIT: On a top level, when running the build scripts, I get the following error, for each and every project:
error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]]
RTM? https://github.com/IdentityServer/IdentityServer4/#how-to-build
@brockallen
PS C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master> .\build.ps1
Directory: C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 4/1/2020 8:21 PM nuget
Tool 'signclient' (version '1.2.17') was restored. Available commands: SignClient
Tool 'dotnet-ef' (version '3.1.0') was restored. Available commands: dotnet-ef
Restore was successful.
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(15,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\Storage\build\build.csproj]
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(18,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\Storage\build\build.csproj]
The build failed. Fix the build errors and run again.
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(15,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\IdentityServer4\build\build.csproj]
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(18,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\IdentityServer4\build\build.csproj]
The build failed. Fix the build errors and run again.
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(15,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\EntityFramework.Storage\build\build.csproj]
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(18,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\EntityFramework.Storage\build\build.csproj]
The build failed. Fix the build errors and run again.
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(15,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\EntityFramework\build\build.csproj]
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(18,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\EntityFramework\build\build.csproj]
The build failed. Fix the build errors and run again.
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(15,59): warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\AspNetIdentity\build\build.csproj]
obj\Debug\netcoreapp3.0\build.AssemblyInfo.cs(18,55): error CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]] [C:\Crazy\IdentityServer4-master (1)\IdentityServer4-master\src\AspNetIdentity\build\build.csproj]
The build failed. Fix the build errors and run again.
Do you have this version of the .NET SDK installed?
https://github.com/IdentityServer/IdentityServer4/blob/master/global.json
Yes I do. I even have newer versions of the SDK, along with the latest preview version.
If we manage to successfully build the application, will that remove all the errors the project has? I really can't edit the source, as many references, or classes appear to be missing.
Then I'm not sure, as (of course) it works in our build environments. @leastprivilege?
@brockallen I managed to fix this by adding a folder in the root directory called nuget!
I'm not sure why this happens, and why it's required, but it fixed all the missing dependencies/errors.
Thoughts?
Well - this folder is required because the nuget packages go there.
But it is not required that you manually create it. I just cloned a fresh copy and ran the build script and it was auto created. Same happens on the CI servers.
So not sure.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@brockallen I managed to fix this by adding a folder in the root directory called nuget!
I'm not sure why this happens, and why it's required, but it fixed all the missing dependencies/errors.
Thoughts?