Click here to Skip to main content
16,017,231 members
Please Sign up or sign in to vote.
1.00/5 (1 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 21:51pm

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[^]
 
Share this answer
 
v2
Hi,

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900