-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
Having followed the instructions here, attempting to build the runtime + libraries I ran into the following errors after running build.cmd clr+libs -rc Release. Upon a second attempt to compile, the build is successful. These two files evidently have some purpose as deleting them will regenerate them again. What is that purpose of these files, how am I suppose to deal with them? The error makes it sound like I am supposed to "check them in"(to git?). I presume that is not the case.
D:\dotnet\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AsnXml.targets(42,5): error : AsnXml regenerated files, be sure to check them in: D:\dotnet\runtime\src\libraries\Common\src\System\Security\Cryptogr
aphy\Asn1\AlgorithmIdentifierAsn.xml.cs [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net9.0-windows]
D:\dotnet\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AsnXml.targets(42,5): error : AsnXml regenerated files, be sure to check them in: D:\dotnet\runtime\src\libraries\Common\src\System\Security\Cryptogr
aphy\Asn1\SubjectPublicKeyInfoAsn.xml.cs [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net9.0-windows]
0 Warning(s)
2 Error(s)
My suggestion would be to:
- Either generate the files silently without failing the build or improve the message by stating that one would have to re-run the build
- Have a default
.gitignorefor these files for them not to pollute the git context or some guidance around how one is suppose to deal with the files
When following the instructions