I have program in Java that I want to rewrite (GUI and some new features). I want to rewrite it in C# (mostly because of is easier to write GUI in it).
As the core of the program is large and is working well, I have an idea to keep it in Java as the J# code and just write a GUI and new features.
J# was discontinued by Microsoft several...
I'm trying to follow along with Paul Sheriff's e-book "Fundamentals of N-tier" which is really good so far.
At the end of chapter 2 he says we should break the classes we have created into separate class libraries and that these libraries(dlls) can then be used from any application. The book doesn't explain how to do this.
I have th...
Hey everyone
I'm trying to import a Java axis web service into C# to be used in my application; however, it is giving me the following error: Attempted to write schema for bad QName
Any idea what this could be? I've imported schema before no problem, but this one won't budge.
Also, it's important to note that whenever I click the lin...
template < typename T >
struct test
{
template < typename U >
friend struct test<U>;
};
int main() {}
This is perfectly valid code, no? I ask because MSVC++ 2010 fails to compile it. Not the first time templates have confuzled the MS compiler though. As far as I can tell from books, websites, and such it should work.
The corre...
Many times I will set a break point in Visual Studio and run a process that might take seconds or a minute or two. While that runs, I will do something else, usually other coding in another window. When the breakpoint is hit, Visual Studio gains focus and my next several keystrokes go into the debugger and all hell breaks lose depending ...
I use in my c++ project google buffer protocol lib. And after changing *.proto files in my solution I need regenerate *.cpp files using google buffer protocol compiler. How can do it before compilation? Pre-buid events is not acceptable for me.
...
I have a work PC and a laptop at home that I dev on using Resharper. Unfortunately, every time I add a live template or change my formatting settings, I have to export and import the settings/templates between computers.
For visual studios settings, I use the Automatically save my settings to this file option in conjunction with a file...
During visual studio build, will the dll referenced from a different folder get copied to the applications bin folder
...
My source control is TF. But i am offline how can i become online?
...
Where is the Object relational designer and Entity data model designer in Visual studio ?
What is the first of them used for ? What is the second used for ?
I have used Entity data model designer one or two times, is the use of Object relational designer different ? How do I reference classes in my Object relational design from code ?
...
Opera is my browser of choice, so it's set as system default browser. But for debugging web apps in Visual Studio I prefer IE so I set it as default in File-Browse With...
What's weird here is that Visual Studio 2010 keeps changing its default browser to system default in an unknown manner (VS restart is one of the situations).
Is there ...
Hi,
I'm using entity framework with oracle database.
I downloaded the provider from http://oracleef.codeplex.com/.
Today I converted my project to work with VS2010.
Is there a way (free) to work with oracle db using VS2010?
Thanks!
...
The MIDL compiler is invoked every time the IDL-file's timstamp is changed.
Is there a way to prevent Visual Studio from automatically invoking the MIDL compiler although the IDL-file has been changed? Is there a setting in the project parameters to tell VS wether IDL recompiles should be done or not?
Making a rebuild due to changes in...
Is there any way to force Clean action as a Post / Pre build event for single project in Visual Studio?
Thank you.
...
Hi,
I've installed visual studio 2010.
When unhandled exception is thrown, nothing happen...
I created new windows form application and wrote 1 line in the form_load function:
private void Form1_Load(object sender, EventArgs e)
{
throw new Exception("");
}
And still nothing happen. The only thing I can see is th...
About five years ago I wrote a touch screen kiosk application in Visual Studio 2005 (.net 2.0) with an embedded Flash ActiveX movie in it, which ran a Flash application written in Flash 6.
Fast forward back to the present and I've been tasked with upgrading our kiosk platform to allow for video conferencing. This requires communicating ...
On a related note to this question, which just came up:
I commonly follow the naming convention LibraryClass <-> LibraryClassTests for my unit tests. However, when renaming LibraryClass using the default rename/refactor functionality in either Visual Studio, R# or CodeRush (I have tested both) the test file is not renamed, meaning I mig...
I have "Contains" method but I need a "Not Contains" method. Any suggestions?
var ResultsOfMPD = (from m in engMpdMultiSelect
where engMpdMultiItems.Select(o => o.ENG_MPD_MYTECHNIC_TASK_NO).
Contains(m.ENG_MPD_MYTECHNIC_TASK_NO)
select m);
is there any method like that?
var ...
I've never received any useful information from Visual Studio on-line help. I keep accidentally opening on-line help but pushing [F1] when I mean to push [Esc]. It takes about 8 seconds to load and it won't let me close it. Is there an easy way out of this?
...
I'm serving my asp.net mvc views from many assemblies and copying views to the main application on post-build event.
This works, however, I realized, that when I change something in view and just hit F5, changes are not included. What I have to do to see changes is to: save, build<- explicitly clicking, and then hit F5. However, it's pr...