Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Correct targets in IISIntegration.sln and remove TestSites workaround #334

Closed
wants to merge 2 commits into from

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Mar 12, 2017

nit: sort dependencies

- not clear either change will clean up CI failures on Win7 and Win2008 but can't hurt
  - don't see other likely suspects
- dotnet/sdk#396 has been fixed; web sites target x86 automatically

nit: sort dependencies
@dougbu
Copy link
Contributor Author

dougbu commented Mar 12, 2017

Small follow-up to your build changes @natemcmaster

  • functional tests currently all fail with BadImageFormatExceptions on Win7 and Win Srv 2008R2

@Tratcher
Copy link
Member

On Win8+ we test the bin deployed ANCM. On Win7 we test the installed ANCM.

@dougbu
Copy link
Contributor Author

dougbu commented Mar 13, 2017

@Tratcher will this change help the CI failures? Worthwhile cleanup either way. But, we need to get past this point in the test runs.

@Tratcher
Copy link
Member

No idea

{E4E2BDC4-A9C6-4AE9-B429-032EC83EDE64}.Debug|x64.Build.0 = Debug|x64
{E4E2BDC4-A9C6-4AE9-B429-032EC83EDE64}.Debug|x86.ActiveCfg = Debug|x86
{E4E2BDC4-A9C6-4AE9-B429-032EC83EDE64}.Debug|x86.Build.0 = Debug|x86
{E4E2BDC4-A9C6-4AE9-B429-032EC83EDE64}.Debug|x64.ActiveCfg = Debug|Any CPU
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you undo this change? Mixing x64 and AnyCPU configurations in the solution file may lead to build/test errors.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VS did this. Also this change /removes/ x64 by mapping it to AnyCPU.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the new project system in VS is super buggy when it comes to solution configurations. They're working on a fixing it in the next update. dotnet/project-system#694

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked offline and I'm removing the x64 / x86 configurations from the solution. Testing now.


<Import Project="..\..\build\common.props" />

<PropertyGroup>
<TargetFrameworks>netcoreapp1.1;net452</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp1.1</TargetFrameworks>
<RuntimeIdentifiers>win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;osx.10.12-x64;ubuntu.14.04-x64;ubuntu.15.04-x64</RuntimeIdentifiers>
<!-- TODO remove when https://github.com/dotnet/sdk/issues/396 is resolved -->
<RuntimeIdentifier Condition=" '$(TargetFramework)' != 'netcoreapp1.1' ">win7-x64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you can also remove OutputType. It is the default for Microsoft.NET.Sdk.Web projects.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@dougbu
Copy link
Contributor Author

dougbu commented Mar 13, 2017

🆙📅

@dougbu
Copy link
Contributor Author

dougbu commented Mar 13, 2017

e367579

@dougbu dougbu closed this Mar 13, 2017
@dougbu dougbu deleted the dougbu/correct.sln branch March 13, 2017 19:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants