|
If you're building a C# or VB.NET project, go to the Project menu, Properties, and you'll see an option to set the application's icon on the first page of the dialog that shows up.
|
|
|
|
|
I was not sure where to put this question so I am placing it here...
Has anyone any expedience with importing established NUint tests into VS 2008 to use in the native unit testing environment?
I thought at some point there used to be tons of information about how to accomplish this but I can't seem to locate it now and I really don't want to have to rebuild all my tests from scratch if I don't have to. It would be OK if I had to tweak a but, but re-writing several hundred would a bit of an arduous task and I really would like to get more integrated if I could.
|
|
|
|
|
There's this cool link here[^]. I've not tried these converters myself though.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
Out of curiosity what are the advantages of doing this as opposed to leaving them as-is and just creating new tests in VSTS? Or does company policy require you to convert to MSTest?
Kevin
|
|
|
|
|
No really policy (yet)... I just know that we are going to be moving over to VSTS soon and figured that i would start prepping to get the unit tests moved over to being part of the solution in that format rather than what NUnit used.
|
|
|
|
|
Can someone tell me why there is an infinite loop below only in release mode? If I add a printf in the while loop, then the infinite loop disappears.
for (long i=1; i<(signed)Expiry_URLs.size(); i++)
DownloadStringInBackground2(gcnew System::String(Expiry_URLs[i].c_str()));
Process_Straddle_View(T, G_OPT, Error_Code); //ASSUMES THAT NO OTHER DOWNLOAD FINISHED BEFORE THIS RUNS
while (!!G_OPT.Running);
void DownloadStringCallback2( System::Object^ sender, System::Net::DownloadStringCompletedEventArgs^ e ) {
// If the request was not canceled and did not throw
// an exception, display the resource.
--G_OPT.Running;
if ( !e->Cancelled && e->Error == nullptr ) {
System::String^ textString = dynamic_cast<system::string^>(e->Result);
System::Console::WriteLine( textString );
}
}
void DownloadStringInBackground2( System::String^ address ) {
++G_OPT.Running;
System::Net::WebClient^ client = gcnew System::Net::WebClient;
System::Uri ^uri = gcnew System::Uri(address);
// Specify that the DownloadStringCallback2 method gets called
// when the download completes.
client->DownloadStringCompleted += gcnew System::Net::DownloadStringCompletedEventHandler( DownloadStringCallback2 );
client->DownloadStringAsync( uri );
}
|
|
|
|
|
You have an empty loop here, and it has 'eaten' all your processor in the release mode:
while (!!G_OPT.Running);
It's not a good way to do such loops for wait until other operation completes.
In such cases synchronization must be used, like events, or AsyncCallbacks.
|
|
|
|
|
In a xml file, there are some characters like ß (part of Schließen(Deutsch) ).
but when i had called the function XmlDocument.Load(), it was fail.
if delete the "ß", then success.
please tell me how to parse the xml file with some characters like ß.
|
|
|
|
|
please check your xml file encoding. for example <?xml version="1.0" encoding="UTF-8"?> means utf-8 encoding
|
|
|
|
|
Crap
Thank you
modified 21-Aug-13 17:32pm.
|
|
|
|
|
Off the top of my head I dont believe there is anything built into asp.net that will do this. However if your interested Silverlight 4 will have this functionality and it should be out in the next couple of months.
|
|
|
|
|
|
i want a source code for 3 d max studio
|
|
|
|
|
I want it too
3D S Max is not an open-source software; they will never give thir sources.
|
|
|
|
|
gulamnabi shaikh wrote: i want a source code for 3 d max studio
The easy way to do it is to become a billionaire and buy the company. BTW - 3D Max is not written using the .NET Framework.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
gulamnabi shaikh wrote: i want a source code for 3 d max studio
Be careful of what you wish for, for it may just come true... on 2.3 million pieces of A4 paper....
|
|
|
|
|
I hope they are properly numbered then.
|
|
|
|
|
|
An instance of your class can't know whether to access the static method or the instance method so it is not allowed
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
Opps...didn't see your reply and I deleted the question as I got it
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
hey plz post the reply buddy, when u get, it could be helpful to other
Ravie Busie
Coding is my birth-right and bugs are part of feature my code has!
|
|
|
|
|
how can it be helpful if there is no question.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
one shouldn't remove a question once there are replies.
|
|
|
|
|
|
The original question was something like - why can't I do this
class SomeClass
{
void SomeMethod()
{ }
static void SomeMethod()
{ }
} The original question was more succinctly put, with reasoning behind why the OP thought it should be allowed
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|