Missing an asssembly reference - 'SingleSignOn' namespace - visual-studio-2010

I am getting this error when building my project on VS10 on Windows 7:
The type or namespace name 'SingleSignOn' does not exist in the namespace 'System.Web.Security' (are you missing an assembly reference?)
Just starting learning about ADFS and I am trying to make my web application supports ADFS logons.
Seem like I am missing the SingleSignOn.dll.
Is it because I am doing this on Windows 7 instead of of a Web server?
Pretty much lost right now.

So I presume you are using WIF?
WIF uses the Microsoft.IdentityModel dll.
Refer Get Started with Windows Identity Foundation (WIF)
Or else please provide more detail.

Related

error CS0234: The type or namespace name 'Persistence' does not exist in the namespace 'UnityEngine.XR.WSA' (are you missing an assembly reference?)

I'm currently developing an app for android. In my code, I use the namespace UnityEngine.XR.WSA.Persistence. When I'm launching the app on the editor, i have no errors, but when I try to build this to send it to my phone, I get the following one :
The type or namespace name "Persistence" does not exist in the
namespace "UnityEngine.XR.WSA". Are you missing an assembly
reference?"
Isn't it strange since it's working on the editor? How do i fix it?
WSA stands for Windows Store Apps. This is only available when building apps for Universal Windows Platform. Especially UnityEngine.XR.WSA.Persistence afaik is or at least was previously developed by Microsoft and is even only used in particular for the HoloLens.
It throws no exceptions in the Editor but afaik some #if preprocessors make sure that it also does nothing there.
It is not available when building an App for Android platforms.
To remove the error in your script you can use #if preprocessors and Platform dependent compilation like
#if UNITY_WSA
// anything using the UnityEngine.XR.WSA namespace
#else
// alternative implementation for different platform
#endif
however, the functionality ofcourse will not be available on Android so if you need something similar you have to use another library or come up with one ;)

Dotnetnuke 8 module development error in visual studio 2013

I have successfully installed DNN 8 and all configuration.
i am also referring video to develop module in visual studio.
https://www.youtube.com/watch?v=AKCYRPuoXF4
when i am trying to build the project then
error comes like:
Error 17 The type or namespace name 'DotNetNuke' could not be found
(are you missing a using directive or an assembly
reference?) C:\websites\dnndev.me\DesktopModules\MyDNNModule\MyDNNModuleModuleSettingsBase.cs 13 7 MyDNNModule
Please help to solve that.
thank you in advance.
Working with DNN8, sometimes I get a set of errors with message
The type or namespace name 'DotNetNuke' could not be found (are you
missing a using directive or an assembly reference?)
, probably 10 or 15 of them, and all located on top of one ascx file. (My dotnetnuke.dll is correctly placed in DNN's bin folder). Taking a better look (scroll down!), I can see that - except them - there are some more error messages (maybe just one of them), and that those additional errors are perfectly clear and logical. So I correct my source code in order to avoid those additional messages, and when I do that - those problematic messages also disappear!
In my case it took me a while to find the solution to this problem, since it only got triggered when I made a change to the View.ascx file.
You need the Visual Studio project to target framework to 4.5 instead of 4.5.1.
I got this solution from here.
Make sure to add a Reference to dotnetnuke.dll in the c:\websites\dnndev.me\bin folder
I honestly haven't done anything with DNN 8 CTP yet, I would stick with 7.4.1 until 8 is official released.

Are you missing reference?

I am upgrading MOSS2007 solution to SP2013. Everything is fine When I am building the solution at that time it is building successgully.
But when I am trying to publish the solution at that time it is throwing following error:
The type or namespace name 'xxx' does not exist in the namespace 'xxx' (are you missing an assembly reference?)
I have tried many things but no luck.
Is there any solution for this error?
When you have created your solution you may find that you have built the solution on a environment where a certain DLL exists.
Realistically what you need to do is look at your error message and look in to what DLL contains the namespace that the error is giving you the error and check that the DLL exists on all Web servers, Possibly app server(depending on farm set up)
Cheers
Truez

how to create QR code in windows phone 7.1

Please tell how to generate QR code in Windows Phone 7.1. I have tried this urlThomasVestergaard
I'm using Silverlight_ZXing_Core version v2.0.50727 library.
But When I used code from above link I have following issue
1.System.Windows.Media.Imaging.WriteableBitmap' does not contain a definition for 'SetPixel' and no extension method 'SetPixel' accepting a first argument of type 'System.Windows.Media.Imaging.WriteableBitmap' could be found (are you missing a using directive or an assembly reference?)
Please tell me how to resolve this as soon as possible.
Thanks
You should check WriteableBitmapEx library. It has extension methods for GetPixel() and SetPixel() in addition to other useful stuff.

WP7 System.Windows.Data unavailable to add as a reference

I need to use the IConverter class and understand its in the System.Windows.Data namespace.
But this is unavailable when I go to add this as a reference.
I understand from other posts that somehow it may be tied up with PresentationFramework.dll = but really not sure how I use this?
And still not sure why it is not available as are all the other references that I can easily add.
thanks
PresentationFramework.dll is an assembly that contains the WPF framework. From your question you indicate that you are using Windows Phone 7, therefore your project should reference assemblies that are specifically part of the Windows Phone 7 framework.
IValueConverter is in the System.Windows.Data namespace and is located within the System.Windows assembly. It is part of the .NET framework subset available to Windows Phone 7 developers, so you will have no issue using it.

Resources