|
|
Browse by Tags
All Tags » c# » Gotcha
-
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 ...
-
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" ...
-
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 ...
-
A colleague of mine just showed me how to get nice looking C# code blocks into my blog site.
Go into your blog dashboard and go to Global Settings, Title, Description and News. In the RawHeader box, paste in the following: <script type="text/javascript" ...
-
See here http://stevenharman.net/blog/archive/2008/04/29/hacking-visual-studio-to-use-more-than-2gigabytes-of-memory.aspx
-
Symptom
Aspnet_compiler.exe fails to produce any content apart from the PreCompiledApp.config and the Bin folder.
Reason
When you save a solution containing a web project (file based), it sets the physical path property Debug.AspNetCompiler.PhysicalPath for the aspnet_compiler. If you then subsequently save your ...
|
|
|