Deploy more than one WP7 application with the same Visual Studio solution?

How can I deploy more than one WP7 application with the same Visual Studio solution? What do I need to change to achieve this? Changing the Xap file name and assembly GUID and header does not achieve this. In fact, VS overrides the old one with a new header, but does not deploy a separate application

Background: we have the Lite and Pro application, and I want to be able to deploy both versions on the phone.

EDIT:

Trial API is not an option for us. We thought about it, but decided not to use it.

+5
source share
5 answers

, . (WMAppManifest.xml, SplashScreenImage.jpg) .

:

echo "$(ConfigurationName)"

if "$(ConfigurationName)" == "Lite" goto :copyLite
if "$(ConfigurationName)" == "PRO" goto :copyPro

echo "Unknown Configuration"
goto :end

:copyLite
echo "copy lite"
  copy "$(ProjectDir)Resources\PreBuildEvent\Lite\WMAppManifest.xml" "$(ProjectDir)\Properties\" /y
  copy "$(ProjectDir)SplashScreenImageLite.jpg" "$(ProjectDir)SplashScreenImage.jpg" /y
goto :end

:copyPro
echo "copy pro"
  copy "$(ProjectDir)Resources\PreBuildEvent\Pro\WMAppManifest.xml" "$(ProjectDir)\Properties\" /y
  copy "$(ProjectDir)SplashScreenImagePro.jpg" "$(ProjectDir)SplashScreenImage.jpg" /y

goto :end

:end
+5

Trial API. WP7 , . , , . . , . "".

+1

XAP , TitleID ProductID GUID Properties/WMAppManifest.xml, , , - , ""

+1

, , , .

, , . , .

0

You can choose to deploy the entire solution or just the current launch project in the Build menu. If they are not part of the same solution, then no, you cannot do this. But you can write a command line script that uses the deployment tool, perhaps?

0
source

All Articles