Skip to content

Commit

Permalink
Updated deploy scripts and downgraded framework
Browse files Browse the repository at this point in the history
  • Loading branch information
rtennys committed Apr 12, 2019
1 parent dbcf385 commit 75b4c48
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Momo.UI/Momo.UI.csproj
Expand Up @@ -14,7 +14,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Momo.UI</RootNamespace>
<AssemblyName>Momo.UI</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress>
<IISExpressSSLPort />
Expand Down
7 changes: 4 additions & 3 deletions Momo.UI/Web.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
Expand All @@ -24,8 +24,9 @@
<add key="FacebookAppSecret" value="-- set in final deployment --" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.7.2" />
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" />
<customErrors mode="Off" />
<authentication mode="Forms">
<forms loginUrl="~/account/login" defaultUrl="~/" timeout="50000000" />
</authentication>
Expand Down
2 changes: 1 addition & 1 deletion Momo/Momo.csproj
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Momo</RootNamespace>
<AssemblyName>Momo</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
Expand Down
4 changes: 3 additions & 1 deletion deploy.bat
@@ -1,3 +1,5 @@
"C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" deploy.proj /v:n
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" deploy.proj /v:n

@REM "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe" deploy.proj /v:n

@REM %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe deploy.proj /v:n
2 changes: 1 addition & 1 deletion deploy.proj
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Deploy" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Deploy" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$([System.IO.Path]::GetFullPath('.'))</SolutionDir>
Expand Down

0 comments on commit 75b4c48

Please sign in to comment.