Archive for December, 2008
Where is msbuild on Windows?
Running msbuild on a normal developer pc can be a bit confusing. The shell does not recognise the command and if you do a search you don’t find it. But if you do the search including all non-indexed locations you will it in C:\Windows\Microsoft.NET\Framework. So msbuild is not a program in the programs folder, it is a utility in the .NET folder.
If you want to use it, there is a simpler way, Microsoft Visual Studio 2008 comes with a customized console that you can find here:
And in that console, msbuild is recognised as a command.
Posted: December 11th, 2008 under Programmieren.
Tags: msbuild, Visual Studio 2008
Comments: none
Eine XML-Datei mit einer XSLT-Datei verbinden
Ganz oben im XML die folgende zweite Zeile einfügen:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="docu.xsl"?>
Posted: December 9th, 2008 under Programmieren.
Tags: xml, xslt
Comments: none
Powershell: First thing to do
If you get errors like:
YourScript.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.
or just if Powershell was installed on a new machine you normally have to set to Execution Policy to a reasonable grade.
For home users, just type
Set-ExecutionPolicy Unrestricted
That’s it.
Further information can be found at many places, e.g. here.
And by the way, the path to the Powershell is the following: C:\WINDOWS\system32\windowspowershell\v1.0\
Posted: December 5th, 2008 under Informatik, Programmieren.
Tags: execution policy, first thing, path, Powershell
Comments: none
Philip Pullman - Das Bernstein-Teleskop
Stillehalten, damit die Unruhe sich auflöst. Dann erkennt man jenseits des Aufruhrs die grossen Gesetze.
Wie der Berg in sich stillehält, so geht der Weise mit seinen Gedanken nicht über seine Lage hinaus.
- Philip Pullman - Das Bernstein-Teleskop S.138
Posted: December 5th, 2008 under Zitate.
Comments: none
True and False in the Powershell
How to assign a boolean value to a variable? Easier than you think!
$true und $false are built-in variables. (They are read-only, by the way). So you can write:$yourTrue = $true
Posted: December 4th, 2008 under Programmieren.
Tags: bool, boolean, false, Powershell, true
Comments: none
Powershell comment
#
Posted: December 3rd, 2008 under Programmieren.
Tags: comment sign, Powershell, ps1
Comments: none
