Re: How do I import a user defined class into VisualStudio .net J#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Tony Johansson" <johansson.andersson@xxxxxxxxx> skrev i meddelandet
news:LL%pe.26927$d5.178347@xxxxxxxxxxxxxxxxxx
> Hello Experts!
>
> I'm using Visual Studio .NET with J#.
> For example if you compile a java file by using the javac in the command
> window(cmd) you get a class file.
> One example if you have a java file called Test.java and you compile this
> file
> from the command window you get a Test.class file.
>
> How to I import this class file Test.class so I can call methods that
> exist in that file.
> I have tried everything to set the classpath and I have put this classfile
> Test.class
> at the project folder and at the folder where the exe file is located.
> Nothing works.
>
> I have tried from Visual Studio In the "Project" menu "Add existing
> item..." Locate the
> files and "OK". But this didn't help.
>
> Does anybody know if it's possible to use a class file when you use Visual
> Studio .net. How do I do?

I forgot to tell you that the problem that I have is that I get compile
error saying "Cannot find class Test" if the class is called Test.

>
> //Tony
>
>
>


.



Relevant Pages

  • How do I import a user defined class into VisualStudio .net J#
    ... For example if you compile a java file by using the javac in the command ... One example if you have a java file called Test.java and you compile this ... How to I import this class file Test.class so I can call methods that exist ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Compile C# Class without VS 2003
    ... > I want to compile a simple c# class file without having to create project ... > visual studio .net...I know that I can use sharpdevelop, ...
    (microsoft.public.dotnet.languages.csharp)
  • Compile C# Class without VS 2003
    ... I want to compile a simple c# class file without having to create project in ... visual studio .net...I know that I can use sharpdevelop, ... a c# class and then compile it! ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: BUG: simulink 7.6 (r2010b) and visual c++ 2010 compiler
    ... I have 64-bit Windows 7 and MATLAB R2010b. ... I could compile yprime.c into a mexw64 file and run it. ... I tried to compile simulink code using the VC++ 2008 complier, ...
    (comp.soft-sys.matlab)
  • Re: Upgraded Web Service from VS2003 to VS2005 and all Hell breaks
    ... Visual Studio 2005 Web Application Projects ... "Because the Web Application Project model uses the same conceptual ... My web service project doesn't even have a bin folder. ... When I compile in batch from Visual Build Pro, ...
    (microsoft.public.dotnet.framework.webservices)