Actually i was trying to build MVC project on Visual Studio 2019 but when i'm switching to visual studio 2019 so i get some reference error so finally i resolve all the issues then build solution so i have one error on Telerik.Web.UI reference. I'm already spend 2 hours on this issue but still i don't have an idea about it please help.
'Could not load file or assembly 'Telerik.Web.UI, Version=2015.1.225.45,
Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Operation is not
supported
Solved, problem is that i have telerik license file so delete this license file and add reference then build project, its working.
I am glad you've managed to solve the problem.
For anyone else who is experiencing this issue in the future, let he/she checks the following KB article: https://www.telerik.com/support/kb/aspnet-ajax/details/how-to-fix-license-file-related-errors
Related
My project was working in visual studio 2012 MVC4 i opened it in visual studio 2017 and i see under URL,model,View Bag,im getting error stating model does not exist,Url does not exist in the current context,
i dont know what im missing something which i have to add when i want to open project in visual studio 2017,in webconfig my mvc version :
System.Web.Mvc, Version=3.0.0.0
i changed it to 4 also but still the same errors,what could be the cause?am i missing a reference?
Are you able to run the project, even though it's giving you errors? I had the same issue when I started using VS2017 with an older project. For some reason, it could not resolve the dependencies and restore packages was not working. However, I am now on VS2017 15.8.6, and a simple "Rebuild Solution" did the trick. Failing that, you can try some of the suggestions mentioned here. Good luck, I hope it helps!
VisualStudio 2015.1 Enterprise/TFS integration worked fine until VS2015 update 2 was applied.
Reinstalling/repairing VisualStudio didn't fix the issue, keep getting:
TF205020: Could not connect to server ...... The server returned the following error:
Could not load type Microsoft.VisualStudio.Services.WebApi.Utilities.UserAgentUtility' from assembly 'Microsoft.VisualStudio.Services.WebApi, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
SETUP:
VS Enterprise 2015.2
TFS 2015.2
We had the same issue here. Reinstalling Visual Studio 2015 after deleting cache, user profile folders and registry settings didn't help us. It looks like a TestComplete 11.31 installation installs some assemblies in the GAC which conflicts with Visual Studio 2015 Update 2. We fixed the issue comparing two almost identical systems (one with and one without TestComplete) and these assemblies we deleted from the %WINDOWS%\Microsoft.NET\assembly folder:
Micorosft.VisualStudio.Services.Client
Micorosft.VisualStudio.Services.Common
Micorosft.VisualStudio.Services.Integration
Micorosft.VisualStudio.Services.WebApi
But the problem still existed. After removing:
Microsoft.TeamFoundation.Client
Microsoft.TeamFoundation.WorkItemTracking.Common
the problem was gone!
I hope this will help your issue...
To narrow down this issue:
Check Windows event viewer for more info of the errors.
Try to clear TFS and VS cache ,detail step with this blog
Try to make sure you can access the TFS web
accesshttp://:8080/tfs/web/
The same as this issue: Extension fails to load on VS2015.2, try with the solution in it:
Can you check if Microsoft.VisualStudio.Services.WebApi.dll is
installed into the GAC? The easiest way to do this is to check if
there is a folder that starts with v14.0.0.0 under the
c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Services.WebApi.
I suspect you have an assembly from VS 2015 RTM or VS 2015 Update 1 in
the GAC. Uninstalling it, will fix the issue.
Thanks to Ernstjan Freriks, this additional info (originally from Microsoft Connect) helped me:
The Tfs client binaries should not be in your GAC. The only way they would get there is to add them yourself, or install some 3rd party application that has added them. Once they are in the GAC they will be loaded instead of the binary that matches your version of TeamExplorer or tf.exe. You need to remove all instances of any Team Foundation binary from the GAC including the following:
Microsoft.TeamFoundation.Build2.WebApi.dll
Microsoft.TeamFoundation.Chat.WebApi.dll
Microsoft.TeamFoundation.Common.dll
Microsoft.TeamFoundation.Core.WebApi.dll
Microsoft.TeamFoundation.Diff.dll
Microsoft.TeamFoundation.Discussion.Client.dll
Microsoft.TeamFoundation.Discussion.WebApi.dll
Microsoft.TeamFoundation.Git.Client.dll
Microsoft.TeamFoundation.Lab.Client.dll
Microsoft.TeamFoundation.Lab.Common.dll
Microsoft.TeamFoundation.Lab.TestIntegration.Client.dll
Microsoft.TeamFoundation.Lab.WorkflowIntegration.Client.dll
Microsoft.TeamFoundation.Policy.WebApi.dll
Microsoft.TeamFoundation.ProjectManagement.dll
Microsoft.TeamFoundation.SharePointReporting.Integration.dll
Microsoft.TeamFoundation.SourceControl.WebApi.dll
Microsoft.TeamFoundation.Test.WebApi.dll
Microsoft.TeamFoundation.TestImpact.Client.dll
Microsoft.TeamFoundation.TestManagement.Client.dll
Microsoft.TeamFoundation.TestManagement.Common.dll
Microsoft.TeamFoundation.TestManagement.WebApi.dll
Microsoft.TeamFoundation.VersionControl.Client.dll
Microsoft.TeamFoundation.VersionControl.Common.dll
Microsoft.TeamFoundation.VersionControl.Common.Integration.dll
Microsoft.TeamFoundation.Work.WebApi.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.dll
Microsoft.TeamFoundation.WorkItemTracking.Client.QueryLanguage.dll
Microsoft.TeamFoundation.WorkItemTracking.Common.dll
Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll
Microsoft.TeamFoundation.WorkItemTracking.WebApi.dll
Microsoft.VisualStudio.Services.Client.dll
Microsoft.VisualStudio.Services.Common.dll
Microsoft.VisualStudio.Services.WebApi.dll
You can use gacutil to remove these. Once removed your issue should be fixed.
I'm working with another developer on a project and everything has been working great until today. Now when I check out the solution to my Visual studio 2013, my reference to System.Web.Mvc is lost and I have to manually re-add it.
When I check in and she checks out, the same issue occurs for her. The path to the assembly is the same on both of our machines:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC
4\Assemblies\System.Web.Mvc.dll
but for whatever reason, we're not in sync. As I said above, it was working great until today so something must've changed...but I have no idea what???
Any suggestions/ideas of what to look for to resolve this?
TIA
This issue occurred due to a Security update that incremented the version of MVC. So if you had References in your project pointing to the hard drive where the 2.0/ 3.0/ 4.0 version was. Your project was needing that particular version. Another way to solve this is to use Nuget to update references.
This is a post from Microsoft regarding the issue:
http://blogs.msdn.com/b/webdev/archive/2014/10/16/microsoft-asp-net-mvc-security-update-broke-my-build.aspx
I've just downloaded and installed VS2012 Ultimate RC. When I create a new ASP.NET MVC project it refuses to create it with the following error message:
"The Project File '......' cannot be opened. There is a missing project subtype. Subtype : '{E53F8FEA-EAE0-44A6-8774-FFD645390401}' is unsupported by this installation."
thanks for help.
Alright, it works now. Seems there was a problem in my vs12 installation. A repair has fixed the problem and it's working great now. Thank you guys.
I am using Visual Studio 2003 and I having a strange problem. I have a solution file in which several projects are added. However, due to some corruption, i cannot see the properties of one project. It gives a message box saying "unspecified error" when i try to check the properties of that project. The delete option of the project is also disabled. Can anyone knows what exactly went wrong ? Any help will be highly appreciated.