I'm getting the attached error after having re-installed my computer and having simply re-installed VS2017.
Does anybody know how to fix this problem?
I don't remember anymore what I did to include this header in the previous VS version.
My best guess would be that I downloaded a platform SDK, but I have no idea which one I should download using VS2017.
Thank you very much for an advice.
Edit: I already have this SDK installed: https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk
It doesn't work anyways.
I selected Project->Properties->Windows SDK-Version->Default or Inherit from Standard.
And it worked.
It's now "7.0" as it had been before, but for some reason it works now.
Thanks to myself.
Also, I had to edit the Platform Toolset when I wanted to build the Release.
Here is a screenshot:
Related
I ran into some time consuming problems.
So basically I've been using VS 2015 for a while on Win7 64bit.
I installed the "Windows 8 Tools" because I tried to debug something for another version of windows. I played a lot to make that work, I think I changed the toolset locations maybe, but I don't know where that is and what the default would be.
The problem is when I uninstalled the Win8 toolsets from my Control Panel, then when I tried to enter one of my project, it said I needed to upgrade to windows 8.1 to load this project.
Even if I try to create a new JavaScript project it tells me I need to upgrade to Windows 8,1.
There is a weird message this is the link: (https://cdn.discordapp.com/attachments/183979885788659713/365283534644183065/unknown.png).
It says "Visual Studio 2013" I don't know why.
I've been googling for hours but I'm not even english and I don't find nothing I think my problem is too specific.
Maybe I miss something but can anyone help please?
Right now I'm desperate.
I uninstall with the cmd "D:\vs_entreprise.exe /uninstall /force" then reinstall, restarted, reset all settings to default in the "export and import settings" but same problem.
Thank you,
rt-2
I uninstalled all the framework I installed when I was trying to install the Win8 tools. Then VS told me that I was missing 4.6.something. I went into the CD and found "M:\packages\sdk_tools46\" and installed it, then I could open VS and create new projects. New projects are targeted for 10.
I have installed VS 2015 for the purpose of learning Xamarin Development. But, look what is happening is that I am not even getting right templates to create an Android application. Please find below the screenshot of my VS:
Now, Can anyone help me in getting my environment ready for android development at least. How can I find what are the things which are missing.
One more thing, previously I had android studio but now I have uninstalled it. So can I connect already downloaded android sdk with this VS Setup by putting sdk path at somewhere. I am just guessing if it is possible.
Anyway, I want my development environment ready. Suggest me.
Like Himanshu mentioned in the comments. You may not have selected the Xamarin during the installation.
Follow the steps mentioned in the link here https://msdn.microsoft.com/en-in/library/mt613162.aspx
Basicly I'm super newbie and started internship in IT company. I installed VS with Xamarin. The problem that I'm facing is very frustrating. So even when i create empty project I can't compile it and get error like this :
Severity Code Description Project File Line Suppression State
Warning major version 52 is newer than 51, the highest major version supported by this compiler.
I searched all over google and asked so many people and still no fix of my problem. If anybody can help me via skype or teamwiever i will APPRECIATE so much. My skype: toniterdal , feel free to add me.
I was having the same issue, and tearing my hair out. I had the JDK Version 8 installed, but these warnings wouldn't go away, and eventually they generated a build-breaking error.
When I went to Tools -> Options -> Xamarin, and looked at the Android Settings, the Java Development Kit Location was pointing to jdk.1.7.xxxx, in Program Files (x86).
I changed it to 1.8.0_101, in Program Files. Then I restarted Visual Studio, and the same error happened again. Somehow, Visual Studio was detecting Version 7 of the JDK and pointing it to that automatically.
So the solution turned out to be very simple. As well as installing Version 8 of the JDK, UNINSTALL Version 7 of the JDK. As soon as I did that, Xamarin turned out to be much better behaved. This step solved a whole bunch of seemingly unrelated problems.
That error is telling you that the Java Class version that is being loaded was compiled with Java 8 (52) but Java 7 (51) is trying to load that compiled class.
Java 7 uses major version 51
Java 8 uses major version 52
Check which Java version(s) are installed on your machine and review Xamarin's requirements and Java installation steps (linked below)
Installing the Java SDK (JDK)
For people having problems with setting the appropriate JDK version, you might want to try to override this setting in the vs2015 options dialog:
Delete bin folder and obj folder and run the project it will be work fine
You have a bad proguard.jar file, you need to replace this .jar by a correct version. The steps below describing how to do that. Some colleagues had the same problem here.
Go to Preferences => SDK locations and copy the Android SDK location.
Go to that folder (mostly /Users/USERNAME/Library/Developer/Xamarin/android-sdk-macosx) and go to the folder tools/proguard/lib.
Here you find a proguard.jar.
Rename this to proguard_OLD.jar.
Download the last proguard file (like this one https://sourceforge.net/projects/proguard/files/)
Unzip and place the proguard.jar in the tools/proguard/lib folder
Rebuild your Project
Everything should be fixed!
You can find more info about the bug here:
https://releases.xamarin.com/technical-bulletin-android-sdk-build-tools-24/
For me worked to change the SDK as well, but under Options->Xamarin->Android Settings, I don't have Cross Platform in Options for VS 2015Pro
Note for Windows 64 bit users, the JDK has to be the x86 version not the x64 version.
E.g. C:\Program Files (x86)\Java\jdk1.8.0_111
Kaloyan you can find the setting for the Java SKD under Tools->Options and the click on Xamarin in the Options list, then select Android Settings. I installed the latest Java version (8.0.111) and then did a clean on my project and it runs fine now with no errors. Thank you everyone for your posts!
In my case, i had to reinstall the JDK 8 (the last version) because other versions JDK 7 couldnt work even with new projects or clean up projects, and also i had to do a clean install of the android sdk.
This is how I solved the same issue I faced today:
From Control Panel > Uninstall a Program > uninstall the older Java versions which are on your system.
You should only have Jdk 1.8 and Jre 1.8 on your system.
Now go to C:/Program Files/Java and delete all older java versions.
If you have setup your JDK 1.8 and JRE 8 in C:/Program Files (x86)/Java then cut paste them into C:/Program Files/Java folder.
Then I restarted IntelliJ IDE which I am using. It automatically asked to update the path of SDK. Update the path to point to Jdk 1.8 and then I recompiled my files and things started working well.
Hope it works for you too!
In my case, I had just deleted .class files and worked fine.
Im trying to install DevExpress13.1 on VC2015.
but DevExpress ToolboxAnalyzer claims no reference even after repaired.
and Toolbox Repair wont work also.
anyone got an idea?
13.1 is only version what I need write a plugin on the Autocount(software) which is using 13.1
Drag dll from programs files to VC make both of them not responding
and stoped working
ToolboxCreator.exe /ini:toolboxcreator.ini has no luck
my project is .NET 4
Drag only DLL named with DevExpress.Xtra?????????.v13.1.dll does the tricks.
Im not blaming DevExpress, really really :)
I'm having a serious issue with Android Studio.
After using any context menus in the code editor (ex, generate->override methods) or using it for a while the GUI gets broken as shown in the attached screenshot.
Don't know if it's a Java, Android Studio or NVIDIA driver bug.
System:
Windows 10 x64 1151 10586.11
Android Studio: 1.4.1
Java 1.8 update 66 x64
Nvidia GTX 970 driver 359.00
UPDATE: I thought it was Java compatibility issue with Windows 10 TH2, so I launched Eclipse to see if the same happened. Nope, it's an Android Studio bug. I have send a bug report to the devs. If someone finds a workaround to fix this, please reply.
I think I solved the issue, after searching a lot I found this page that explains some of the options we can change in Android Studio. I tried changing some of these options and solved the issue. This is what I did to solved it:
Created an idea.properties file in Android Studio configuration folder located in C:/Users/"Username"/.AndroidStudio[versionNumber]
I added this line: "sun.java2d.d3d=false"
Any IDE with so many dependencies can easily break down like that (looking at you, Eclipse). It may not be preferable, but I'd try uninstalling it and reinstalling it to see if that helps. It might not identify the issue but you may spend a long time tracking it down if a quick google search doesn't identify the issue.
I had the same problem, Windows 10 Pro + Android Studio 1.5 + NVIDIA 980m.
For some reason I didn't even have the idea.properties and studio64.exe.vmoptions files present in the Android Studio profile folder. In any of them (.AndroidStudio, .AndroidStudio1.3, .AndroidStudio1.4, AndroidStudio1.5, AndroidStudio2.0, etc).
What helped me is that I just closed Android Studio, renamed all of these folders (XXX_temp) and then started Android Studio 1.5 again. I allowed it to import the settings from my old .AndroidStudio1.5_temp folder and it created a new .AndroidStudio1.5 folder and now both required files are there. And the UI seems to be fine again, at least for the time being.
I still do not understand with this issue came up at this specific time.