fix pubblicazione + config x deploy...
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,8 +2,7 @@
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'IIS02|AnyCPU' ">
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>
|
||||
</DefineConstants>
|
||||
<DefineConstants></DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -116,8 +115,7 @@
|
||||
<RootNamespace>GIM_site</RootNamespace>
|
||||
<AssemblyName>GIM_site</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<FileUpgradeFlags></FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<UseIISExpress>false</UseIISExpress>
|
||||
@@ -145,8 +143,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>
|
||||
</DefineConstants>
|
||||
<DefineConstants></DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
@@ -875,6 +872,9 @@
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Web.IIS01.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
<None Include="Web.IIS02.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
@@ -1965,8 +1965,7 @@
|
||||
<IISUrl>http://localhost/GIM_site</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
</CustomServerUrl>
|
||||
<CustomServerUrl></CustomServerUrl>
|
||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||
</WebProjectProperties>
|
||||
</FlavorProperties>
|
||||
@@ -1975,4 +1974,9 @@
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
|
||||
<Target Name="AfterBuild" Condition="Exists('Web.$(Configuration).config')">
|
||||
<!--Generate transformed config in the output directory-->
|
||||
<TransformXml Source="Web.config" Destination="$(OutputPath)Web.config" Transform="Web.$(Configuration).config" />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -28,7 +28,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
<ObjectGroup Name="GIM_Data.Properties.Settings.GIMConnectionString" Order="2" Enabled="True">
|
||||
@@ -38,7 +38,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIM_Data.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
|
||||
@@ -6,7 +6,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<WebPublishMethod>MSDeploy</WebPublishMethod>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
<LastUsedBuildConfiguration>IIS01</LastUsedBuildConfiguration>
|
||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
@@ -17,7 +17,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
|
||||
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
|
||||
<EnableMSDeployBackup>False</EnableMSDeployBackup>
|
||||
<UserName>steamw\Administrator</UserName>
|
||||
<UserName>jenkins</UserName>
|
||||
<_SavePWD>True</_SavePWD>
|
||||
<PublishDatabaseSettings>
|
||||
<Objects xmlns="">
|
||||
@@ -28,7 +28,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIM_Data.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
<ObjectGroup Name="GIMConnectionString" Order="2" Enabled="False">
|
||||
@@ -38,7 +38,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
|
||||
@@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7gr2JUxpGk+kgETgdPCX3gAAAAACAAAAAAADZgAAwAAAABAAAADZSomcrONN6+jHdzQc4zB9AAAAAASAAACgAAAAEAAAAHw3DnMCRFgb4/3Y5A2HxSoYAAAASzca8CmPo1Q1AD/ij7JBzSBLd3/JjIImFAAAADwpOmjB0vsB0MfV8kQ9Fe0bwkRM</EncryptedPassword>
|
||||
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAARdW8JTnOyE+iTw0spIHxLQAAAAACAAAAAAADZgAAwAAAABAAAABaR80fhZHM1datB660Ll98AAAAAASAAACgAAAAEAAAAH57ibSCrPvYq9cGHOacdlYYAAAAeW5MmFjkYNlj/Tt7aLRJOn8CtPen5/qWFAAAADOOXDARsfB36mjutJ1UWgGd5WTC</EncryptedPassword>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -6,7 +6,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<WebPublishMethod>MSDeploy</WebPublishMethod>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
<LastUsedBuildConfiguration>IIS02</LastUsedBuildConfiguration>
|
||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
@@ -17,7 +17,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
|
||||
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
|
||||
<EnableMSDeployBackup>False</EnableMSDeployBackup>
|
||||
<UserName>steamw\Administrator</UserName>
|
||||
<UserName>jenkins</UserName>
|
||||
<_SavePWD>True</_SavePWD>
|
||||
<PublishDatabaseSettings>
|
||||
<Objects xmlns="">
|
||||
@@ -28,7 +28,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIM_Data.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
<ObjectGroup Name="GIMConnectionString" Order="2" Enabled="False">
|
||||
@@ -38,7 +38,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
|
||||
@@ -6,6 +6,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7gr2JUxpGk+kgETgdPCX3gAAAAACAAAAAAADZgAAwAAAABAAAADZSomcrONN6+jHdzQc4zB9AAAAAASAAACgAAAAEAAAAHw3DnMCRFgb4/3Y5A2HxSoYAAAASzca8CmPo1Q1AD/ij7JBzSBLd3/JjIImFAAAADwpOmjB0vsB0MfV8kQ9Fe0bwkRM</EncryptedPassword>
|
||||
<EncryptedPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAARdW8JTnOyE+iTw0spIHxLQAAAAACAAAAAAADZgAAwAAAABAAAADTrusQJlL40wKxJn9jjG6VAAAAAASAAACgAAAAEAAAAImYRxtHx6O08XOw/SKa1JMYAAAAj94RfTG6Z4ZnkEAgUbtpPADIKSoHWDS+FAAAAGwhj/2nXSuvF5b8C48rys0vbLFl</EncryptedPassword>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
|
||||
<add key="PermessiConnectionString" value="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="AppConnectionString" value="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="TestAppConnectionString" value="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod_test;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="stampanteRichiesteMtz" value="null" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GIMConnectionString" connectionString="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=Win2012-SQL;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
|
||||
</connectionStrings>
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
<!--
|
||||
In the example below, the "Replace" transform will replace the entire
|
||||
<customErrors> section of your web.config file.
|
||||
Note that because there is only one customErrors section under the
|
||||
<system.web> node, there is no need to use the "xdt:Locator" attribute.
|
||||
|
||||
<customErrors defaultRedirect="GenericError.htm"
|
||||
mode="RemoteOnly" xdt:Transform="Replace">
|
||||
<error statusCode="500" redirect="InternalError.htm"/>
|
||||
</customErrors>
|
||||
-->
|
||||
</system.web>
|
||||
</configuration>
|
||||
+7
-7
@@ -133,11 +133,11 @@
|
||||
<!--gestione reports!-->
|
||||
<add key="ReportBasePath" value=".\bin\Reports" />
|
||||
<!--stringhe connessione-->
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
|
||||
<add key="AppConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
|
||||
<add key="TestAppConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer;" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer;" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer;" />
|
||||
<add key="AppConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer;" />
|
||||
<add key="TestAppConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer;" />
|
||||
<!--valori default-->
|
||||
<add key="defaultMatr" value="0000" />
|
||||
<add key="defaultCodImp" value="0000" />
|
||||
@@ -202,8 +202,8 @@
|
||||
<add key="appAdminEmail" value="marco.previtali@somaschini.com" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GIMConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
<add name="GIMConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" providerName="System.Data.SqlClient" />
|
||||
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user