|
|
Browse by Tags
All Tags » c# » Microsoft
Showing page 1 of 2 (19 total posts)
-
Had been getting this recently in our builds, and have finally tracked it down to conflicting versions of the Microsoft.ReportViewer.Common.dll in our project references. This came about as one of our developers was using VS 2010, but the rest were still back on VS 2008.
Anyway, I thought I’d blog around how we traced this issue down in the end, ...
-
Came across this issue on the project I’ve been working on. When resizing a form that contained the System.Windows.Forms.Integration.ElementHost control to host WPF content inside a Windows Forms control, we noticed that the new screen real estate inside the ElementHost was not redrawn at all. Rather it just left a black border around the original ...
-
Finally managed to figure out how to get virtualization to actually behave itself in a listbox wpf control.
Turns out that in order for Virtualization to work, you need three things satisfied.
1) Use a control that supports virtualization (e.g. list box or list view). (see Controls That Implement Performance Features section at bottom of ...
-
Even though x:Name is a dependency property for a WPF framework element, you cannot the name of the control to a static resource in the code behind file <Window x:Class="WpfApplication2.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...
-
There's 2 products (both with free versions) you can use for T4 intellisense:
One is by Clarius at http://www.visualt4.com/. But best to go with Tangible's T4 editor at http://t4-editor.tangible-engineering.com/T4-Editor-Visual-T4-Editing.html (available through the Extension Manager in VS2010 under tools).
Also if you want to get a bit more ...
-
Just came across a great article on the web when searching for topics relating to Thread safety.
http://msdn.microsoft.com/en-us/magazine/cc188793.aspx#S2
-
A good starting point for learning about the new parallel library extension in .NET 4.0 is here…
http://blogs.msdn.com/b/pfxteam/archive/2010/04/04/9990342.aspx
also many more resources available from here…
http://msdn.microsoft.com/en-gb/concurrency/default.aspx
Perhaps more useful for quickly assimulating the knowledge, is to watch the ...
-
For example if you wish to create a MefExtensions directory for a main assembly to use the DirectoryCatalog to load in plugins at application startup then add this to your sub project's post build event SET DestDir=MefExtensions
SET DestDir=$(SolutionDir)\$(SolutionName)\$(OutDir)%DestDir%\
IF NOT EXIST %DestDir%. (md %DestDir%.) ELSE erase /Q ...
-
In windows 7 you may have noticed when items are copying across in windows explorer, that you get a nice progress bar reported on your task bar for windows explorer. This can be achieved in your own WPF applications using the Window.TaskBarItemInfo dependency property as ...
-
To stop resharper 5.0 code clean up from embracing all your code in #region #endregion tags, remove the <Group> xml nodes from the Type Members Layout settings as follows.
Note, don't close the </Patterns> tag after pasting in the xml as otherwise Resharper wont let you save this dialog even though the xml is invalid.
Below is the ...
1
|
|
|