I have the following path to my asp.net (with mvc) project:
D:\testAppMvc\testAppMvc.sln
I have installed msdeploy
from here (no settings were made).
In Visual Studio 2010, right click on project-> Build Deployment package
. Until now is ok.
If I open the ZIP package I see the strange path to my project necessary files for IIS.
\Content\D_C\testAppMvc\obj\Debug\Package\PackageTmp\
Are there any way to change that path for deploy source files or it is unchangeable ?
I think you need to set this in your project file:
<!-- Must be after Microsoft.WebApplication.targets import -->
<PropertyGroup>
<_PackageTempDir>C:\Package</_PackageTempDir>
</PropertyGroup>