Re: How do I import a user defined class into VisualStudio .net J#
- From: "Tony Johansson" <johansson.andersson@xxxxxxxxx>
- Date: Thu, 09 Jun 2005 19:24:43 GMT
"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
>
>
>
.
- Follow-Ups:
- Re: How do I import a user defined class into VisualStudio .net J#
- From: Lars-Inge Tønnessen [VJ# MVP]
- Re: How do I import a user defined class into VisualStudio .net J#
- References:
- How do I import a user defined class into VisualStudio .net J#
- From: Tony Johansson
- How do I import a user defined class into VisualStudio .net J#
- Prev by Date: Re: How do I import a user defined class into VisualStudio .net J#
- Next by Date: Re: How do I import a user defined class into VisualStudio .net J#
- Previous by thread: Re: How do I import a user defined class into VisualStudio .net J#
- Next by thread: Re: How do I import a user defined class into VisualStudio .net J#
- Index(es):
Relevant Pages
|