In my latest WP7 project I added using Nuget a reference to the Silverlight Toolkit for WP7.
In one of my pages I added a new namespace reference at the top as I've done on previous occasions:
xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
However, when I try to add a toolkit control to the page, I get only one option after typing
<toolkit:HeaderedItemsControl
All the other toolkit controls are not accessible from XAML.
Did anyone face any similar issues with the lastest Nuget release for Silverlight Toolkit on WP7?
Am I missing something (I've used the toolkit before without any issues... although I agree I didn't use Nuget on that occasion)?
I can access the other toolkit classes from code without any problems...
Any help or suggestions are welcomed!
Thank you in advance!
Andrei
Related
I'm working on a simple Xamarin cross-platform mobile application that needs to connect to a WEB Service. There are a few posts (see here, here and here) saying that Visual Studio doesn't support Service References for Windows Phone 8.1 and that I must remove such target from the project.
Unfortunately I don't seem to be able to do so under VS2017 Community (Release 15.1 26403.7): see image Visual Studio 2017 doesn't show any Windows 8.1 Target. "Windows Phone 8.1" is indeed in the targets but when I click on "Change" it doesn't appear... so I can't remove it.
I know I can add a reference to each platform-specific project (Android or iOS) but the whole point is to rely on a single common service reference and avoid time-consuming interfaces.
Thank you for your help!
Andrej
All my apologies, I have found the answer - like, 45 seconds after posting - by putting together this post and this post:
Manually edit the portable .csproj
In the "TargetFrameworkProfile" enter "Profile78"
VS2017 will reload the project and you will now be able to add a Service Reference.
I'm attempting my first crack at a PCL, targeting Windows, WinPhone and Xamarin. I'm finding that some very basic things, like Package and SortedDictionary, won't import (claims they don't exist). I'm sure this exists in Windows and Xamarin (Mono), so I'm a bit lost as to why my Imports doesn't work. Perhaps it's because Xamarin included Silverlight and SL doesn't support it?
Can anyone point me to a big list of supported imports that might help? Or perhaps a comparison tool? There's a scanner tool on the Xamarin web site, but it appears to be broken. I can't find a list on the Xamarin site, and my google-fu has once again failed me.
Here are some features listed, albeit not including Xamarin. OTOH Xamarin is very feature rich and it is unlikely that something is missing because of it. More likely the culprits are Silverlight and WP Silverlight.
You can also try the .NET Portability Analyzer.
I'm currently using Microsoft Visual Studio 2010 for school. I recently completed a project for the Window Phone 7 platform and am now working on an XNA3D project, however I cannot seem to change my SDK environment from WP7 to XNA.
I've opened previous projects that were started using the XNA framework, but Visual Studios opens using Windows Phone 7, not XNA. I've tried creating a new project and creating it as XNA 4.0 but when Visual Studios loads up my workspace it is still using the Windows Phone 7 header in the drop down menu at the top of the screen. The program still loads the required XNA framework, and will run my program as XNA and will not load the Windows Phone 7 Emulator, so it's not a massive in-my-face kind of problem, but it is an annoyance, and one that neither myself, nor my teacher can solve. I've played around with some of the settings and properties but nothing seems to change it. VS2010 won't even let me click the drop down arrow and select XNA, it's greyed out.
What I'm asking, is has anyone encountered this issue before, and if so, how did you resolve it? Or, do you know how I can fix this and get on with my homework?
Visual Studio identifies the project with unique projectID. And I guess this is the case for you. I highly recommended that you should update the visual studio to 2012 it is good and you can use XNA there too. Here is stackoverflow question explaining details. And it may solve your issue too.
And there is one more way, you can create new XNA project and link your all files to that project. Most of the things works there. Normally I do that while creating [Monogame] (http://monogame.net/) A nice opensource port of XNA.
I hope I understand your question correctly and able to answer that. Please let me know if any specific or more details required.
I'm just starting with windows phone development and was trying to get the datePicker to work. Searching for tutorials, all seem to be pointing to a reference to
C:\Program Files (x86)\Microsoft SDKs\Windows
Phone\v7.0\Toolkit\Nov10\Bin\Microsoft.Phone.Controls.Toolkit.dll
The problem is that i don't have this file (and after a computer search this file doesn't exist at all in my computer) so after looking some more, a found this link that says that i must install the toolkit. This seems quite not right(i was thinking this feature was fully integrated, not a alternate design being such a key-feature).
Analysing the feed i got from google, those link are pretty old(september - november 2010). Has Microsoft redesigned the method to acces dataPicker or is this method still the current official one?
I'm not fully sure of the reason but from the codeplex page:
Straight from Microsoft, both the Silverlight Toolkit and Silverlight
for Windows Phone Toolkit provide the developer community with new
components, functionality, and an efficient way to help shape product
development. Toolkit releases include open source code, samples &
docs, plus design-time support for the Windows Phone platform as well
as the Silverlight browser plugin.
The easiest way to pick and choose what components to install is probably via NuGet.
http://nuget.org/List/Packages/SilverlightToolkitWP
This is more or less the current way. The main changes are that there's now an easier way of getting the toolkit using NuGet and there is a later release that supports WP7 Mango.
I'd recommend getting the sample app so you can see good examples of Toolkit however.
Just download and install the Toolkit which is readily available in the following link,
Silverlight Toolkit.
Then Add reference to the Microsoft.Phone.Controls.Toolkit.dll in the installed folder.
Then you can access it with adding the xaml code,
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
I am using the following custom controls in legacy vb6 applications. These applications have been know to crash on exit - if run from inside the development environment the applications will crash the development environment - has any one seen where these controls might have caused that problem, and what I might do to correct it? thanks
ComponentOne Sizer/Tab Controls 8.0
ComponentOne Spell 8.0 control
ComponentOne VSFlexgrid 8.0 (OLEDB)
Have you tried using the latest builds? I recently had a problem getting a .NET winform designer to show with a VsFlexGrid8 .ocx on it. The problem was something to do with ATL and Windows 7 security, IIRC. Switching to a later (stable) build solved my problem.
Somethings that happens when you have addins. Enter in your vb6 Turn off addins closed again open vb6 execute your application if is successfull enable addins.