mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
feat(nuget): add support for fsproj and vbproj files (#5220)
This commit is contained in:
parent
e9bc152308
commit
8126705d3d
4 changed files with 8 additions and 8 deletions
|
@ -773,7 +773,7 @@ See [Private npm module support](https://docs.renovatebot.com/private-modules) f
|
|||
|
||||
## nuget
|
||||
|
||||
The `nuget` configuration object is used to control settings for the NuGet package manager. The NuGet package manager supports SDK-style `.csproj` format, as described [here](https://natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/). This means that .NET Core projects are all supported but any .NET Framework projects need to be updated to the new `.csproj` format in order to be detected and supported by Renovate.
|
||||
The `nuget` configuration object is used to control settings for the NuGet package manager. The NuGet package manager supports SDK-style `.csproj`/`.fsproj`/`.vbproj` format, as described [here](https://natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/). This means that .NET Core projects are all supported but any .NET Framework projects need to be updated to the new `.csproj`/`.fsproj`/`.vbproj` format in order to be detected and supported by Renovate.
|
||||
|
||||
## nvm
|
||||
|
||||
|
|
|
@ -5,21 +5,21 @@ description: Nuget (.NET) dependencies support in Renovate
|
|||
|
||||
# Nuget
|
||||
|
||||
Renovate supports upgrading dependencies in `.csproj` files.
|
||||
Renovate supports upgrading dependencies in `.csproj`, `.fsproj`, and `.vbproj` files.
|
||||
|
||||
## Version Support
|
||||
|
||||
Only SDK-style `.csproj` files are currently supported. By default, this includes:
|
||||
Only SDK-style `.csproj`/`.fsproj`/`.vbproj`files are currently supported. By default, this includes:
|
||||
|
||||
- .NET Core 1.0 and above
|
||||
- .NET Standard class libraries
|
||||
- Any `.csproj` in the SDK-style syntax
|
||||
- Any `.csproj`/`.fsproj`/`.vbproj` in the SDK-style syntax
|
||||
|
||||
To convert your .NET Framework .csproj into an SDK-style project, one can follow the [following guide](https://natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/).
|
||||
To convert your .NET Framework `.csproj`/`.fsproj`/`.vbproj` into an SDK-style project, one can follow the [following guide](https://natemcmaster.com/blog/2017/03/09/vs2015-to-vs2017-upgrade/).
|
||||
|
||||
## How It Works
|
||||
|
||||
1. Renovate will search each repository for any files with a `.csproj` extension.
|
||||
1. Renovate will search each repository for any files with a `.csproj`, `.fsproj`, or `.vbproj` extension.
|
||||
2. Existing dependencies will be extracted from `<PackageReference>` tags
|
||||
3. Renovate will look up the latest version on [nuget.org](https://nuget.org) (or on [alternate feeds](#Alternate%20feeds)) to determine if any upgrades are available
|
||||
4. If the source package includes a GitHub URL as its source, and has either a "changelog" file or uses GitHub releases, then Release Notes for each version will be embedded in the generated PR.
|
||||
|
|
|
@ -1975,7 +1975,7 @@ const options: RenovateOptions[] = [
|
|||
stage: 'package',
|
||||
type: 'object',
|
||||
default: {
|
||||
fileMatch: ['\\.csproj$'],
|
||||
fileMatch: ['\\.(?:cs|fs|vb)proj$'],
|
||||
},
|
||||
mergeable: true,
|
||||
cli: false,
|
||||
|
|
|
@ -1309,7 +1309,7 @@
|
|||
"description": "Configuration object for C#/Nuget",
|
||||
"type": "object",
|
||||
"default": {
|
||||
"fileMatch": ["\\.csproj$"]
|
||||
"fileMatch": ["\\.(?:cs|fs|vb)proj$"]
|
||||
},
|
||||
"$ref": "#"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue