NuGetReferenceSwitcher
NuGetReferenceSwitcher copied to clipboard
Add support for new MSBuild .csproj format
Could not load project NewProjectFormat (new MSBuild .csproj are not supported, unload them first):
System.NullReferenceException: Object reference not set to an instance of an object.
at NuGetReferenceSwitcher.Presentation.Models.ProjectModel.LoadReferences()
at NuGetReferenceSwitcher.Presentation.ViewModels.MainDialogModel.GetAllProjects(IEnumerable`1 objects)
Any update on this ?? We are also facing same issue.
Just for information. I am using Visual Studio 2017 - version 15.3 For .net standard 2.0
+1
I havent planned to implement this feature - however i accpect prs... im working on a command line version for .net core with this feature, because it is much simpler than developing a vs extension...
Great extension, would even be better with this issue, so +1.
@RSuter,
command line version for .net core with this feature
Will it be in the same repository? Or in the separate repository? When are you planning to release it?
As an alternative, you might want to use condition=... in your itemgroups. In that way, depending on $(Configuration) you can use referenced packages or project references easily with one csproj file. Works in both old and new csproj format.
@monty241 this is a really good idea. After I changed all my projects to this, I really no longer need this extension :-)
@michael-freidgeim-webjet i'm not yet sure if I open-source this tool, I'm already spending a lot of time for open source (see my other projects), and I also need to earn some money sometimes or have some free time... the current is not really working very well.
Any updates on this?
This is not planned, use DNT instead: https://github.com/RicoSuter/DNT