I am stuck with this now, I had windows phone sdk installed on vs 2012 but suddenly, creating a project in it starts to give me object reference not set to an instance error! could not create project.
I uninstalled sdk ,uninstalled vs2012, installed again and now when i try to install phone sdk 8.0 i get this error saying
Microsoft visual studio express 2012 for windows phone cannot find requested object.
Windows phone 8.0 Emulator images Cannot find the requested object.
I am having heads gone moments now! please help..
I have windows 8 pro 64 bit and do have hyper v enabled and checked.
Try to either update or uninstall NuGet. This worked for me: UNINSTALLED NuGet (as updates to it did not work)
same happened to me.
it occurs because of corrupted .iso file.
so either download a new one or install using online installation, i'm afraid but this is the only possible solution.
Related
I just can't get the XAML-Previewer to work.
It's always empty:
What I tried so far:
Renistalled Xamarin completely
Run Repair on whole VS
Also no Errors or Crashes can be found inside the xamarin logs.
Environment:
Windows 10 Professional
Visual Studio 2015 Enterprise
Xamarin 4.2.1.64 - (NuGet-Version 2.3.2.127)
No Mac - Connected (Running Android atm)
JDK 1.8.0_112
JRE 1.8.0_112
NDK R13B
SDK 25.2.3
I've searched the xamarin forum and SO for hours but still cannot get it to work.
Anyone found a solution on this ? it drives me crazy...
It would be great to use this feature...
Uninstall the Android SDK build tools API 24 and be sure to have the JDK 1.8 installed. Build your droid project and you will be ready to go.
When i try to create a blank Android project in Visual Studio 2015 i get error:
Desktop windows 7 Enterprise
I have installed the latest versions of VS2015 and Xamarin.
Someone resolved problem on other forum - check this out.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the VS2015 installer again until all Android SDK errors go away.
Make sure VS2015 is closed and install the most recent stable version of Xamarin for Visual Studio 2015. I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS2015 didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine (do not use 8 even though its the latest). You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open VS2015. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.
In the new Visual Studio 2015 RC the XAML designer does not bring up a UI for a C# Windows Universal project but it does for a C++ Windows Universal project. This occurs with both the Professional and Community editions. Has any one experience the same problem and have a workaround/solution?
I have the same issue, when I upgraded the Win10 SDK from 10240 to 10586, set the project properties->Application->Target version to Windows 10(10.0;Build 10240),
the design view shows up again.
If the XAML designer is failing to open, check the "Flag" notifications in the top right corner. You might notice a message that your Windows 10 build needs to be updated.
1:
The target platform can't be newer than the Windows 10 build you're actually running.
To help clarify this a bit -
If you are building a Universal Windows 10 application with Visual Studio 2015 running on Windows 8.1 - something that we have enabled for the first time without requiring your to upgrade your OS, you will not be offered the XAML designer option - we will only allow you to edit XAML using the editor and IntelliSense. Similarly, you will not be allowed to test the application locally or using the Simulator (since it is a Windows 10 application and cannot run on your machine). Everything else should work fine, but for the best experience possible, consider upgrading to Windows 10.
If you are building a Windows 8.1 universal application, it should work just like before.
Windows 10 (fresh install + Developer mode)
VS 2015 Update 1 Ultimate
SDK Build 10586
By default no designer being available even via Shift-F7.
This expands the scope of the original problem, its not a VS edition based issue at all. Its a problem with the SDK support.
AS per Wener Henze
Swtich back to Build 10240.
Fixed. Designer now available.
Werners workaround is confirmed and saved me lots of time. I don't have the rep to thank him, or comment on his post directly.
I installed fresh Windows 10 and Visual Studio Community 2015, and the designer failed to load (for MainPage.xaml etc). I had to:
enable developer mode in system settings (update section) as suggested in info dialog
(re)install Visual C++ redistributable for VS 2015
But I don't know which one exactly resolved the problem... Now the designer loads as expected. (I tried only C# universal app yet)
In case if you have installed fresh Windows 10 Build 10240 and downloaded and installed latest Visual Studio 2015, target version 10240 is not available in Project Properties -> Application -> Target version and designer is not working too.
I have got Target version 10240 selection available after I've installed additionally Windows 10 RTM SDK from following page. As discussed above, designer works fine if Target version 10240 is selected.
As an update to the answer of #Ivan because I just had to do with this issue recently.
In my case I only had the option to change the Min Version from 10586 to 10240 but for the Target version I had no other choice than 10586. So solving this issue was not possible.
The solution was to install SDK Version 1506 (Version 10.0.26624.0) which can be found here https://developer.microsoft.com/de-de/windows/downloads/sdk-archive
After a restart of Visual Studio I was able to switch the Target version as well #Ivan mentioned and the XAML designer finally showed up. Heureka!
Thanks for the hint #Ivan.
you have to have the appropriate sdk installed on your machine, you can get it from the official site of Microsoft https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
before that please remove the old sdk you installed on your pc, so that VS will use the new one.
then it'll work... i fixed mine in this way.
Yo,
So I've been developing a Universal Windows Store app in Visual Studio 2013 on one machine, and wanted to continue developing it on an another machine running Windows 10 Technical Preview.
The problem is that in Visual Studio 2015 Preview there is a new C++ Redistributable package version (2015), and the latest SQLite requires version 2013, so that particular reference is missing. I can build the project, it deploys successfully, but there is an exception saying it can't load sqlite3.dll. I'm assuming this is because of the missing Visual C++ Redistributable Package 2013. I tried downloading it, but the entry is still missing from the Add reference dialog under Extensions, where it is seen on VS 2013.
Any experience of making it work? Any insider info on when SQLite will work for Windows 10?
Cheers
Yesterday I blogged about how to get SQLite working with Windows 10 Universal apps
It's really simple and comes down to using a pre-release version of SQLite Visual Studio extension, and then just using whatever library or ORM you used before.
Note that Windows 10 Universal apps will also be capable of using Entity Framework 7, which can be used with almost any DB provider including SQLite.
EDIT: The Visual Studio extension is not in pre-release as of build 10240.
SQLite for Universal App Platform is now available as pre-release
Sqlite download page
so after searching on the web a little i came across this
Seems that some (not very wise) software install incompatible sqlite3.dll to the windows system folder.
Check your C:\Windows\SysWOW64\ folder for sqlite3.dll and rename it to sqlite3-backup.dll.
If some other software can't start after it, just put sqlite3-backup.dll to the folder where main .exe resides and rename it to sqlite3.dll.
Also check registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs.
If sqlite3.dll value is present - remove it. This registry key is designed only for system dlls, not for third-party dlls.
Hopefully rhis helps. I was thinking its a windows UAC system which requires you to run app as admin etc.. il keep searching but dp update if this fixes the issue
Add reference Runtime C++ 2013 package for Windows. That worked for me
Referencing a Windows 8.1 SqlLite requires referencing new “Microsoft Visual C++ 2013 Runtime Package for Windows Universal” extension. You can add using Add Reference dialog in a Universal Windows app.
That should fix the runtime exception.
I installed an sdk to upload my app to the store. After the package creation I went home, only to see this error the next day when I started VS2013 again. note: It worked fine the same day I installed it, problem began after system reboot
error:
Cannot resolve 'Windows.metadata'. Please install the Windows Software Development Kit. You can retarget your project to Windows 8.1. The Windows 8.1 SDK is installed with Visual Studio. See http://go.microsoft.com/fwlink/?LinkID=278967&clcid=0x409 for more information on how to retarget your project
So I reinstalled the development kit and followed the steps on the Microsoft website, but i still can't retarget it (VS doesn't provide me with an option to do so), also, VS tells me my app already is targeted to 8.1.
Anyone has any ideas how to solve this problem?
Most stupid problem ever. Missed the visual update 2013 update. Just updated it and now its fine