All Questions
Tagged with visual-studio-2013 wpf
407
questions
0
votes
0
answers
487
views
'Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies
I get the error while trying to compile a WPF Project with Visual Studio 2013.
Error 3 Unknown build error, 'Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, ...
0
votes
0
answers
61
views
How to add Icon to add or remove programmers when publishing a WPF applcation
I am Writing a WPF Application with visual sutdio 2013.
In the properites of the application I specified an icon.
I also added it to the folder (jpg and ico)
when I publish my applicaion as offline (...
1
vote
2
answers
1k
views
Drawing a WPF shape, as a Rectangle: StrokeThickness halve if Stroke is Transparent
the problem: I have some UCControl than design geometric shapes. I can configure at runtime, dimensions (size and stroke thickness), colours (background and stroke) and all work fine until I use solid ...
1
vote
0
answers
801
views
Correcting error MSB4102 "Project' attribute in element <Import> is invalid. Illegal characters in path
Working my first WPF Application, was suggested to me that rather than manually creating my files that I allow Visual Studio 2013 to create the WPF Application for me and then use msbuild on the ....
2
votes
2
answers
342
views
How to update the Color of Button from another class/ by passing it in a function in WPF
I want to Change the Color of button on a specific Condition by another class/by passing the button in a function.. I have the code of Winform but I need it for WPF..
Here is Winform application Code
...
0
votes
0
answers
81
views
My metroframework form becomes a new form after cleaning and rebuilding my solution now all the components are gone
I was dealing with this error "the type namespace 'Resource' could not be found".
So after adding some reference for that I got the run-time designer error like that with the title "to prevent any ...
2
votes
1
answer
1k
views
System.Diagnostics.Process.HasExited always returns true and Process.Exited event handler always hits when process is still open
I am currently having issues with a piece of my code. This code works perfectly fine (even without some of the extra if statements) on my machine when I run it both through Visual Studio 2013 and when ...
0
votes
0
answers
42
views
Visual Studio 2013 unable to create new wpf application
Previously i was able to create a new Wpf application from my Visual Studio 2013 Professional.
But recently whenever i tried to create a new Wpf application it will just hang.
I tried uninstalling VS ...
-1
votes
1
answer
234
views
Can't Find observableCollection.cs Visual Studio 2013
I was debugging c# code in Visual Studio 2013 and stepped into the line shown in the figure below
Then I get this error:
I don't know where it is getting the initial folder. I don't have a drive f. ...
0
votes
1
answer
590
views
Detect if WPF application is running or in Visual Studio windows visualizer
I have a WPF application which opens a popup when the main window is loaded. The problem is when I select the .xaml file in the solution explorer in Visual Studio 2013, the popup "pops" even when the ...
2
votes
1
answer
995
views
Explicitly setting/ignoring visibility at design-time in VS2013?
I'm designing a form for a complex backing model in WPF. Some of the form controls rely on multiple options being set on the underlying view model, so I've set up for example
<TextBlock.Visibility&...
1
vote
1
answer
3k
views
Creating an Expand All and Collapse All Buttons with Expander in WPF
I am working in Visual Studio 2013 in WPF (C#) and I have the following code to create an expander from my xml. It is currently working perfectly right now but I want to include an expand all and ...
0
votes
2
answers
1k
views
wpf Control Template not working at runtime
After creating ControlTemplate for Wpf window it's working fine in design view. But when I run, it does not show the outer red border.
here is my code
<Window x:Class="MainWindow"
xmlns="http://...
0
votes
1
answer
88
views
Namespace errors in Xaml and the application run perfectly
I know that there a lot of questions about this problem. but any of the answers solved me it:
I use VisualStudio 2013. I have a sulation with a Wpf project.
I create for example a public class, and I ...
0
votes
2
answers
1k
views
WPF app crashes on startup
I did distribute WPF app to my customers. The app is built via visual studio 2013 pro on Windows 10. But he failed startup with CLR20r3 (related to presentationcore.dll).
I know that CLR20r3 error is ...