Skip to content
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

[Bug] Razor class libraries not supported #2482

Closed
DanScottNI opened this issue Dec 17, 2020 · 1 comment · Fixed by #2483
Closed

[Bug] Razor class libraries not supported #2482

DanScottNI opened this issue Dec 17, 2020 · 1 comment · Fixed by #2483
Labels
Milestone

Comments

@DanScottNI
Copy link
Contributor

Describe the bug
Razor class libraries are not detected as having a valid project SDK (it's Microsoft.NET.Sdk.Razor)

Expected Behavior

Razor class libraries should be a valid SDK type.

Actual Behavior

GitVersion isn't updating a CSPROJ file that is a Razor Class Library. The log contains this:

Specified project file Sdk (Microsoft.NET.Sdk.Razor) is not supported, please ensure the project sdk is of the following: Microsoft.NET.Sdk|Microsoft.NET.Sdk.Web|Microsoft.NET.Sdk.WindowsDesktop.

Possible Fix

Add Microsoft.NET.Sdk.Razor to the list of valid SDKs.

Steps to Reproduce

Create a new Razor Class Library.
Run GitVersion.
Nothing happens.

Context

Can't use GitVersion.

Your Environment

Windows

@github-actions
Copy link

🎉 This issue has been resolved in version 5.6.0 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants