-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net 8 Build fails when inside a particular git repository #1097
Comments
Did you enable experimental SHA-256 support in your git repository? i.e. when you created your git repository, did you do If you aren't sure, you can do I would guess that You will need to re-initialize the Git repository without the objectformat extension to change back to SHA1 - you can't change it after the repository has been initialized. I can reproduce this with a SHA256 repository:
|
@vcsjones , thank you. Yes, I use SHA-256. |
There's a condition on |
|
Hey @tmat should this get moved to dotnet/sourcelink and triaged? |
(also we're going to start tagging sourcelink-related issues with the Area-SourceLink label - can your team do periodic triage of these?) |
This does not work: This does: |
Yes, please move the issue to dotnet/sourcelink |
|
@tmat I can't transfer (perhaps due to permissions?) - can you transfer from this repo to dotnet/sourcelink? |
Description
When I try to build a new console project inside a particular git repository the build fails:
When the same project is moved out of git repository, it builds fine.
Reproduction Steps
I cannot reproduce the bug inside freshly initialized git repositories.
Expected behavior
The build cares not about whether the project is under the source control and succeeds.
Actual behavior
The build fails with cryptic error:
Regression?
Probably not, never experienced it with any version of .Net (or .Net Framework).
Known Workarounds
It is possible to work with the project out of source control and constantly moving it in and out of repository, but that's a hustle.
Configuration
dotnet:
dotnet --version
-> 8.0.100-preview.7.23376.3OS:
lsb_release -a
-> Ubuntu 22.04.3 LTS (Actually, Kubuntu).Architecture: x64.
I don't know whether it is specific to configuration.
I do not use Blazor.
Other information
No response
The text was updated successfully, but these errors were encountered: