VS 2013 The name “LocalizedStrings” does not exist in the namespace - windows-phone-8

My question exactly looks like this one :
The name "LocalizedStrings" does not exist in the namespace
Except that the answers i tried didn't work with me.
I'm using visual studio 2013 and windows 8.1 enterprise (fresh install).
Any other suggestions?

Close Visual Studio.
Than, delete sub folders 10.0 and 11.0 from "%LOCALAPPDATA%\Microsoft\Phone Tools\CoreCon\"
Open Visual Studio and rebuild solution.

I also faced the same issue in VS 2013 for a Windows Phone 8 project. In my case one of the packages (Nokia imaging SDK to be precise) had to use ARM architecture. All I had to do is to change my solution's configuration manager.
Right click on your solution file in VS, select properties
In "Configuration Properties", select "Configuration Manager"
Now select the solution platform you need to use for builds on your solution.
Hope this helps you.

Repairing Visual studio did the Trick!

Related

Configuration Visual Studio 2015 - Windows 10 Project

I need to add a new configuration in Visual Studio 2015.
Exist other configurations and are correct & work.
When I had a new configuration, with name "Test", in option "Copy Settings from:" I selected "Empty" and I Check "Create new project configuration".
If I run the application with this new configuration(For example Release, Debug, etc...) I have an error:
"Couldn't find the required information in the lock file. Make sure you have UAP,Version=v10.0.240/Win10- mentioned in your targets".
I dont know resolve this error.
Someone help me?
Thanks
I had the same problem.
First, apparently, did you mean Visual Studio 2015? If not, you need to install VS2015.
In VS2015 that helped in my case - enable "Compile with .NET Native tool chain" in your project build properties and ensure that "Platform" not set to AnyCPU.

Unable to Configure cordova package in Visual studio

I am just starting learning "Build 2D games with HTML5" from MVA and in starting i had a problem to configure my visual studio
Here is the link of that package Cordova-Windows package
The instructor shows that the Cordova windows package 3.5.0 contains CreateTemplates.bat file but it didn't work for me
i came up with this problem i dont know how to overcome this,
when i clicked the createTemplates.bat file its popup and off nothing happends so i try to open it up using command prompt and i get this errors , How to overcome?
what should i do now , your help would be highly appreciable !
You should use be using the Cordova CLI for your command line workflow for building Cordova Apps. For Cordova, more information is available here. If you want to use VS, then I strongly urge you to install our VS 2015 RC build which enables you to build Cordova applications for iOS, Android and Windows. More information for VS, is available here.

Windows Phone - Admob in Visual Studio 13 not working

i try to implement Admob in my windowsphone app using visual studio 2013 ultimate on windows 8.
When I try to implement the dll I get the error which sais, that I cannot add a refrence to a higher version or implement an incompatible assembly...
When I use the example code I get it working, but only with the error that the namespace is not found (still working somehow) - however, I cannot use the designer anymore until the error is fixed... Any Idea?
Thanks
I found the solution and want to provide it to you:
Since the Admob dll was in a zip file I had to unblock it.
Go to unpacked dll -> rightclick -> properties -> Allow / Unblock at the bottom of the file
After this I could ad the reference.

Marmalade: error LNK1181: cannot open input file 'python.lib

I'm trying to build Marmalade project for Windows Phone 8 in Visual Studio Ultimate 2012 but receive following error:
error LNK1181: cannot open input file 'python.lib'
Seems that it happens because of wrong path to project's additional library directories. Currently it's c:\users\*user_name_omitted*\appdata\roaming\marmalade\packages\6.3.0\python_2.6.4\lib\wp8\x86
But in fact there is no wp8 folder. As I understand this foulder should be created automatically...
I have Marmalade evaluation license.
How can i get rid ot this error?
Two suggestions:
I've not got a working version to hand, but the bundled version of python with marmalade is (IIRC) 2.5.x, so the reference to 2.6.4 looks odd. I wonder if when you ran s3eConfig it was running a different version and got confused? More as like it should have downloaded some extra stuff and has not.
It might be worth uninstalling marmalade and then re-installing. There are reports of people not having a full installation following the install.

Windows Phone 8 JSON

I am starting the development on windows phone 8, the famous JSON.NET does not support windows phone 8 yet, is there any other library which can be used for this purpose?
The JSON.NET codeplex site says that WP8 is supported.
Update: The JSON.NET NuGet package should just work with a Windows Phone 8.0 project. Adding it in VS2012 NuGet manager pulls in the WP7 version of JSON.NET. (packages\Newtonsoft.Json.4.5.10\lib\sl3-wp\Newtonsoft.Json.dll)
JSON.NET is now also available as a Portable Class Library which you can consume from WP8 (available in NuGet or in source form).
Had the exact same problem - turns out I didn't have the newest version of NuGet.
To upgrade, click tools -> extensions and updates and then click the Updates-tab. Update everything, restart the program and try again. :-)
I was having this issue. I was able to compile the source for Windows Phone 8 instead of Windows 7.1 and it worked. NuGet would not work for me.
Here is how I did it:
Open up solution JsonXXrXX.zip\Source\Src\Newtonsoft.JSON.WindowsPhone.sln
Go to properties for Newtonsoft.Json.WindowsPhone Project(Right click on the project then properties)
For the dropdown of "Target Windows Phone OS Version" select Windows 8.X
Compile.
Grab the DLL, PDB, and XML from the output directory
Add Reference to the DLL file in your Windows Phone 8 Project
Thats it. I can't vouch that it works 100% or that you'll be able to submit your app. But it should hold you over until there is official support.
For complex json you might find this website helpful: http://json2csharp.com/#.
If you don't wanna make too fancy stuff (or need dictionary) suppport, you can also just use the built-in DataContractJsonSerializer (http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx)
Btw: At least in https://json.codeplex.com/discussions/401305 some people report that the WP7.1 dll works for them, using this file: "Newtonsoft.Json.4.5.7\lib\sl4-windowsphone71\Newtonsoft.Json.dll".