diff --git a/IISCrossover.Deploy.targets b/IISCrossover.Deploy.targets new file mode 100644 index 0000000..d575380 --- /dev/null +++ b/IISCrossover.Deploy.targets @@ -0,0 +1,103 @@ + + + true + + + + + false + _DeployedProjectOutput + Never + true + $([System.IO.Path]::GetFileNameWithoutExtension(%(Identity))) + false + + + + + + <_IsInvalidValidDeployProjects>false + <_HasDeployProject>true + <_HasDeployProject Condition=" '@(DeployProjectReference->Count())' == '0' " >false + <_HasOneDeployProject>false + <_HasOneDeployProject Condition=" '@(DeployProjectReference->Count())' == '1' " >true + <_IsInvalidValidDeployProjects Condition="!$(_HasDeployProject) AND !$(_HasOneDeployProject)">true + + + + + + + + <_DeployedProjectOutput Update="@(_DeployedProjectOutput)"> + projects\%(_DeployedProjectOutput.DeployName)\$([System.IO.Path]::GetFileName('%(Identity)')) + + + + + + + + + + <_AllDeployedProjectFilesContent Include="@(_DeployedProjectsContents)"> + projects\%(_DeployedProjectsContents.DeployName)\%(_DeployedProjectsContents.TargetPath) + + <_AllDeployedProjectFilesContent Include="@(_DeployedProjectOutput)" /> + + PreserveNewest + + + + + + + <__DeployedProjectTransformPath>$(IntermediateOutputPath)deployed_transform.xml + <__WebConfigPath>web.config + <__IsPublishing>false + <__IsPublishing Condition=" '$(PublishProfile)' != '' ">true + + + + <_DeployProjectPaths Include="$(OutDir)%(_DeployedProjectOutput.TargetPath)"> + %(_DeployedProjectOutput.HostingModel) + $([System.IO.Path]::GetDirectoryName(%(_DeployedProjectOutput.OriginalItemSpec))) + $([System.IO.Path]::GetDirectoryName(%(_DeployedProjectOutput.TargetPath))) + + <_DeployProjectPaths Condition="$(__IsPublishing)" Update="@(_DeployProjectPaths)"> + %(TargetDirectory) + + <_DeployProjectPaths Update="@(_DeployedProjectOutput)" Condition=" '%(HostingModel)' == '' "> + inprocess + + + + + + + + + <__DeployedProjectTransformLines Include='<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">' /> + <__DeployedProjectTransformLines Include="<system.webServer>" /> + + <__DeployedProjectTransformLines Include='<aspNetCore xdt:Transform="InsertIfMissing" />' /> + <__DeployedProjectTransformLines Include='<aspNetCore xdt:Transform="Remove" />' /> + <__DeployedProjectTransformLines Include='<aspNetCore processPath="dotnet" arguments="%(_DeployProjectPaths.Identity) --contentRoot %(_DeployProjectPaths.ContentRoot)" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="%(_DeployProjectPaths.HostingModel)" xdt:Transform="Insert" />' /> + <__DeployedProjectTransformLines Include="</system.webServer>" /> + <__DeployedProjectTransformLines Include="</configuration>" /> + + + + + + + + \ No newline at end of file diff --git a/LegacyApi/LegacyApi.csproj b/LegacyApi/LegacyApi.csproj index 1b14e14..a9f7497 100644 --- a/LegacyApi/LegacyApi.csproj +++ b/LegacyApi/LegacyApi.csproj @@ -43,6 +43,9 @@ prompt 4 + + + @@ -177,6 +180,8 @@ + + - - - - + + + + - - + + - - - - - - + + + + + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + +