Newbie Compiling .net solution

Hallo,

I'm very new with FinalBuilder and I've searched for a solution for my problem in this forum, but I can't find, so here my problem:

I compile a Visual Studio .NET 2008 Solution with five different configurations, this works fine.

The Problem: The GUI Project in this solution should change its assembly name each time, I compile it.

So for example, if I compile the solution with configuration "A", the assembly name of the project should be "MyProgramA", and if I compile the solution with confiration "B", the assembly name of the project shoul be "MyProgramB", and also, assemblies A and B should get different program icons.

I found, that this information is located in the "xxx.vbproj"-file.

Is there a easy way to do this? Or do I have to use the edit xml-function? I've tried this, but have problems building the XPath to the information, I want to change.

Thanks for your support!

Benjamin

Hi Benjamin,

Yep, you'll need to use the Edit XML action to edit the VDProj file. The XPath will be '/n:​project/n:​propertyGroup​[​1​]/n:​AssemblyName' and you'll need to enable 'Automatically use namespace prefixes declared in the document root node' and set the 'Identifier prefix for default namespace' to 'n'.

I've attached a sample project which does exactly this, let me know if you need any further help.

Regards,

Paul.

 

XmlEditProject.fbz6 (1.794 KB)

Hi,

thanks, this works fine!

Regards,
Benjamin