i do a localized application using silverligth 4.
after changing my culture thread i do
LayoutRoot.Children.Clear();
MainPage MyPage = new MainPage();
LayoutRoot.Children.Add(MyPage);
but i get an error "value does not fall within the expected range"
how can i reload the layout to apply the language changing
...
I'm checking into upgrading to VS2010.
Our production servers only have 3.5 Framework and it will be 6-9 months before they are updated.
We also have a Continuous Integration Server, running CruiseControl.NET (CC.NET).
It has the 3.5 Framework on it as well.
Our implementation of CC.NET mainly calls msbuild.exe MySolution.msbuild. (We...
Is is possible to do the following from a Visual Studio 2010 plugin? If yes, how?
Run all unittests in solution (with code coverage enabled)
Wait for all tests to complete
For successfully completed tests: Determine which methods were called during each test (directly by the test or indirectly by the tested methods). And store their na...
I am working with Visual Studio 2010 and it's integrated testing functionality.
I have an XML file in my project which is set to copy to the output directory. I can access the file just fine when I compile and run the project. But it doesn't exist when I attempt to access it within a TestMethod.
It looks like the test is run with the ...
Hi,
I have seen VS2010 exposing Network Emulator API. I have installed it and trying to use this API, but not able detect whether it is really running with this code or not. Sometime I have given wrong profile name but it does not throw any error. Please find below my piece of code. If some one have used it please help me.
IntPtr m_emu...
Hello --
We are moving our SL3 app to SL4. First step was to open it in VS2010; it converted w/o problem.
However, parameters specified for the start page are not passed along.
That is, if we specify
ourStartPage.aspx?Slam=Dunk&Glass=Sun
in app.xaml.cs, Application_Startup(), e.InitParams is empty.
How do we fix this?
Thanks for any...
OK. I was going a little crazy today with a WPF project. I'm using VS2010 with .NET 4.0 and I added a simple reference to another project in my solution, added a member variable of one of the referenced types and tried to compile. Nothing. Well, something. It did not recognize the type at all.
I verified at the namespace using st...
I have a try/catch around a MethodInfo.Invoke(o,null), and VS2010 is set to never break on Exceptions, but unfortunately the debugger continues to break inside the Invoked method. The method is static, and I've got the Phone Developer Beta installed.
Is this a bug or developer error?
Thx!!
...
VS Version 10.0.30128.1 RC1Rel
I have a solution that contains an F# Library and an F# Console application, which references the library (through the referenced projects). I want to be able to step into the library from the console APP, but it is stepping over instead.
Is this a known issue? Has anybody had success accomplishing de...
In VS2008 when I add a reference to a dll e.g log4Net I get the following in csproj
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\log4net\log4net.dll</HintPath>
</Reference>
In VS...
I had hoped that Visual Studio 2010 would have brought some improvements to the Schema Comparison function. I suspect there are some, but I can't get something basic working. I've sucked in a schema from a SQL Server 2005 database. Then to assure things were working, I did a schema compare choosing the database as the source and my sc...
I have a project with 100's of usercontrols. When I load the project in VS2010 and try to open a designer, the toolbox spins and spins until they're all loaded.
Winforms has a "AutoToolboxPopulate" switch under Tools/Options/Winddows Forms Designer/General.
I cannot find a similar switch for the XAML designer. Does one exist?
...
I have an external *.js file that contains Javascript. How do I get teh same intellisense and color highlighting as I do in an ASPX page?
Here's my options for the js extension (set to 'Script Editor')
And here's what it looks like in an ASPX page (How I would like it to look.)
BTW, I did a full reset my Settings, setting them to V...
Visual Studio 2010 seems to insist on having this import in web application projects
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
What does this import give us and is it really required?
On a side note if you remove this import with a text editor Visual ...
At home I've been running VS 2010 on a Windows 7 x64 machine without any issues, however at work we recently switched over to VS 2010 running on WinXP SP3 x86 - and I gotta say, the experience is terrible.
There are severe graphical glitches. For ex,
Intellisense doesn't quite work. You can start typing and the intellisense dropdown ...
Hi there,
I've made an application that uses .NET framework 3.5 SP1 and SQL Server 2008 Express.
Application is fine and now i'm going to to make a setup project for this.
When I first build my setup it was fine as all the prerequisites were not included in setup.
But I want my setup to install .NET 3.5 SP1 and SQL SERVER 2008 Express...
I have a class called ledgerObject :
public class LedgerObject
{
public ChargeLine ChargeLine{ get; set; }
public DelegateCommand Click_hyperbnCommand{ get; private set; }
public LedgerObject()
{
this.Click_hyperbnCommand = new DelegateCommand(click_btn);
}
private void click_btn(object args)
{
...
I installed VS2010 pro using the web installer, but now need to install it on another machine. As this new install will require the same features as my current install, is it possible to reuse the files already downloaded? And if so, how is this achieved?
...
I really like Visual studio. I think it is awesome IDE ever been made for developers. But color scheme in new VS2010 is really ugly, so the first thing i'd like to do after install is to change its color palette. I googled how to do this and found VS extension by Matthew Johnson [MSFT].
If you know another way to change color palette in ...
Hi,
is there any option when updating classes in EF4 Modeller to disable the drop
of all data and tables, just to append non existing fields and leave old tables and data
untouched.
I mean not to change every time on every little change to edit manual the SQL files.
Thanks.
...