Windows 7 Visual Studio "windows 8.1 required" on new project - windows

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.

Related

Why does a VS2010 installation start when I start VB6?

I just upgraded to Windows 10 and noticed that some programs, such as Visual Studio 2010, start a setup when I try to run them and look for their install files. What really makes me wonder though is that this VS2010 setup also starts when I run the VB6 IDE. How can these two be connected?
(I also have VS2008 and VS2013 installed and they don't have these issues.)
Felix,
When I went through this situation, the only way to resolve it was reinstalling VS2010. In my case when I so was using Windows 7
I tried to restore the system, use CCleaner and others, but none succeeded.
Please try reinstalling VS2010! I hope this helps!

Can't create a UWP app

I recently, upgraded to Windows 10 and got Visual Studio 2015 Community hoping to build UWP apps and ASP.Net 5 apps. At first, I installed everything, but ended up skipping / canceling the Windows 8.1 / 10 mobile emulators (my PC can't even run them). After everything was installed, I went to create a new UWP app (C#), and got this error:
Next, I try the same thing, but with JavaScript. It works perfectly! on the same UAP 10.0.0.0 that is supposedly missing. The link it provides is completely useless (it sends me to http:/microsoft.com/en-us) -_-. Oddly, this only happens when I try to use C# or VB.Net, JavaScript UWP apps seem to work fine. What is going on here? Where can I find the real link to the SDK I need?
UPDATE
JavaScript UWP apps will be create just fine, but when I attempt to build, I get:
Error "10.0.0.0" is not a supported value forTargetPlatformVersion.
Please change it on the Project Property page. Test
C:\Program Files (x86) \MSBuild\Microsoft\VisualStudio\v14.\JavaScript\Microsoft.VisualStudio.JavaScript.UAP.targets
This is the download link for the standalone SDK, maybe reinstalling the sdk will fix the problem.
https://dev.windows.com/en-us/downloads/windows-10-sdk
Normally you don't always have to reinstall visual studio when something goes wrong because it takes a lot of time to reinstall again. From your question you skipped/cancel that feature, the first thing to do is go to the control panel and double click on visual studio under programs to Modify the software and enable those features.
In the case, visual studio was working properly before but due to some updates it stopped, go to control panel right click the visual studio version you have under programs to repair.
If the above doesn't work try to reinstall it again. I hope this helps.

Problems with installation of VS 2012 (.Net is missing)

I'm having trouble installing Visual Studio 2012. When I run the installer I get the message:
Microsoft .NET Framework required for Microsoft Visual Studio Professional 2012 setup
The first time I got this message, I clicked to install. It loaded some stuff but it didn't look like it installed anything. I ran the installer for VS 2012 again and I get the same message but now without any buttons to click on. Is there any solution to this?
What happened before
I had VS 2012 already up and working. I left it alone for quite a while until I decided I wanted to do some programming again. Starting the application resulted suddenly in an error:
Cannot find one or more components. Please reinstall the application.
After searching for a couple of hours I couldn't resolve the problem so I did as it asked and reinstalled VS, but I got the same error again. Then I tried to remove every single application VS installs as indicated by this list and any program that had a similar name. I also removed all .NET versions and C++ redistributables. Now I can't install VS anymore and some games and gadgets are now broken.
And I always, always, always forget the existence of system restore. I doubt my oldest system restore is old enough. This is going to be my last resort.
What I tried
Search for a .NET installation in the control panel, it's not present after clicking the install button on the prompt of the VS 2012 installer.
Reinstall .NET 4.5 using this installer. It installs correctly, but the problem persists.
Turning .NET 3.5.1 off from windows features and install it manually. This fails for an unknown reason (error code -2145124329, which seems undefined). Just turning it off doesn't work either.

Windows 8.1 Apps not Compiling

Recently, I needed to refresh my Windows 8.1 PC, and now that I have finally finished getting all of my programs reinstalled and everything is back to normal, I am ready to finish work on my Windows 8.1 app, but I am having an issue with compiling my apps. Every time I try to compile, I get the following error.
Now normally when I need to refresh my developer licesnse, Visual Studio tells me, but this time I didn't get any prompt at all, and that is the error that I got when trying to compile. How can I fix this? I am installing updates for Visual STudio at the moment, and I am hoping that doing so will somehow magically fix the problem, but I am also aware that it probably won't.
EDIT: Now that I have updated, the message has been shortened to "Can't resolve Windows.metadata."
For some reason, even though the Windows 8.1 SDK is supposed to be installed with Visual Studio Ultimate 2013, it wasn't for me. I was able to find the Windows 8.1 SDK by Googling it, and it came up as the top result. I installed it, and suddenly all of my errors went away and Visual Studio started recognizing them as legitimate Windows 8.1 app code.

Windows Phone Application Project Type Unavailable in VS2010

I recently had to reinstall the OS on my dev box and I am now in the process of reinstalling various applications. I had previously installed the WP7 SDK without any problems but unfortunately I'm having problems this time around. The only project type I have available in the Silverlight for Windows Phone category is one that I downloaded from the online templates section.
When I try to open it or any of the WP7 projects I created previously I get a "The project type is not supported by this installation." error. I am not sure what I am missing. I have followed the three steps listed here so I've installed the SDK, the Dev Tools and the Dev Tools fix. The installation of VS2010 itself seems to be fine as I can create ASP.NET and Silverlight applications and run them without any problems.
Has anyone encountered something like this before?
Edit: I have installed Service Pack 1 for VS 2010 but that hasn't helped unfortunately.
Edit: I have also re-installed the Windows Phone Dev Tools and that installation reported no errors but I still get no projects under the Silverlight for Windows Phone category.
Try opening a visual studio command prompt and typing:
devenv /ResetSkipPkgs
I have thankfully resolved this. Last night I uninstalled everything and reinstalled again but this time I made sure to right-click on each executable and select "Run as administrator". That seems to have done the trick as my existing WP7 projects are compiling and running successfully and I can create new ones too. I did run into two error messages however -
"Zune software is not launched. Retry after making sure that Zune software is launched". I got around this initially by setting the target to Windows Phone 7 Emulator instead of Windows Phone 7 Device in the target dropdown on the main toolbar.
"Error: Connection failed because of invalid command-line arguments." I got around this by rebooting as mentioned here.

Resources