-
Notifications
You must be signed in to change notification settings - Fork 191
Conversation
<PackageReference Include="System.Text.Encodings.Web" Version="4.4.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' "> | ||
<Reference Include="System.Globalization" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the a PackageReference we can use for this instead? cref https://github.com/aspnet/Coherence-Signed/issues/400
<PackageReference Include="System.Buffers" Version="4.4.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="Properties\" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: not required, can remove
<PackageReference Include="System.Security.Principal" Version="4.4.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' "> | ||
<Reference Include="System" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant. Can be removed.
<PackageTags>aspnetcore</PackageTags> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Folder Include="Properties\" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diddo.
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Http.Extensions\Microsoft.AspNetCore.Http.Extensions.csproj" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-*" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.2.0-*" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit sort
@@ -35,7 +35,7 @@ public void AllowsCreatingContextWithoutSettingAccessor() | |||
var context = contextFactory.Create(new FeatureCollection()); | |||
contextFactory.Dispose(context); | |||
} | |||
|
|||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try this:
var setupInfo = new AppDomainSetup
{
ApplicationBase = AppDomain.CurrentDomain.BaseDirectory
};
var newDomain = AppDomain.CreateDomain("new", null, setupInfo);
9675657
to
7e499be
Compare
<PackageReference Include="Microsoft.Extensions.TaskCache.Sources" Version="1.2.0-*" PrivateAssets="All" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="Properties\" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
7e499be
to
63fa2b5
Compare
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="1.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? VS keeps adding it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably like the tabs vs spaces argument. I originally started condensing these, but now I think it's cleaner to keep package and project references in separate blocks. Plus, VS works better with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..and I now realize from context, that @CesarBS is probably talking about the Service item. You can add for now, but by RTM they will remove the need for this. Keep or leave it, I don't care.
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="xunit" Version="2.2.0-*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Http\Microsoft.AspNetCore.Http.csproj" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-*" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-*" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="1.2.0-*" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit sort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming tests pass,
63fa2b5
to
96f33b2
Compare
I disabled one AppDomain test I couldn't figure out. I'll file a bug for followup.