We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c0d5a commit 48c83e2Copy full SHA for 48c83e2
BuildAndPack.ps1
@@ -31,7 +31,7 @@ if(-not $GitCommitId)
31
$solutionDir = "$((Resolve-Path .).Path)\"
32
$defaultArgs = "/v:n", "/nologo",
33
"/p:SolutionDir=$solutionDir",
34
- "/p:RepositoryCommit=$GitCommitId"
+ "/p:RepositoryCommit=$GitCommitId",
35
"/p:Version=$version",
36
"/p:Configuration=Release",
37
"/p:SEPrecompilerPath=$solutionDir\StackExchange.Precompilation.Build\bin\Release\net462"
@@ -45,4 +45,11 @@ if ($MsBuildArgs)
45
if ($LastExitCode -ne 0)
46
{
47
throw "MSBuild failed"
48
-}
+}
49
+
50
+.\Test.ConsoleApp\bin\Release\net462\Test.ConsoleApp.exe
51
52
+if ($LastExitCode -ne 0)
53
+{
54
+ throw "Test.ConsoleApp failed to run"
55
0 commit comments