Easy way to set vdproj properties?

Hi, I was wondering if there's an easy way to set vdproj project properties.

Since I cannot use msbuild for vdproj properties I figured I also cannot set the msbuild properties in FinalBuilder.

I can always do a string search and replace in the vdproj file for TargetPlatform, but maybe there's a cleaner way to do this.

Thanks, Jeffry

PS: BTW, the forum doesn't play well with Google Chrome...

Hi Jeffry,

> Since I cannot use msbuild for vdproj properties I figured I also cannot set the msbuild properties in FinalBuilder.

That is true, visual deployment projects cannot be built using MSBuild, they must be built by calling DevEnv.com. As far as I can tell, using a search & replace to update the TargetPlatform value would be the best solution, as the vdproj file format is in a proprietary format.

Regards,
Paul.

Thanks, that’s the way to go then.

So now I run into another strange problem. When I use the Text Find/Replace action on the vdproj file, the file loses its connection with Subversion. So instead of showing the red exclamation mark on the icon (what normally happens when you change a file) it shows the blue question mark, meaning that it’s not under source control.

In the Windows Explorer, the only Subversion action I can perform on the file it to add it to Subversion. Really strange!

After I made the text find/replace changes I need to revert the file back to the original form, but because Subversion doesn’t recognize it anymore, this fails.

Any ideas what might cause this? If I manually edit the file, it works as expected.

Thanks,
Jeffry

Hi Jeffry,

I’ve just tried it here and it works as expected (file is marked as modified), could you send in your FinalBuilder project so we can see which options you’re using and hopefully be able to reproduce it here. You can send it to support [at] finalbuilder.com if you’d prefer not to attach it to the public forum post.

Also, could you let us know which version of SVN, TortoiseSVN and FinalBuilder you’re using.

Regards,
Paul

Hi Paul,

These are the versions.

FinalBuilder: 6.2.0.1074
SVN: 1.5.0.31699
TortoiseSVN: 1.5.5.14361

I’ll send you the FinalBuilder project.

Thanks,
Jeffry

Hi Jeffry,

Make sure that the filename you’ve specified in the ‘Text Find/Replace’ action uses the same casing as the actual filename, otherwise the casing of the filename will change when the file is updated and SVN will consider it to be a new unversioned file.

Regards,
Paul.

Excellent, that fixed it! Just didn’t pay attention to the fact that Subversion is case sensitive…

Thanks,
Jeffry