Click here to Skip to main content
14,448,694 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi
i start learning MVC. my pc not connect to internet.
installing EntityFramework and the other nuget package, sometimes is very dificult.
but after many tries for install package, another error will be appeare.
after install EntityFramework to my project,after close project, it don't load again.
this error will shown:

.csproj : error  : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. 

thanks


What I have tried:

try much


but not get result
Posted
Updated 5-Nov-19 22:51pm
Rate this:
Please Sign up or sign in to vote.

Solution 2

NuGet needs an internet connection to download packages, so try to connect to the internet first and then use the NuGet package manager in Visual Studio.

If you really can't get internet, try this:
Is there a way to download packages from nuget.org then do an offline installation into Visual Studio? - Stack Overflow[^]
   
v2
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi,

Which version of visual studio you are using? Try to use VS2017 and check.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100