Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source files in Content should be marked Compile instead of None where relevant in project type #161

Closed
bartelink opened this issue Sep 24, 2014 · 3 comments

Comments

@bartelink
Copy link
Member

In converting hyprlinkr, There are a number of items in the Hyprlinkr.UnitTest.csproj project that are .cs files coming from netfx-reflector

The package is completely declarative - no .ps1 files etc.

image

install (with and without --hard) takes the input:

     <Compile Include="netfx\System\Reflection\Reflect.cs" />
     <Compile Include="netfx\System\Reflection\Reflect.Overloads.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Reflect.Overloads.tt</DependentUpon>
    </Compile>

And adds conflicting files at the end (but it leaves the existing ones, so it actually compiles):

  <ItemGroup>
    <Content Include="netfx\System\Reflection\Reflect.cs">
      <Paket>True</Paket>
    </Content>
    <Content Include="netfx\System\Reflection\Reflect.Overloads.tt">
      <Paket>True</Paket>
    </Content>
    <Content Include="netfx\System\Reflection\TargetFramework.ttinclude">
      <Paket>True</Paket>
    </Content>
  </ItemGroup>

Not pulling out a separate issue re .tt file handling as yet.

Simpler package to repro is a dependency of netfx-reflect: netfx-guard

dependencies

source http://nuget.org/api/v2

nuget AutoFixture 3.16.4
nuget AutoFixture.AutoMoq 3.16.4
nuget AutoFixture.Idioms 3.16.4
nuget AutoFixture.Xunit 3.16.4
nuget Microsoft.AspNet.Mvc != 4.0.20710.0
nuget Microsoft.AspNet.WebApi != 4.0.20710.0
nuget Moq 4.2.1312.1622
nuget netfx-Reflector 
nuget Newtonsoft.Json 5.0.8
nuget NuGet.CommandLine
nuget xunit 1.9.2
nuget xunit.runners 1.9.2
nuget Zero29
@forki
Copy link
Member

forki commented Sep 26, 2014

@theimowski can you please look into this?

@theimowski
Copy link
Member

Sure, but after the weekend - I'm on DevDay conference in Krakow ;)

@forki
Copy link
Member

forki commented Sep 26, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants