I am trying to deploy via Hudson and there,
I have a solution file which has two web projects. Each web project has a publish profile of the same name.
It seems only the first web project built is taking the publish profile and the second one is not considering the publish profile.
My msbuild command
/p:Configuration=Release /t:Rebuild /p:PublishProfile=Normal /p:DeployOnBuild=true
and my second publish profile has
<PrecompileBeforePublish>True</PrecompileBeforePublish> <EnableUpdateable>True</EnableUpdateable><DebugSymbols>False</DebugSymbols><WDPMergeOption>CreateSeparateAssembly</WDPMergeOption> <UseFixedNames>True</UseFixedNames>
But the aspnet compiler is not getting passed with these options when I look at the logs for the second web site.
From the logs, I can see that first web project has
Validating PublishProfile(Normal) settings ,and the second project doesn't have that.
This is a mixed solution file which has the C# web project and VB.net Website.
Basically what I want is the two sites taking different publish profiles and currently it seems only the first one is taking that and my second website project is not getting the publish profile.
If I run this using VS2013, the websites are published properly.