Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Upgrade to VS 2017 #577

Merged
merged 3 commits into from
Jan 5, 2017
Merged

Upgrade to VS 2017 #577

merged 3 commits into from
Jan 5, 2017

Conversation

natemcmaster
Copy link
Contributor

@@ -1,8 +0,0 @@
{
"projects": [
"src"
Copy link
Member

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?

Copy link
Contributor Author

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
Copy link

@divega divega Jan 5, 2017

Choose a reason for hiding this comment

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

typo on thsi 😄

Copy link

@divega divega left a comment

Choose a reason for hiding this comment

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

:shipit:

@natemcmaster natemcmaster merged commit 8f871c8 into dev Jan 5, 2017
@natemcmaster natemcmaster deleted the namc/vs2017 branch January 5, 2017 20:24
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