Turns out it is MS-Dos. So most batch file kind of stuff is allowed.
Up vote 0 down vote favorite share g+ share fb share tw.
I have a post build event like this: if NOT "$(OutDir)" == "Binaries\" "$(SolutionDir)Tools\NuGet. Exe" pack "$(ProjectDir)MyAssembly. Nuspec" -BasePath "$(ProjectDir)$(OutDir).
" But what I really want to do is check to see if $(OutDir) Contains the word Binaries. Is there a way to do this? I tried: if NOT "$(OutDir)".
Contains("Binaries") "$(SolutionDir)Tools\NuGet. Exe" pack "$(ProjectDir)MyAssembly. Nuspec" -BasePath "$(ProjectDir)$(OutDir).
" But it does not work. So, as a bonus point, what language is the "Post-Build" event supposed to be? Visual-studio visual-studio-2010 msbuild postbuild-event link|improve this question asked Feb 3 at 19:23Vaccano8,99433118 75% accept rate.
Turns out it is MS-Dos. So most batch file kind of stuff is allowed. Here is the command I ended up using: @Echo off&Setlocal EnableDelayedExpansion set BinariesVar=Binaries set "PathDir=$(OutDir)" IF "!
PathDir:%BinariesVar%=! " NEQ "%PathDir%" (if $(ConfigurationName) == Release "$(SolutionDir)Tools\NuGet. Exe" pack "$(ProjectDir)MyAssembly.
Nuspec" -BasePath "$(OutDir). ") else (if $(ConfigurationName) == Release "$(SolutionDir)Tools\NuGet. Exe" pack "$(ProjectDir)MyAssembly.
Nuspec" -BasePath "$(ProjectDir)$(OutDir). ") This will use the first path is the build is not via TFS and the second path for TFS Builds.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.