Add the project type nfproj
to the list of supportedProjectExtensions for Nuget CLI.
#10562
Labels
Community
PRs (and linked Issues) created by someone not in the NuGet team
good first issue
Issues identified as good for first-time contributors
help wanted
Considered good issues for community contributions.
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Type:Feature
Milestone
Details about Problem
NuGet product used: NuGet.exe
Product version: latest
Worked before? If so, with which NuGet version: none.
Repro steps and/or sample project
Proposal:
Add the project type
nfproj
to the list of supportedProjectExtensions inNuGet.Client/src/NuGet.Clients/NuGet.CommandLine/Common/ProjectHelper.cs
A PR can be raised if required.
Further explanation:
.NET nanoFramework (https://dotnetfoundation.org/projects/nanoframework) is an OSS platform that enables the writing of managed code applications for constrained embedded devices. It is supported by the .NET foundation.
.NET nanoFramework uses nuget packages extensively, however, due to a lack of support in VS for extensibility to have sub-projects in a given language (C#), we could not use the standard
csproj
type and have had to differentiate our projects by using anfproj
file extension.When performing automated dependency updates, currently nuget CLI does not recognise this extension and we have to perform a workaround of scripting the rename of these projects to be the standard
csproj
in order to run tasks likenuget update
, and then reverse the rename for compatibility with VS.This is far from ideal, and by adding support for the extension in nuget, it would alleviate a number of complex workarounds.
Verbose Logs
The text was updated successfully, but these errors were encountered: