I am develop an UWP app, and I am using Template10. I follow this tutorial: https://learn.microsoft.com/en-us/windows/uwp/monetize/launch-feedback-hub-from-your-app and I followed every step!
In the event handler (feedbackButton_Click), give this error:
'IAsyncOperation<bool>' does not contain a definition for 'GetAwaiter' and no extension method 'GetAwaiter' accepting a first argument of type 'IAsyncOperation<bool>' could be found (are you missing a using directive for 'System'?)
Here in this code: await launcher.LaunchAsync();
I do not understand this error, what am I doing wrong?
Related
Assets\JMRSDK\Core\Plugins\DOTween\Modules\DOTweenModuleUI.cs(182,86): error CS1061: 'Outline' does not contain a definition for 'effectColor' and no accessible extension method 'effectColor' accepting a first argument of type 'Outline' could be found (are you missing a using directive or an assembly reference?)
Keep getting this error in Unity on importing a certain package that uses Dotween, can someone please help me with this?
The ProductManagement and ResourceManagement use the following command to do that
Container.RegisterWcf(WcfHostFactory);
But when I try to do that in my custom module, I get the following error message:
CS1061 'IContainer' does not contain a definition for 'RegisterWcf' and no accessible extension method 'RegisterWcf' accepting a first argument of type 'IContainer' could be found (are you missing a using directive or an assembly reference?)
Am I missing an assembly reference? And if that's the case: Which one am I missing?
In preparation for cross-platform we extracted WCF to an isolated package Moryx.Runtime.Wcf. That also contains the container extension.
Image 1
image 2
I am trying to add IServiceCollection.AddOrchardCms(); and I am getting the following error:
Error CS1061 'IServiceCollection' does not contain a definition for 'AddOrchardCms' and no accessible extension method 'AddOrchardCms' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?) WebApplication1 D:\vibhan_pro\CMS\WebApplication1\WebApplication1\Startup.cs 15 Active
I am using CefSharp WinForms in my project and i cannot get it to execute a JS script from the CefSharp Browser Control
(I was to navigate to URLs though - so most of the CEF functionality works)
I tried following the tutorial at: https://github.com/cefsharp/CefSharp/search?utf8=%E2%9C%93&q=BoundObject
I am using the following namespaces:
using CefSharp.WinForms;
using CefSharp.Internals;
and added references to the following assemblies (x64):
CefSharp.WinForms.dll
CefSharp.dll
CefSharp.Core.dll
but still I get the following error when I try to use one of the functions:
ExecuteScriptAsync or EvaluateScriptAsync
I get the following error:
'CefSharp.WinForms.ChromiumWebBrowser' does not contain a definition for 'EvaluateScriptAsync' and no extension method 'EvaluateScriptAsync' accepting a first argument of type 'CefSharp.WinForms.ChromiumWebBrowser' could be found (are you missing a using directive or an assembly reference?)
'CefSharp.WinForms.ChromiumWebBrowser' does not contain a definition for 'ExecuteScriptAsync' and no extension method 'ExecuteScriptAsync' accepting a first argument of type 'CefSharp.WinForms.ChromiumWebBrowser' could be found (are you missing a using directive or an assembly reference?)
can anyone direct me to the point i am missing? is there another API? maybe some reference dll that I am missing?
thanks
You may be missing one other namespace. I would suggest you add:
using CefSharp;
We were having the same trouble and found that we were simply missing this one.
We now have:
using System.Text;
using CefSharp;
using CefSharp.WinForms;
using CefSharp.Internals;
CaptainBli is correct: you have to use "using CefSharp"
Probably you didn't expect it there, since it seems to be in another namespace: "CefSharp.WinForms.ChromiumWebBrowser".
This is because EvaluateScriptAsync and ExecuteScriptAsync are extension methods
I am trying to create a WebSite in IIS Version 8 by following this link
Added the reference to Microsoft.Web.Administration.
This line:
iisManager.Update();
gives this error:
'Microsoft.Web.Administration.ServerManager' does not contain a
definition for 'Update' and no extension method 'Update' accepting a
first argument of type 'Microsoft.Web.Administration.ServerManager'
could be found (are you missing a using directive or an assembly
reference?)
What am I missing?
Thanks in advance.
instead of Update try CommitChanges()