-
Notifications
You must be signed in to change notification settings - Fork 201
Conversation
@@ -1,8 +0,0 @@ | |||
{ | |||
"projects": [ | |||
"src" |
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.
Unrelated to this PR, is there an equivalent replacement for the global.json hack now to compile a custom repo?
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.
Not automagically. You have to manually change 'PackageReference' <=> 'ProjectReference'. But the auto project/package interchangability feature is being discussed: dotnet/project-system#199
public void GeneratesAssemblyAttributeFile() | ||
{ | ||
if (_solutionRoot == null) | ||
{ | ||
Assert.True(false, "Could not identify solution root"); | ||
} | ||
var target = Path.Combine(_solutionRoot.FullName, "src", "Microsoft.Extensions.Configuration.UserSecrets", "build", "netstandard1.0", "Microsoft.Extensions.Configuration.UserSecrets.targets"); | ||
Directory.CreateDirectory(Path.Combine(_tempDir, "obj")); | ||
File.Copy(target, Path.Combine(_tempDir, "obj", "test.csproj.usersecretstest.targets")); // imitates how NuGet will import thsi target |
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.
typo on thsi 😄
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.
cc @divega @HaoK @Eilon