While creating an installation package with a deployment project in VS2008, i would like to read a value from an XML file and set that value as ProductName
(The Xml file is included in the package).
Is it possible?
While creating an installation package with a deployment project in VS2008, i would like to read a value from an XML file and set that value as ProductName
(The Xml file is included in the package).
Is it possible?
Copyright © 2021 Jogjafile Inc.
.vdproj has internal non msbuild file format. To change ProductName property on the fly you should create custom build script It can be msbuild proj or any other script.
Product name in project must be as a marker to find and replace it for specified platform/configuration.
You can start from this and use MSBuild Community Tasks namely RegexReplace and XmlRead to implement it.