Search code examples
visual-studio-2019visual-studio-extensionsnanoframework

Package installation error when new blank application in nanoframework is created


When i try create new blank application in nanoframework, i get package installation error.

error message

It seems some problem in nanoframework visual studio extension, my version is NET nanoFramework VS2019 Extension v2019.5.0.8.vsix, but i also tried another versions with same problem.

I have visual studio 2019 community edition and i have installed almost all components.

When i press ok, project is loaded, but is not possible compile it, because there are missing all assemblies. When i try add assembly, theres nothing to add and add nuget packages from nanoframework store leads to error.

when i try this:

pm> Install-Package nanoFramework.CoreLibrary.NoReflection -Version 1.10.1-preview.9

I get this error:

NU1202: Package nanoFramework.CoreLibrary.NoReflection 1.10.1-preview.9 is not compatible with netnanoframework10 (.NETna noFramework,Version=v1.0). Package nanoFramework.CoreLibrary.NoReflection 1.10.1-preview.9 supports: net (.NETFramework,Version=v0.0)

similiar when i try another package versions.

So the extensions is installed incorectly, but i cant find why. i tried it more times. uninstall and install again. from extenstion store, and from disc. nothing successfull.


Solution

  • The webserver NuGet released today fixes the issues with the version mismatches.

    The issue with VS2019 16.9 remains. Reported to VS Developer Community here. Please up vote to help increase priority.