I added a dll to my project. There was some error in the wrapper class so I removed that from my project. Now the trouble is whenever I build my solution, following error appears:
"Error 1 Failed to create the wrapper assembly for type library "AxUrdu_Unicode_TextBox". Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxUrdu_Unicode_TextBox'. Source code saved in 'obj\Debug\AxInterop.Urdu_Unicode_TextBox.cs'.
c:\Users\Kh. Furqn\AppData\Local\Temp\mhveuttt.0.cs(30,38) : error CS0407: 'object AxUrdu_Unicode_TextBox.AxctlUrduText.About()' has the wrong return type
D:.Net Programs\School Manager\School Manager\School Manager\AxUrdu_Unicode_TextBox School Manager
"
I have done Clean Solution several times but error does not go away. Please help.
Thanks
I am presumming that you have a WinForms App, try looking in your Designer.vb file to check if there are any reference's to the Dll that gave you a problem.
Related
From one moment to another I am receiving the following error messages:
When starting the UWP app:
One of the content dialog constructor -> InitializeComponent() throws the following exception:
Windows.UI.Xaml.Markup.XamlParseException: 'The text associated with this error code could not be found.
Cannot deserialize XBF metadata property list as 'Behaviors' was not found in type 'Microsoft.Xaml.Interactivity.Interaction'. [Line: 0 Position: 0]'
http://prntscr.com/rb8bdj
And I can't open the XAML Designer:
http://prntscr.com/rb8boo
Template10 version: 1.1.12
Microsoft.Xaml.Behaviors.Uwp.Managed: 2.0.1
So the latest.
There was no any previous sign, this error come up from one moment to another today, everything was working smoothly before.
Can you please suggest anything how can I fix it or debug it?
Solution:
Finally figured out that anything went wrong with the project configuration, after deleting and readding the debug config solved the problem.
I have a problem trying to replicate the File Picker example in link, I create a new application using a Universal Application Windows store template.
I extract the content of the class Scenario02 and create a similar one in my example. This class implements an interface called IFileOpenPickerContinuable which I extract from the class ContinuationManager and create a file in my project with the same name to implement that interface.
I don't get any compilation errors when I run the application. When the line openPicker.PickMultipleFilesAndContinue(); is executed, it throw a exception.
'UnauthorizedAccessException'(Access is denied. Exception from HRESULT: 0x80070005) exception.
In the Microsoft example they don't modify any of the manifests of the application. Do you know what can I be missing?
(Question solved in a question edit. Converted to a community wiki answer.)
The OP wrote:
Solved! The problem was trying to launch the data picker in the class constructor.
I have VB.net application in which Infragistics dll is showing error. I tried to get its dll but its not seems available anywhere.
its shwoing the following error while trying build the application
Exception occurred creating type 'Infragistics.Win.Misc.UltraExpandableGroupBox, Infragistics2.Win.Misc.v7.2, Version=7.2.20072.61, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException E:\CONTRIBUTION MANAGER\Contribution Manager\Win764\ContributionManager\My Project\licenses.licx
Anybody who have any idea about this dll please help me out!!
I guess this helps, just set the build action on your license.licx to None.
Which reference has xamcarouselpanel?
When I build my project I get an error that igwindows:XamCarouselPanel was not found. My code is:
igwindows:="http://infraistics.com/Windows"
and the error occur in:
igwindows:xamcarouselpanel.ViewSetting
If anyone has a link to this dll please attach it in the answer.
First of all you should write
xmlns:igwindows="http://infragistics.com/Windows"
in xaml in order to add a namespace and you should have corresponding reference in your project.
After you installed the Infragistics on your computer you should add InfragisticsWPF.XX.X reference.
I created a new Qt5 project. All i do is drag a QWebView into my MainWindowUI. It gives me these errors:
error: undefined reference toimp__ZN8QWebViewC1EP7QWidget'`
and
error: undefined reference toimp__ZN8QWebView6setUrlERK4QUrl`
I havent even written a single line of code! Is something wrong with QtDesigner?
Add "webkit"( till Qt 4.7.4) or webkitwidgets(Qt5) on pro file. like "QT += core gui webkit", then clean and build.