Visual J# Developer Center > Visual J# Forums > Visual J# General > Preventing vjsharp compiler to be invoked?
Ask a questionAsk a question
 

Proposed AnswerPreventing vjsharp compiler to be invoked?

  • Monday, September 28, 2009 10:12 AMkaspario Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    To make a long story short, I was aked to package an already existing web site into a Visual Studio (2008) WebSite project. This web site has mainly asp 3.0 files (.asp) and .NET files (mainly .aspx and .vb and some ascx and .dll in the /bin folder). Things have been going rather smoothly so far but now, I'm stuck with a particular forder that has some java .class in it. The project won't compile with those and I get the error:

    The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.  

    Now, I guess I could install VJ# but I don't see the point in doing this since those .class files are meant to be sent to the client (it's a java menu) and they don't need to be compiled in the project in the first place...

    So my question is: is there a way to prevent the .class from triggering the vjsharp compiler? Something like "ignore all .class files". Please take notice that the projet is a WebSite project and not a WebApplication project (if it makes any difference for that situation).

    I kow it's a long shot to ask how NOT to use j# in a j# forum but I guess if it can be done, one of you might most likely be aware of how to do it.

    Thank you very much.

All Replies

  • Tuesday, September 29, 2009 9:56 AMSnedog Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Hi,

    To make a long story short, I was aked to package an already existing web site into a Visual Studio (2008) WebSite project. This web site has mainly asp 3.0 files (.asp) and .NET files (mainly .aspx and .vb and some ascx and .dll in the /bin folder). Things have been going rather smoothly so far but now, I'm stuck with a particular forder that has some java .class in it. The project won't compile with those and I get the error:

    The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.  

    Now, I guess I could install VJ# but I don't see the point in doing this since those .class files are meant to be sent to the client (it's a java menu) and they don't need to be compiled in the project in the first place...

    So my question is: is there a way to prevent the .class from triggering the vjsharp compiler? Something like "ignore all .class files". Please take notice that the projet is a WebSite project and not a WebApplication project (if it makes any difference for that situation).

    I kow it's a long shot to ask how NOT to use j# in a j# forum but I guess if it can be done, one of you might most likely be aware of how to do it.

    Thank you very much.

    • Proposed As Answer bySnedog Tuesday, September 29, 2009 9:56 AM
    •