I have a new dilemma. I have been tasked with looking into moving our Silverlight project into an HTML5 project. Nice!
Well, I downloaded the sample solution from the link below and tried to load it into VS 2012. The Services project loaded fine, but the DataBinding project (a JS project I believe) did not load. The reason stated I need Windows 8 or higher. I currently have Windows 7 SP 1 (64 bit).
Is there a setting or configuration I need to modify to allow this type of project to load? I appreciate any and all input on this. Thanks!
http://code.msdn.microsoft.com/windowsapps/Accessing-WCF-in-HTML5-and-0d247ef8
The project is using WinJS which makes calls into Windows 8.
https://stackoverflow.com/a/7437563/2249535
You can always open up the files individually and replace WinJS calls with jQuery calls but would still need to use a different project type to open in Visual Studio
Related
I started developing a WinUI 3 application from scratch to Windows 11 to publish to the Microsoft Store but i can't find any option in Visual Studio to create the package and upload. I developed several UWP applications for Windows 10 and never had any problems. In WinUI 3 is different? Can someone help me? please
Thank you!
I had the same problem too. On creating your project you have to choose the template that says "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)". Then you should see the store options again.
I first tried "Blank App, Packaged (WinUI 3 in Desktop)", did not seem to give me the option even though it seems to mention the Microsoft store in the description.
Edit:
The other thing I didn't mention is you have to do the publish from the package project not from the main one.
Select the "Package and Publish" option further down the pop-up
I am a C# windows developer. I recently started to work with WinJS. Working with WinJS, I have noticed some challenges and limitations. Can face some new challenges as the community support for WinJS is very less. Below are the few points mentioned regarding this concern
a. WinJS does not support Visual Studio features like Finding References of Classes and Variables which is very useful to code productively.
b. WinJS is not strongly typed as C#. So we will get to know about the errors at runtime only instead of compile time which is difficult to Debug and time taking process.
c. WinJS does not support feature “What you see is what you get”. Visual Studio designer is not available for WinJS. We can see the application design only after we run the application which is again time taking thing.
There are very less chances of availability of “Ready to Work on WinJS” resources. Because most of the developers in Windows community work on C#, XAML languages.
d. Direct compatibility of third party libraries for WinJS might not be available.
Have anybody experience in WinJS and faced similar issues? Or Are there any solutions exists for this? What is the scope of improvement in Windows 10 version for WinJS??
For an HTML/CSS/JS designer, that's what Blend for Visual Studio is for. Load the project into Blend and you'll get a designer that also works when you're running the app. Documentation for this is on https://msdn.microsoft.com/en-us/library/jj129478.aspx, and there's a great video from //build 2013 that shows the flow, http://channel9.msdn.com/Events/Build/2013/2-311. I also cover using Blend to some extent in my free ebook, Programming Windows Store Apps with HTML, CSS, and JavaScript, 2nd Edition.
https://dev.windows.com/en-us/develop/winjs
see this link it give the solution your problem which is given below
a. WinJS does not support Visual Studio features like Finding References of Classes and Variables which is very useful to code productively.
b. WinJS is not strongly typed as C#. So we will get to know about the errors at runtime only instead of compile time which is difficult to Debug and time taking process.
c. WinJS does not support feature “What you see is what you get”. Visual Studio designer is not available for WinJS. We can see the application design only after we run the application which is again time taking thing.
I got my hands on Windows 8 machine and, willing to check out new Windows Runtime API, downloaded VS 2013 Express for Windows. WinRT offers possibility to code in HTML5/CSS/JS, but I'm interested in using TypeScript as an alternative to JavaScript when not coding for DOM. This possibility is outlined here, but only applicable to Visual Studio 2012 and not even to Express edition, as Web Essentials extension won't work there.
TypeScript web page claims that full support is built into VS 2013 Update 2 RC. However, while this update does install some new extensions and TypeScript gets installed in Program Files as well, it doesn't add TypeScript support to VS 2013 Express for Windows. I still don't get to create .ts file, let alone have it compiled from IDE.
Please note this is a different question from this one, which deals with VS 2013 for Web. I've checked the accepted answer there and it won't work. I'm interested in getting TypeScript to work with either VS 2012 Express for Windows 8 or VS 2013 Express for Windows. I'll also accept an answer pointing me to alternative IDEs for WinRT/Store Apps development, but web research tells me it's unlikely to happen.
Yes, it's perfectly possible to write a Windows Store app using TypeScript in the Express for Windows version of Visual Studio 2013. But unfortunately it isn't supported right out of the box. You'll have to modify the project file yourself.
This sounds harder than it is... I wrote a tutorial on how to this some time ago. It basically comes down to adding some xml to the project file, telling Visual Studio what to do with the .ts files.
After modifying the project the .ts files are compiled and even placing breakpoints inside the .ts files works.
In my Windows Store Application, I am getting the error:
Cannot find type System.Windows.Media.AudioSink in module System.Windows.dll
I tried to add a reference to it, but I can't find an assembly list in my project's references.
My system:
OS - Windows 8.1
IDE - Visual studio 2013
The .NET Core for Windows Store Applications does not include all of .NET 4.5 (nor 4.5.1). It is a subset of it, meaning that not all classes are included. It also has some classes specific to it.
If you want to do audio, you should look into the Getting Started with Audio and Video tutorial that Microsoft created for this very purpose.
Also, in the future you should probably include what language you are using. There are multiple languages that Windows Store Apps can be created in (C#,C++/XAML, Javascript/HTML), and it helps to know that.
I understood Silverlight was drop by MS.
I create my first app permitting to read RSS in WindowsPhone and I need to add a reference to System.ServiceModel.Syndication.dll. In the doc http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh487167(v=vs.105).aspx, I need to find this lib in Microsoft SDKs/Silverlight/v4.0/Libraries/Client/.Why should I do it? Why I can't add directly a lib from the standard .net4?
Can you help me to understand.
[UPDATE]
When I add the lib from C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\
Visual Studio shows a windows "Adding reference to Windows Phone XNA assembly is safe. However adding reference to a silverlight assembly may lead to unexpexted application behavior. Do you want to continue.
So my assumption is this lib shoudn't be use but I don't find another way.
Maybe by add a ref from .Net 4 or 4.5.
Best regards,
Alexandre
The Windows Phone 7 SDK was built on top of Silverlight. For Windows Phone 8 this was changed so that there isn't a direct history with Silverlight but it was based on WinRT instead. Lots of functionality was made available to Silverlight controls to support backwards compatibility with apps written for 7.
Because WinRT is not compatible with classes written for the full version of the framework you cannot use these in your Windows Phone apps.
The warning you are getting is just a warning. It's telling you that your doing something that isn't an ideal and so you may have issues. Unfortunately there are no other versions of the SyndicationFeed object available to Windows Phone apps so you'll need to use this library if you want the functionality of SyndicationFeed without recreating it yourself. The good news is that there are no issue with using this class in your app. Just be sure to test carefully, on real devices, if you start to use other functionality from that assembly because, as the warning says: "there may be unexpected behaviour".