# Easy way to set vdproj properties?

**URL:** https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091
**Category:** Discussion
**Created:** [January 27, 2009, 11:45am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091 "2009-01-27T11:45:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 27, 2009, 11:45am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/1 "2009-01-27T11:45:44Z")

</div>

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...

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 28, 2009, 1:15am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/2 "2009-01-28T01:15:31Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 28, 2009, 12:06pm UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/3 "2009-01-28T12:06:49Z")

</div>

Thanks, that’s the way to go then.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 29, 2009, 12:02pm UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/4 "2009-01-29T12:02:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 29, 2009, 12:54pm UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/5 "2009-01-29T12:54:58Z")

</div>

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](http://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

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 29, 2009, 1:16am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/6 "2009-01-29T01:16:22Z")

</div>

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

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 29, 2009, 3:31am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/7 "2009-01-29T03:31:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 30, 2009, 11:46am UTC](https://www.finalbuilder.com/forums/t/easy-way-to-set-vdproj-properties/1091/8 "2009-01-30T11:46:06Z")

</div>

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