psake Questions

10

You have a large Visual Studio Solution with dozens of project files in it. How would you verify that all the projects follow certain rules in their property settings, and enforce these rules if a ...
Ethbun asked 3/10, 2015 at 23:52

2

Solved

The problem: I am setting up TeamCity as a build server for an ASP.NET MVC project. I am using Powershell with psake to run msbuild against our .csproj file and create a deployable package. From th...
Fleurdelis asked 28/10, 2011 at 17:28

0

I would like to use the Verbose preference ($VerbosePreference) inside my build script. I'm using the Chocolatey version of psake (so calling the batch file) and I cannot get it to work well at all...
Complainant asked 11/5, 2017 at 1:37

2

Solved

I can type Update-Database, Enable-Migrations etc, from Package Manager Console and it works fine. If I need to do the same from a regular powershell session, or in a psake build file, then how d...

1

Using psake 4.5.0 I've tried to run my default.ps1 file many different ways, passing both -properties and -parameters, but those values are just ignored in the root-scope of the .ps1-script. Execu...
Spool asked 9/2, 2016 at 12:17

2

Solved

I recently updated to Visual Studio 2015 and am using the new C# 6.0 features. In VS, everything builds correctly. However, I use PSake as build script language, and the build always fails at pla...
Essequibo asked 8/10, 2015 at 11:34

5

I'm trying to set up TeamCity to build my project, but my psake buildscript fails, with the reason being narrowed down to its inability to find the git executable, which is supposed to be on the pa...

3

Solved

NOTE: I'm using PowerShell 2.0 on Windows Vista. I'm trying to add support for specifying build arguments to psake, but I've run into some strange PowerShell variable scoping behavior dealing spe...
Nudi asked 3/2, 2010 at 16:15

3

Solved

I'm investigating build tools for use with an ASP.NET MVC 2 application. I like the idea of using a scripting language rather than XML, and have narrowed my choices down to psake or rake. I don't h...
Upperclassman asked 5/10, 2010 at 19:34

1

Solved

I have the following psake script properties { $ApplicationName = "test" $ApplicationPath = "c:\this\is\$ApplicationName" } Task test { "ApplicationName = $ApplicationName" "ApplicationPath =...
Vermouth asked 13/3, 2014 at 14:0

1

Solved

I want to use PowerShell with Psake and TeamCity to configure my CI. I used to standard Msbuild runner but now I wrote my own script for building solution but I have problem when msbuild failed. ...
Bishop asked 10/5, 2013 at 8:32

2

Solved

While making a build automation I came across an issue. Along with upgrading Visual Studio 2013, the path to MSBuild has moved as described here http://timrayburn.net/blog/visual-studio-2013-and-ms...
Eccentricity asked 8/1, 2014 at 15:27

3

Solved

I obviously don't know what I'm doing. I have finally got this PowerShell command to work. But I can't figure out why it works. My concern is the final "" characters: &"C:\Program Files\IIS...
Honeysuckle asked 8/10, 2010 at 11:53

1

Solved

Robocopy will exit with a code above 0 and still possibly not be a failure. PSake detects anything above 0 as a failure and fails the build. This is fine, but how come this still fails: task Deplo...
Cooks asked 14/5, 2013 at 1:41

7

Using Powershell and Psake to create package and deployment for a visual studio solution. Trying to deploy a database project using msbuild - which is working correctly using msdos visual studio c...
Peer asked 3/6, 2011 at 8:17

1

Solved

I can't seem to call this executable correctly in my psake deploy script. If I do this: exec { "$ArchiverOutputDir\NServiceBus.Host.exe /install" } It simply outputs this (and is clearly not ca...
Teage asked 19/12, 2012 at 23:1

3

Traditionally, nunit-console.exe has been included in the repository and on the build server (or any other machine) this EXE was called from some build script. Now that the NUnit.Runners package i...
Bewilderment asked 28/2, 2012 at 16:37

1

Related question here. This works properly for compiling an mvc3 application. task Compile { $config = $script:siteConfig.config exec { & "C:\Windows\Microsoft.NET\Framework\v4.0.30319\ms...
Meson asked 18/4, 2012 at 16:47

3

Solved

Is there a way to publish asp.net web application using PSAKE, just like visual studio do?
Bermejo asked 22/1, 2011 at 13:52

2

Solved

I've got a default.ps1 file with several tasks, some of which I don't use all too often. Instead of opening the file and grep'ing for the Tasks, is there a way to list them in the command line? Id...
Grandee asked 14/3, 2011 at 14:4

2

Solved

What I want is a one file I can double-click that will run the required build process using psake. I'm new to psake and PowerShell so be gentle :-). What I have now are 3 files: File 1: Build.ba...
Tarrsus asked 8/12, 2009 at 8:28

2

Solved

After writing deployment scripts from within the ISE, we need our continuous integration (CI) server to be able to run them automatically, i.e. from the command line or via a batch file. I have no...
Manama asked 24/5, 2010 at 3:48

2

I recently discovered Powershell and through that PSake. If you are using it and you've extended it or created tasks for it, please share!
Wentz asked 20/11, 2008 at 10:37

3

Solved

I would like to inject command line parameters into my psake build script like: .\build.ps1 Deploy environment="development" But psake will treat every argument as a Task and will answer "task do...
Onia asked 5/2, 2010 at 16:14

1

Solved

Does anybody know or have a link to how I set up psake to run through powershell? I have absolutely no idea and I can find nothing to tell me.
Grammatical asked 24/10, 2009 at 19:56

© 2022 - 2024 — McMap. All rights reserved.