Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, April 12, 2016 7:02 AM
Visual studio solution closes itself automatically after 2 seconds, so I'm unable to create/open project solution. During installation i got this error, i attached screen print of error (https://onedrive.live.com/redir?resid=38E052C1DF61D70D!118&authkey=!ADoZReNrhqVfwJs&v=3&ithint=photo%2cpng).
Details below,
Installed version: Visual studio 2015 enterprise (update 2).
OS: windows 7 sp1.
Many thanks
All replies (18)
Wednesday, April 13, 2016 5:46 AM
Hi Jawaharraj,
Thank you for your post.
From the screenshot, it shows that Windows 10 sdk is failed to install. Your OS is win7 Sp1,
Please notice that win 10 sdk Supported operating systems:
- Windows 10 (strongly recommended), or Windows 8.0 or later (must be up to date with latest Windows Update packages including KB2999226.)
- 64-bit
- Professional or greater
Refer to:
https://developer.microsoft.com/en-us/windows/downloads/windows-10-developer-preview
If you want to install it correctly, I suggest you upgrade your OS to win10.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 13, 2016 8:51 AM
Hi Lana,
Thank you for response, the very first problem still persist
1. Visual studio solution closes itself automatically after 2 seconds, so I'm unable to create/open project solution.
2. Is it possible to work in mobile application with Visual studio 2015 update 2(already installed Xamarin)
Many thanks for your time.
Wednesday, April 13, 2016 9:45 AM
Hi Jawaharraj,
If you develop mobile application, I think you need to run emulator on Hyper-V, but this feature only exists on Win10.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 13, 2016 9:54 AM
Hi Lana,
Thanks, unfortunately
1. Visual studio solution closes itself automatically after 2 seconds, so I'm unable to create/open project solution.
Wednesday, April 13, 2016 10:00 AM
Hi,
Firstly, please repair your VS :
1.Go to Control Panel >Programs >Programs and Features
2.Select Microsoft Visual Studio 2015 and click on 'repair'.
you may try some devenv switches in command prompt:
a.Run devenv /Resetsettings to eliminate the cause of corrupted settings.
b.Run devenv /ResetSkipPkgs in Command Prompt.
c.Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
- Reboot the machine in Safe Mode. This can isolate some third party application/driver's interference.
- Switch and try a new user account. This can rule out the possibility of corrupted user profile.
If the error persists, then you may try to running devenv.exe /log <log path> in Command Prompt, the log files will be generated in the <log path>.
Then you can check and analyze the log file to see if there are anything incorrect.
Besides,Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder.
Please upload the file tohttps://onedrive.live.com/ and share the link with us.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 13, 2016 10:55 AM
Hi Lana,
Thank you for suggestions, Please fine the log details.
Link: https://onedrive.live.com/redir?resid=38E052C1DF61D70D!111&authkey=!AJtNhIHwn7r5Pfg&ithint=file%2czip
Kind regards
Thursday, April 14, 2016 2:23 AM
Hi Jawaharraj89,
I checked the log and find the following error message:
MSI (s) (7C:E8) [12:54:29:422]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Windows Kits\10\Source\10.0.10150.0\ucrt\internal\shared_initialization.cpp' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
MSI (s) (7C:E8) [12:54:29:423]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\Windows Kits\10\Source\10.0.10150.0\ucrt\internal\report_runtime_error.cpp' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0).
For this issue, I think you need to go to your Task Manager check if there is any software that blocks the VS, if so, please turn off them. at the same time, disable anti-virus or anti-spyware software.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 20, 2016 8:35 AM
Hi Lana Xu,
I checked 'Task master', but i didn't find any software blocking VS 2015, i already have VS2012 its working properly. It would be helpful if any tool to check/unblock the lock. Sorry for delayed replay.
Many thanks for your time.
Kind regards
Wednesday, April 20, 2016 8:38 AM
Hi my friend,
When you do the VS Setup , there are some tips about installing VS:
- Disable anti-virus or anti-spyware software.
- Check windows update.
- Clear %TEMP% folder.
- Run the installer as administrator.
you should make sure you’ve followed these tips: http://social.msdn.microsoft.com/Forums/en/vssetup/thread/60f71a54-506e-4c70-be98-e993ce6d1ddf
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 20, 2016 8:42 AM
Hi,
Thanks for the immediate response. VS2015 setup is successful(with SDK missing component, no issue with it will install that component separately), but can't able to open existing project in VS2015 version.
Kind regards
Wednesday, April 20, 2016 8:51 AM
Hi my friend,
From your description, I suspect it is related to the project and VS compatibility.
For more details, please refer to:
https://msdn.microsoft.com/en-us/library/hh466747.aspx?f=255&MSPPError=-2147217396
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, April 20, 2016 8:58 AM
Hi Lana Xu,
Thanks for response, unfortunately it also happens while creating new project using VS2015. what i did so far,
1. Click VS2015.exe
2. VS2015 opens and automatically close after 2 second(not allows me do any operation in it)
same happen while opening existing project in VS2015. This problems eat my whole week.
Many thanks for your time.
Kind regards.
Thursday, April 21, 2016 9:13 AM
Hi my friend,
If the situation happens when you create a new project, it seems that the cause is still pending on VS itself. You could use a good iso to repair your VS first.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Thursday, April 21, 2016 12:16 PM
Hi Lana Xu,
Thanks for response, now visual studio installation works fine, but when creating new "android application" i got this error like 'Value can not be null'. It happens only for Android based project only, web based project and other project type works fine.
I attached screen print for your reference(https://onedrive.live.com/redir?resid=38E052C1DF61D70D!119&authkey=!AGqo1hZuYimWGSc&v=3&ithint=photo%2cpng).
kind regards
Friday, April 22, 2016 4:21 AM
Hi Lana Xu,
For the above problem i installed android SDK, but while creating android project the following error appears.
Details:
Severity Code Description Project File Line Suppression State
Error java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 BlankAppTest C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1853
Also in main.axml, got the following error,
java.lang.NoClassDefFoundError: com/android/utils/ILogger
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
at java.lang.Class.getMethod0(Class.java:2774)
at java.lang.Class.getMethod(Class.java:1663)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: com.android.utils.ILogger
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 6 more
Exception in thread "main"
I tried to resolve, but didn't succeed, many thanks for your time
Kind regards
Friday, April 22, 2016 8:34 AM
Hi my friend,
If the above still doesn't help, I need you installation log file to troubleshoot this issue,
Please use http://aka.ms/vscollectto gather the installation logs.After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://onedrive.live.com/and share the link here
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Friday, April 22, 2016 8:51 AM
Hi Lana Xu,
Please find the log file (https://onedrive.live.com/redir?resid=38E052C1DF61D70D!120&authkey=!AOr9emval6lhMUw&ithint=file%2czip). Getting this error while running android project.
Error details:
Severity Code Description Project File Line Suppression State
Error java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 BlankAppTest C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1853
Thanks.
Kind regards
Tuesday, April 26, 2016 6:21 AM
Hi,
Please use the latest SDK and use the cross compilation options when compiling. To use the options completely correctly requires the rt.jar
of a JRE (not JDK) of the target version.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.