I have converted a java jar file to a dll file using IKVM.
I have created a simple C# application in VS2015 that has the converted dll as a reference to it. I had installed IKVM package using the following command:
Install-Package IKVM -Version 8.1.5717
After the installation ended, my application has a list of IKVM dlls referenced to it.
I had created a setup project for this simple application using Visual Studio Setup project. After adding the Primary Output files and all the IKVM dlls to the setup, I am building the setup project and getting the following Microsoft Visual Studio 2005 window asking for vs_setup.msi file.
I found this file in 2 locations:
C:\Program Files (x86)\Microsoft Visual Studio 8\Microsoft Visual Studio 2005 Team Explorer - ENU\vs_setup.msi
"[DVD Drive]:\vss\vs_setup.msi"
When I am trying to point to those locations, I am getting the following window:
Why building the setup project in VS2015 required vs_setup.msi of VS2005?
How can I fix this issue in order to create the setup.exe file successfully?
Note: My OS is Windows 10
Update:
I have tried to reinstall Visual Studio 2005 SP1 but it didn't fix the issue
For some reason it seems that not all the features from your Visual Studio were installed to your system. This isn't a bug, it's just one of the ways that some features can be installed, as "run from the DVD" or "install on demand". When it asks for the MSI file it requires the exact same MSI file, which is internally identified with ProductCode and PackageCode guids, and if they don't match the requested MSI it won't be used. From that screen shot, it's clear that the Visual Studio Premier Partner Edition disk is required, not that Team Explorer MSI file.
Visual Studio setup projects aren't part of Visual Studio 2015 - there is an installer extension that needs to be installed separately, this thing:
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2015InstallerProjects
I'll repeat that your comment saying it requires vs_setup.msi is not what the message actually says. It requires the install disk, and it's possible that with the Partner Edition Visual Studio the Installer Extension is on the disk, and that's why it wants the disk. The installer extension isn't installed, but it might be on that disk. If you haven't got that disk, try installing the Installer Extension from that link above.
Related
I have just installed the Visual Studio code and redhat.java (Language support for Java by RedHat). I have added a new folder to workspace which contains many project modules.
When I try to open a Java file from those folders, I see that the redhat.java extension starts and is stuck alwas at 37%.
I tried deleting the folder in the /workspaceStorage from the %appdata%\Code\User\workspaceStorage and restarted the system.
I have also tried reinstalling the extension.
But still, the problem persists.
P.S: I have no other extensions apart from this extension. This is the first extension that I am trying to install.
I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.
I have an xamarin android project. It worked and built so far. Now I changed the jdk1.8 from the x86 to the x64 since the Xamarin Forms designer needs this version to work properly according to Xamarin. Now I get this error on build:
5>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1965,3): error MSB6006: "java.exe" exited with code 2.
I read that this might be related to newer support libraries of google. But i have the newest version and had it already before I made the change. I also tried reboot my pc, clean and rebuild and delete all bin and obj folders without success. And so far I haven't found more information what this error could be and how to solve it besides switch back to the x86 version of the jdk.
I found the issue, while getting the diagnostic build log. I added the xamarin forms nuget package for embedded forms. With that package, the references exceed the max of what android is able to handle. So I had to enable multi-dex first. Then it built again.
I have downloaded the latest Android Studio and when I run studio64.exe it opens Android Studio as a standalone application, however I would like to install it to my system.
The website says there is an installation wizard however I get taken straight to the Android Studio start screen. Is there still a way to install it on a Windows machine?
Turns out that Android Studio is now portable - like Eclipse. In other words, there is no installing, you just get the zip file, which contains everything you need, such as the executables that run Android Studio. You'll need to store this folder somewhere relevant and create a shortcut to the studio(64).exe file to run it from desktop/start menu.
The SDK is also no longer bundled with Android Studio, so that will need to be downloaded separately.
As of this post the Android Studio installation instructions by Google are out of date.
you can get the sdk manager as stand alone installer.once installed you need to run it as "administrator", than only it will be able to download and install packages and api's. follow the given below link:
http://dl.google.com/android/installer_r23.0.2-windows.exe
Check if its in compatible mode with your OS version of your machine. Right click on the downloaded bundle > Move to properties> Compatibility tab> Select Compatibility tab> Tick the check-box- Run in Compatibility mode> Select your OS version from the drop down.
You will get the set up wizard :)
Worked for me :)
I am a .NEt developer but recently i am having to deal with some android /java code. I downloaded Android OS's camera app source code from following location:
https://android.googlesource.com/platform/packages/apps/Camera
Now, I am having these files on my Windows 7 machine. When I do a simple search of "How to compile android apk code on windows" most of the searches result in saying that it is very non trivial and I need Mac or Unix machine for it.
Now, Looks like this is all bunch of java files. But I am not sure what should b emy target environment to try to compile all these files?
Follow these steps:
Download adt bundle here
Extract the zip and start ecllipse ide
Create a new emulator on which you run your application. It looks like a mobile icon.
then goto file->import->android->existing android project to workspace
Browse to your downloaded location select your project
Run