All Questions
369
questions
0
votes
0
answers
17
views
Could not load file or assembly despite dll and dependencies being present
I'm developing a Visual Studio Extension in .net Framework. I'm getting this ulcer-inducing error at runtime:
The xaml that calls it:
I've downloaded the most recent version of Syncfusion.Edit.WPF ...
0
votes
1
answer
69
views
How to tell my application to look in specific folders for dlls
I am writing a .net framework 4.8.1 application that references about 2 dozen dlls from a couple of different third party applications. Those dlls in turn reference many more (thousands) dlls from ...
0
votes
0
answers
51
views
Multi level project reference using dll
Adding multi level project reference(Project1 referenced in Project2 & Project2 is reference in Project3) allows accessing the methods/namespace of level1(i.e. Project1) in level3(i.e.Project3).
...
0
votes
0
answers
52
views
Could not load ArcGis Runtime(RuntimeCoreNet200_3.dll)
Hello i have a WPF application that was running fine and well with esri version 200.0 and net version 6.0
After we upgraded to net version 8 and esri version 200.3 im getting the following exception
(...
0
votes
0
answers
64
views
How to use Roslyn in wpf application
When the same .cs file is compiled into a DLL using Visual Studio, it can run normally in a WPF program. However, when compiling into a DLL using Roslyn, it will cause an error in all windows' ...
-1
votes
1
answer
81
views
Where's the CefSharp DLL that includes the "IWebBrowser" type?
I'm porting my app from Microsoft Edge WebView2 to CefSharp because of the extension support, however for some reason, IWebBrowser seems to be placed in a DLL that is either hidden or not installed.
I'...
0
votes
2
answers
105
views
How to publish the project DLLs to a folder automatically when building the project in Visual Studio
I am having multiple modules in my application and I want to copy the module's assembly to the Main startup project's bin folder dynamically without adding as a reference.
I am able to manually ...
0
votes
0
answers
42
views
I can't add an image from the library WPF [duplicate]
I have a library to which I have added images. I want to get these images in order to display them in the WPF Image(System.Windows.Control.Image). I have used several methods.
<Image Source=/...
1
vote
1
answer
361
views
How can I solve 'Could not load file or assembly' error in XAML Designer for C# WPF app using C++ managed dll wrapper?
I have a .NET Framework 4 C# WPF application that uses functions from a referenced managed dll wrapper (a wrapper that wraps an unmanaged C++ dll).
So:
HMI_Main <— HMI_ClientWrap <— HMI_Client &...
1
vote
2
answers
110
views
Why have to add to GAC. DLL already given in exe folder
I wrote an shell extension in c#. App shows WPF Dialogs and I use Xaml.Behaviors
When I run the App. All other DLL are found. (Same Folder as exe) But App throw an exception for missing Microsoft.Xaml....
0
votes
0
answers
70
views
WPF (.NET 6) does not correctly load references using Assembly.LoadFrom
In the sample solution there are 3 projects
MainApp - main WPF app
MyPlugin - dynamically loaded plugin
Components - WPF components (this could be nuget package)
When starting MainApp, the MyPlugin....
0
votes
1
answer
34
views
My "Next page" button still keeps the previous pages information, and it looks messy
I need to test out the rest of my WPF application but cannot navigate through it, whenever I try navigate to the Next page my application still shows the information from the previous page on top of ...
0
votes
0
answers
143
views
Applying PresentationFramework.Royale style to .net 4.8 wpf project
I have a WPF application where I have two stylesheets xaml. But I need to apply base style i.e PresentationFramework.Royale to only one of them, which is not directly loaded in App.xaml.
Below is my ...
0
votes
1
answer
77
views
Unable to find an entry point named xxx in mixed C++ DLL and WPF C# project
I am trying to mixing C++ DLL with WPF C# code. My DLL called Transcoder.dll and has simple interface:
Transcoder.h
#define MATHLIBRARY_API __declspec(dllexport)
namespace MathLibrary
{
class ...
0
votes
0
answers
163
views
Perfomance problem with WPF app in VS22 and release build
I have a very strange problem.
I am using a WPF application to retrieve image frames from a device.
The communication with the device is done by calling the c++ dll
like this
[DllImport(...