|
I have tried adding <Message> elements to tasks in a VS project file, in order to debug the build process. However, the elements have no effect on the text that is written to the VS output window.
Is there a way to write messages to the VS output...
Started by mackenir on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I think this should work (it used to for me): <Message Text="blah" /> .
This controls how much info you want to see in the Output window.
The MSBuild project build output verbosity combo box.
|
|
Hi folks, I'm using NLog to log my stuff. I'm trying to send the output to the console (or colouredconsole) ... which i'm hoping would goto the visual studio 'OUTPUT' window for any ASP.NET web site/app/mvc app.
It's not.
If i change the target to 'file...
Started by Pure.Krome on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I use this class for output to VS debugger output window:
http://www.u2u.info/Blogs/Kris/Lists/Posts/Post.aspx?ID=11
but don't know if it will work with nlog (it will if it uses TextWriter for output.
|
|
I recently discovered 'comint-show-output' in emacs shell mode, which jumps to the first line of shell output, which I find incredibly handy when looking at shell output that exceeds a screen length. The advantages of this command over scrolling with ...
Started by wherestheph on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're expecting a lot of output and don't want to run your command twice, you can use tee(1) to fork the output:
my-command | tee /tmp/my-command.log | less
This will pipe the output to a paginator ( less ), while simultaneously....
|
Ask your Facebook Friends
|
In PHP, I want to read a file into a variable and process the PHP in the file at the same time without using output buffering. Is this possible?
Essentially I want to be able to accomplish this without using ob_start() :
<?php ob_start(); include '...
Started by Joe Lencioni on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
$fileData:
// myinclude.php $value = 'foo'; $otherValue....
Otherwise, you have to use output buffering.
Then you can do all your other stuff afterwards.
Why do you want to avoid output buffering.
From what I can tell in the PHP documentation, no .
|
|
Suppose there“s a template function in C++ that does some useful work but also outputs a sequence of values via an output iterator. Now suppose that that sequence of values sometimes is interesting, but at others is not useful. Is there a ready-to-use...
Started by David Reis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
But you could code it yourself (tested that code):
struct null_output_iterator : std::iterator< std::output_iterator....
Do you have Boost available? If so you could use a function_output_iterator wrapping an empty such an iterator.
|
|
Hello,
I have a Theora video deocder library and application compiled using VS-2008 on windows(Intel x86 architecture). I use this setup to decode theora bit streams(*.ogg files). The source code for this decoder library is used from FFMPEG v0.5 source...
Started by goldenmean on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Instrumenting the code to output verbose traces to a separate file and examine the traces for the first.
|
|
Hi again,
I'm not sure if it is possible but what I want to do is to run a bash command and storing the output in a variable AND display it as if I launched the command normally. Here is my code:
VAR=`svn checkout $URL`
So I want to store the output in...
Started by Selmak on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If the command is run from a terminal, you can do:
VAR=$(svn checkout $URL | tee /dev/tty)
You don't have to call the external tee :
VAR=$(svn checkout $URL) && echo $VAR
or even:
VAR=$(svn checkout $URL); echo $VAR .
|
|
I'm building a script to monitor my event logs. This command gathers only "Error" and "Warning" messages and places them into the $entries array.
$entries = $log.Entries | ? {$_.TimeWritten -gt ($(Get-Date).AddDays(-2)) -and ` (($_.EntryType -like "Error...
Started by Doug Chase on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
$entries > $output
or
$entries >> $output
if you....
Content "yourfile.txt"
That should properly convert to a string and output it to your text file then the simplest approach is to just use traditional file redirection e.g.
|
|
I have a storeprocedure:
CREATE PROCEDURE [dbo].[BrandDrugDetailsInsert] @BrandDrugDetailsID uniqueidentifier OUTPUT, @BrandDrugID uniqueidentifier AS BEGIN INSERT INTO Pharmacy_BrandDrugDetails(BrandDrugID) OUTPUT INSERTED.BrandDrugDetailsID VALUES (...
Started by Colour Blend on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So instead of using an OUTPUT parameter in the stored procedure, just run have to OUTPUT into a table variable and then write ....
I believe that when you use the OUTPUT clause in a INSERT statement, the rows come back as a resultset.
|
|
How do I configure Ruby on Rails to output standard HTML code instead of XHTML when using helpers (form, javascript, css, etc.)?
I don't want to have the slash at the end:
<input name="email" type="text" />
Started by deepwell on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You have to modify the code than renders all tags, you can do that by including the following... .
See http://railsforum.com/viewtopic.php?id=21941
-- MarkusQ
This answer is contained in the link provided by MarkusQ, but I figured I could spell it out exactly .
|