0

Does any one know how to write this line in post build event

call "C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" "/build $(ProjectFolder)\($ProjectName).saproj" "/input=$(TargetPath) /output="%USERPROFILE%\AppData\Roaming\$(ProjectName).bundle\Contents\$(ConfigurationName)\$(TargetName)"

I keep Getting Exited with Code 1.

M.Khalil
  • 33
  • 2
  • 7

1 Answers1

0

Just add the following line in the Post build event:

"C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" /build "full_path.saproj"

We put the output and input already inside the saproj file and use no flags

I think the error is here:

"/build $(ProjectFolder)\($ProjectName).saproj"

should be:

/build "$(ProjectFolder)\($ProjectName).saproj"

Also - see this link from red gate web page

General Failure
  • 2,421
  • 4
  • 23
  • 49
Dafna
  • 181
  • 1
  • 2
  • 14