I installed visual studio 2008 in our server and tried to run our proejct on the server but i got this erro开发者_如何学JAVAr The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located. Do you have any idea what is my problem?
The J# support assemblies are not included in .NET, it is a separate download.
In Visual Studio 2010, in addition to installing Microsoft Visual J# Version 2.0 Redistributable Package, adding the following to Web.config within the main <configuration>
tag seemed to also be required:
<system.codedom>
<compilers>
<compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"></compiler>
</compilers>
</system.codedom>
It may be your project may include some Java related files and due to it this error can come,
Ref :- http://blogs.telerik.com/aspnet-ajax/posts/07-12-02/the-codedom-provider-type-microsoft-vjsharp-vjsharpcodeprovider-could-not-be-located.aspx
can also manually find "JSON" or java files and can delete it if not need.
精彩评论