java.util中没有在Visual Studio 2010
问题描述:
我使用java.util.zip在C#中的Visual Studio 2005项目解压压缩文件,java.util中没有在Visual Studio 2010
工作,但是当我升级项目,Visual Studio 2010中不编译再投掷以下错误
"The type or namespace name 'java' could not be found (are you missing a using directive or an assembly reference?)"
java or java.util is missing in visual studio 2010?我应该怎么做才能在我的项目中添加这个项目?
答
J#是discontinued in VS 2008。您需要安装J#2.0可再发行组件包(从同一页面链接),并在C#项目中添加适当的引用。可以使用SharpZipLib或其他第三方库。
+0
感谢您的快速回复,我认为使用SharpZibLib或DotnetZipLib(http://dotnetzip.codeplex.com/)会是更好的选择。 –
Java.Util,在C#中?什么? – Pluc
@Pluc [yep](http://msdn.microsoft.com/zh-cn/magazine/cc164129.aspx)。 – CodeCaster
您不能将Visual Studio用作Java的IDE。除非我错过了一些东西。 – zeencat