I am using Visual Studio 2010. I installed AjaxToolkit for .NET 3.5 framework. The installation worked fine. I added a new tab called Ajax Tool kit and installed it.
In a new web form in my web application, I added a ScriptManager and added the following
<%# Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>
On testing the page, I got the below error:
Could not load file or assembly 'AjaxControlToolkit' or one of its
dependencies. The system cannot find the file specified.
I tried changing the name of ScriptManager to "ToolkitScriptManager" but I still got the error.
How should I reference Ajax Tool kit?
Please let me know.
Did you right click on the project and "Add Reference". Then choose the AjaxControllToolkit.dll that you downloaded?
Related
I am working on visual studio 2010. I am trying to Rebuild my setup project but I am getting these 3 error(s):
1: An error occurred generating a bootstrapper: Unable to finish updating resource for C:\Users\IBS Support\Desktop\Evalet Without Printer & Stored Procedrure\1\EVallet-Desktop\EvaletSetup\Debug\setup.exe with error 80070005
2: General failure building bootstrapper
3: Unrecoverable build error
I am using MS Visual Studio 2010, version 10.0.30319.1
(.Net FrameWork Version 4.5.50709)
This post should help you.
Quote from the post:
This happens because The .NET framework version required by the setup project is different than the .NET framework version targeted by the application.
To verify this:
In Solution Explorer, select the setup project.
On the View menu, point to Editor, and then click Launch Conditions. Click .NET
Framework.
In the Properties window, change the Version property to the version of the .NET Framework that you want the setup project to check for and install.
Hope this helps?
I'm getting the following error:
Could not load file or assembly 'System.Web' or one of its dependencies. The system cannot find the file specified.
To reproduce it, Create a new website in Visual Studio 2012. It creates a new templated website.
Add the AjaxControlToolkit via NuGet. Change the scriptmanager to the toolkit scriptmanager on the masterpage.
Clean solution, compile solution, run in debug.
I checked and double checked my references to System.Web (version 4.0 is what shows). All perfect. Running Code Analysis - no errors, no warnings, all perfect.
Any ideas? (All I want to do is create a simple website using a few AJAX controls)
Solution:
Remove reference to MsAjaxBundle
Remove Assembly="System.Web" from all script references
Add 2 new script references
asp:ScriptReference tag Assembly="AjaxControlToolkit" Name="ExtenderBase.BaseScripts.js"
asp:ScriptReference Assembly="AjaxControlToolkit" Name="Common.Common.js"
voila!
I found the answer here:
AjaxControlToolkit 7.0123 breaks VS2012 Web Application Project
this is driving me crazy, I`ve been unable to find a solution on SO or anywhere else.
VS2010 Professional SP1
MVC3 installed
NUGET updated
Windows 7 Professional
Any MVC3 project fails to load with the
The project type is not supported by this installation.
message.
What's crazy is I cannot even create a new MVC3 project, even though the template is available! VS gets through the new project wizard project, then I get the same failure message:
project type not supported
I've reinstalled VS and MVC3.
Background:
I used to have VS2010 Professional. Upgraded to VS2010 Ultimate. Installed SP1. Installed MVC3, MVC3 Tools Update
I'm currently working on some custom Orchard modules, and for some reason, I don't see Razor as an installed template. But if I fire up a new ASP.NET MVC3 app, I see it. Has anyone ran into this issue. I've tried uninstalling MVC3 and Tools Update. No luck. Is there something obvious I'm missing?
MVC3 app - as you can see MVC3 View Page (Razor) is available...
From an Orchard Module:
Have you tried to install the Razor engine as a NuGet Package for this solution? Open Package Manager Console (View - Other windows) and enter
Install-Package RazorEngine
Is the System.Web.Mvc.dll included in the references?
For me editing the project file and adding the value {E3E379DF-F4C6-4180-9B81-6769533ABE47} in front of the others guid's for <projecttypeguids> solved the problem.
I want to deploy a Visual Studio package built using VS2005 deploy on VS2010. I am able to register the package(using regpkg.exe) and I am able to see it as a project template in VS2010. However, the package has a editor page which is displayed as soon as we select this project template which does not get displayed and instead it shows a default editor of VS2010.
I am not sure if this is a problem registering the package or a problem between Visual Studio versions. Can someone help?
We've seen this issue in attempting to launch the editor for existing projects that were originally created in VS2005. We have an editor that handles a specific extension (.svc). In VS2005, the .csproj had:
<ItemGroup>
<None Include="MyServices.svc">
<SubType>Designer</SubType>
</None>
</ItemGroup>
Removing the <SubType>Designer</SubType> allowed the expected behavior (double-clicking on the file opened the plug-in) rather than the default editor. Creating a new .svc file in VS2010 resulted in:
<ItemGroup>
<Content Include="MyServices.svc" />
</ItemGroup>
That always seems to work correctly.