SmartAssembly Consol

59 Views Asked by At

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.

1

There are 1 best solutions below

0
Dafna On

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