Merge branch 'rel/1.0.0' into add-rd
This commit is contained in:
commit
4bd8344da1
179 changed files with 2325 additions and 1113 deletions
17
Documentation/migration-issues.md
Normal file
17
Documentation/migration-issues.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
## Getting help on migration issues
|
||||
You're using the new .NET Core tools that are MSBuild-based. You took your project.json project and ran `dotnet migrate` or migrated from Visual Studio 2017...and you maybe ran into problems.
|
||||
|
||||
The best way to get help is to [file an issue](https://github.com/dotnet/cli/issues/new) on this repo and we will investigate and provide help and/or fixes as part of new CLI builds. Please make sure to read the instructions below and to **add the [MIGRATION] prefix to the issue title**.
|
||||
|
||||
### Filing an migration issue
|
||||
CLI is a very high-traffic repository in terms of issues. In order to be able to respond fast to migration issues, we need the issue to be formatted in a certain way:
|
||||
|
||||
* Add `[MIGRATION]:` prefix to the title of the issue.
|
||||
* Make sure that we can see your project.json
|
||||
* If you have a GH repo or this is an OSS project, share the URL to the repo.
|
||||
* Otherwise attach or paste the project.json contents into the issue.
|
||||
* Add all of the errors that any operation like `dotnet restore`, `dotnet build` or others reported. This will help us speedily triage where the potential problem will be.
|
||||
* Add output of `dotnet --info` to the issue so we know what build you are running.
|
||||
* Mention @blackdwarf and @livarcocc in the issue body.
|
||||
|
||||
From there on, we will start investigating the issue and respond.
|
|
@ -0,0 +1,16 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace TestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(TestLibrary.Helper.GetMessage());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestApp", "TestApp.xproj", "{0138CB8F-4AA9-4029-A21E-C07C30F425BA}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestLibrary", "..\TestLibrary\TestLibrary.csproj", "{DC0B35D0-8A36-4B52-8A11-B86739F055D2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DC0B35D0-8A36-4B52-8A11-B86739F055D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DC0B35D0-8A36-4B52-8A11-B86739F055D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DC0B35D0-8A36-4B52-8A11-B86739F055D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DC0B35D0-8A36-4B52-8A11-B86739F055D2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>0138cb8f-4aa9-4029-a21e-c07c30f425ba</ProjectGuid>
|
||||
<RootNamespace>TestAppWithContents</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\artifacts\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true,
|
||||
"preserveCompilationContext": true
|
||||
},
|
||||
"dependencies": {
|
||||
"TestLibrary": {
|
||||
"target": "project",
|
||||
"version": "1.0.0-*"
|
||||
},
|
||||
"Microsoft.NETCore.App": "1.0.1"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {}
|
||||
},
|
||||
"runtimes": {
|
||||
"win7-x64": {},
|
||||
"win7-x86": {},
|
||||
"osx.10.10-x64": {},
|
||||
"osx.10.11-x64": {},
|
||||
"ubuntu.14.04-x64": {},
|
||||
"ubuntu.16.04-x64": {},
|
||||
"centos.7-x64": {},
|
||||
"rhel.7.2-x64": {},
|
||||
"debian.8-x64": {},
|
||||
"fedora.23-x64": {},
|
||||
"opensuse.13.2-x64": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace TestLibrary
|
||||
{
|
||||
public static class Helper
|
||||
{
|
||||
public static string GetMessage()
|
||||
{
|
||||
return "This string came from the test library!";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard1.5</TargetFramework>
|
||||
<AssemblyName>TestLibrary</AssemblyName>
|
||||
<PackageId>TestLibrary</PackageId>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NETStandard.Library" Version="1.6.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>dc0b35d0-8a36-4b52-8a11-b86739f055d2</ProjectGuid>
|
||||
<RootNamespace>TestAppWithContents</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\artifacts\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "1.6.0"
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard1.5": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace App.Tests
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"imports": [
|
||||
"portable-net451+win8"
|
||||
],
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0",
|
||||
"type": "platform"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace TestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello world");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestApp", "TestApp.xproj", "{0138CB8F-4AA9-4029-A21E-C07C30F425BA}"
|
||||
EndProject
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>0138cb8f-4aa9-4029-a21e-c07c30f425ba</ProjectGuid>
|
||||
<RootNamespace>TestAppWithContents</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\artifacts\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true,
|
||||
"preserveCompilationContext": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": "1.0.1"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {}
|
||||
},
|
||||
"runtimes": {
|
||||
"win7-x64": {},
|
||||
"win7-x86": {},
|
||||
"osx.10.10-x64": {},
|
||||
"osx.10.11-x64": {},
|
||||
"ubuntu.14.04-x64": {},
|
||||
"ubuntu.16.04-x64": {},
|
||||
"centos.7-x64": {},
|
||||
"rhel.7.2-x64": {},
|
||||
"debian.8-x64": {},
|
||||
"fedora.23-x64": {},
|
||||
"opensuse.13.2-x64": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace TestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello world");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15 Custom
|
||||
VisualStudioVersion = 15.9.12345.4
|
||||
MinimumVisualStudioVersion = 10.9.1234.5
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestApp", "TestApp.xproj", "{0138CB8F-4AA9-4029-A21E-C07C30F425BA}"
|
||||
EndProject
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>0138cb8f-4aa9-4029-a21e-c07c30f425ba</ProjectGuid>
|
||||
<RootNamespace>TestAppWithContents</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\artifacts\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true,
|
||||
"preserveCompilationContext": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": "1.0.1"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {}
|
||||
},
|
||||
"runtimes": {
|
||||
"win7-x64": {},
|
||||
"win7-x86": {},
|
||||
"osx.10.10-x64": {},
|
||||
"osx.10.11-x64": {},
|
||||
"ubuntu.14.04-x64": {},
|
||||
"ubuntu.16.04-x64": {},
|
||||
"centos.7-x64": {},
|
||||
"rhel.7.2-x64": {},
|
||||
"debian.8-x64": {},
|
||||
"fedora.23-x64": {},
|
||||
"opensuse.13.2-x64": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace TestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello world");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 16
|
||||
VisualStudioVersion = 14.0.unknown.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TestApp", "TestApp.xproj", "{0138CB8F-4AA9-4029-A21E-C07C30F425BA}"
|
||||
EndProject
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0138CB8F-4AA9-4029-A21E-C07C30F425BA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>0138cb8f-4aa9-4029-a21e-c07c30f425ba</ProjectGuid>
|
||||
<RootNamespace>TestAppWithContents</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\artifacts\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true,
|
||||
"preserveCompilationContext": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": "1.0.1"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {}
|
||||
},
|
||||
"runtimes": {
|
||||
"win7-x64": {},
|
||||
"win7-x86": {},
|
||||
"osx.10.10-x64": {},
|
||||
"osx.10.11-x64": {},
|
||||
"ubuntu.14.04-x64": {},
|
||||
"ubuntu.16.04-x64": {},
|
||||
"centos.7-x64": {},
|
||||
"rhel.7.2-x64": {},
|
||||
"debian.8-x64": {},
|
||||
"fedora.23-x64": {},
|
||||
"opensuse.13.2-x64": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace App.Tests
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World from Test asset!");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"imports": [
|
||||
"portable-net451+win8"
|
||||
],
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0",
|
||||
"type": "platform"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"projects": [
|
||||
"src",
|
||||
"test"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"frameworks": {
|
||||
"net40": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Configuration": "4.0.0.0",
|
||||
"System.Data": "4.0.0.0",
|
||||
"System.Data.Linq": "4.0.0.0",
|
||||
"System.Xml": "4.0.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"EntityFramework": "6.1.3",
|
||||
"Microsoft.SqlServer.Types": "11.0.2"
|
||||
}
|
||||
},
|
||||
"net45": {
|
||||
"buildOptions": {
|
||||
"define": [ "ASYNC" ]
|
||||
},
|
||||
"frameworkAssemblies": {
|
||||
"System.Configuration": "4.0.0.0",
|
||||
"System.Data": "4.0.0.0",
|
||||
"System.Data.Linq": "4.0.0.0",
|
||||
"System.Xml": "4.0.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"EntityFramework": "6.1.3",
|
||||
"Microsoft.SqlServer.Types": "11.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace App.Tests
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"imports": [
|
||||
"portable-net451+win8",
|
||||
"dnxcore50"
|
||||
],
|
||||
"buildOptions": {
|
||||
"define": [ "ASYNC", "COREFX", "XUNIT2", "SQLITE" ]
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0",
|
||||
"type": "platform"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,12 +5,6 @@
|
|||
<RuntimeIdentifiers>win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.App">
|
||||
<Version>1.0.3</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<DotNetCliToolReference Include="dotnet-portable">
|
||||
<Version>1.0.0</Version>
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26006.2
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App", "src\App\App.csproj", "{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{72BFCA87-B033-4721-8712-4D12166B4A39}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|x64.Build.0 = Debug|x64
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Debug|x86.Build.0 = Debug|x86
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|x64.ActiveCfg = Release|x64
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|x64.Build.0 = Release|x64
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|x86.ActiveCfg = Release|x86
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{DDF3765C-59FB-4AA6-BE83-779ED13AA64A} = {72BFCA87-B033-4721-8712-4D12166B4A39}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,15 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp1.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\src\Lib\Lib.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.App" Version="1.0.3" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,10 @@
|
|||
using System;
|
||||
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello from the main app");
|
||||
Console.WriteLine(Lib.Library.GetMessage());
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard1.4</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NETStandard.Library" Version="1.6" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace Lib
|
||||
{
|
||||
public class Library
|
||||
{
|
||||
public static string GetMessage()
|
||||
{
|
||||
return "Message from Lib";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<CLI_MSBuild_Version>15.1.0-preview-000522-02</CLI_MSBuild_Version>
|
||||
<CLI_MSBuild_Version>15.1.0-preview-000523-01</CLI_MSBuild_Version>
|
||||
<CLI_Roslyn_Version>2.0.0-rc3-61212-03</CLI_Roslyn_Version>
|
||||
<CLI_NETSDK_Version>1.0.0-alpha-20170111-1</CLI_NETSDK_Version>
|
||||
<CLI_NETSDK_Version>1.0.0-alpha-20170117-4</CLI_NETSDK_Version>
|
||||
<CLI_NuGet_Version>4.0.0-rc3</CLI_NuGet_Version>
|
||||
<CLI_WEBSDK_Version>1.0.0-alpha-20170106-1-203</CLI_WEBSDK_Version>
|
||||
<CLI_WEBSDK_Version>1.0.0-alpha-20170114-1-223</CLI_WEBSDK_Version>
|
||||
<CLI_TestPlatform_Version>15.0.0-preview-20170106-08</CLI_TestPlatform_Version>
|
||||
<TemplateEngineVersion>1.0.0-beta1-20170108-83</TemplateEngineVersion>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -86,40 +86,14 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="RestoreTests"
|
||||
DependsOnTargets="CreateTestAssetPackageNuPkgs;
|
||||
CleanTestProjectsBinObj;
|
||||
SetupRestoreTestsInputs;"
|
||||
Inputs="@(RestoreTestsInputs)"
|
||||
Outputs="@(RestoreTestsInputs->'%(RelativeDir)/obj/project.assets.json');@(RestoreTestsInputs->'%(RelativeDir)/obj/%(Filename).csproj.nuget.g.props');@(RestoreTestsInputs->'%(RelativeDir)/obj/%(Filename).csproj.nuget.g.targets')">
|
||||
DependsOnTargets="CreateTestAssetPackageNuPkgs;">
|
||||
<CallTarget Targets="CleanTestProjectsLockFiles"/>
|
||||
|
||||
<DotNetRestore ToolPath="$(Stage0Directory)"
|
||||
ProjectPath=""%(RestoreTestsInputs.FullPath)"" />
|
||||
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
||||
</Target>
|
||||
|
||||
<Target Name="CleanTestProjectsBinObj"
|
||||
DependsOnTargets="SetupRestoreTestsInputs;">
|
||||
<ItemGroup>
|
||||
<FilesToDelete Include="$(TestDirectory)**/bin/**/project.assets.json;$(TestDirectory)**/bin/**/*.csproj.nuget.g.props;$(TestDirectory)**/bin/**/*.csproj.nuget.g.targets" />
|
||||
<FilesToDelete Include="$(TestDirectory)**/obj/**/project.assets.json;$(TestDirectory)**/obj/**/*.csproj.nuget.g.props;$(TestDirectory)**/obj/**/*.csproj.nuget.g.targets" />
|
||||
</ItemGroup>
|
||||
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
|
||||
<ItemGroup>
|
||||
<FilesToDelete Remove="*" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="SetupRestoreTestsInputs"
|
||||
DependsOnTargets="PrepareTests;" >
|
||||
<ItemGroup>
|
||||
<RestoreTestsInputs Include="$(TestDirectory)/**/*.csproj"
|
||||
Exclude="$(TestDirectory)/**/bin/**/*.csproj" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="BuildTestAssets"
|
||||
<Target Name="BuildTestAssets"
|
||||
DependsOnTargets="BuildTestAssetProjects;
|
||||
BuildDesktopTestAssetProjects;">
|
||||
</Target>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Neplatný formát na řádku {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">V oddíle projektu chybí {0}, když analýza řádku začíná na pozici {1}.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">V sadě vlastností chybí {0}.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Ungültiges Format in Zeile {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Im Projektabschnitt fehlt "{0}" beim Analysieren des Zeilenbeginns in Position {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">Im Eigenschaftensatz fehlt "{0}"</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Formato no válido en línea {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Falta la sección del proyecto "{0}" al analizar la línea que inicia en la posición {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">A la propiedad establecida le falta "{0}"</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Format non valide dans la ligne {0} : {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">'{0}' est manquant dans la section de projet lors de l'analyse de la ligne à partir de la position {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">'{0}' est manquant dans le jeu de propriétés</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Formato non valido a riga {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Nella sezione del progetto manca '{0}' quando si analizza la riga a partire dalla posizione {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">Nel set di proprietà manca '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">行 {0} の形式が無効です: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">位置 {1} から始まる行の解析中にプロジェクト セクションが見つかりません '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">プロパティ セットが見つかりません '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">{0} 줄에 잘못된 형식: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">{1} 위치에서 시작하는 줄을 구문 분석할 때 프로젝트 섹션에 '{0}'이(가) 없습니다.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">속성 설정에 '{0}'이(가) 없습니다.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Nieprawidłowy format w wierszu {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">W sekcji projektu brakuje elementu „{0}” podczas analizowania wiersza, począwszy od pozycji {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">W zestawie właściwości brakuje elementu „{0}”</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Formato inválido na linha {0}: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">A seção do projeto está sem o '{0}' ao analisar a linha na posição {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">O conjunto de propriedade está sem '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">Формат в строке {0} недопустим: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">В разделе проекта отсутствует "{0}" при анализе строки с начальной позицией {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">В наборе свойств отсутствует "{0}"</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">{0}. satırda geçersiz biçim: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">{1}. konumdan başlayan satır ayrıştırılırken proje bölümünde '{0}' eksik</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">Özellik kümesinde '{0}' eksik</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">行 {0} 存在无效格式: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">分析从位置 {1} 开始的行时,项目节缺少“{0}”</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">属性集缺少“{0}”</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -40,18 +40,18 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ErrorMessageFormatString">
|
||||
<source>Invalid format in line {0}: {1}</source>
|
||||
<target state="new">Invalid format in line {0}: {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">第 {0} 行的格式不正確: {1}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ProjectParsingErrorFormatString">
|
||||
<source>Project section is missing '{0}' when parsing the line starting at position {1}</source>
|
||||
<target state="new">Project section is missing '{0}' when parsing the line starting at position {1}</target>
|
||||
<note></note>
|
||||
<target state="translated">從位置 {1} 開始剖析程式行時,專案區段缺少 '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPropertySetFormatString">
|
||||
<source>Property set is missing '{0}'</source>
|
||||
<target state="new">Property set is missing '{0}'</target>
|
||||
<note></note>
|
||||
<target state="translated">屬性集缺少 '{0}'</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -19,17 +19,17 @@ Configuring...
|
|||
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.</source>
|
||||
<target state="translated">.NET Core’a Hoş Geldiniz!
|
||||
---------------------
|
||||
.NET Core hakkında daha fazla bilgiyi https://aka.ms/dotnet-docs adresinde bulabilirsiniz. Kullanılabilir komutları görmek için dotnet --help kullanın veya https://aka.ms/dotnet-cli-docs adresine gidin.
|
||||
.NET Core hakkında daha fazla bilgi edinmek için bkz. https://aka.ms/dotnet-docs. Kullanılabilen komutları görüntülemek için dotnet --help komutunu kullanın veya https://aka.ms/dotnet-cli-docs adresine gidin.
|
||||
|
||||
Telemetri
|
||||
--------------
|
||||
.NET Core araçları, deneyiminizi iyileştirmek için kullanım verileri toplar. Veriler anonimdir ve komut satırı bağımsız değişkenlerini içermez. Veriler Microsoft tarafından toplanır ve topluluk ile paylaşılır.
|
||||
Sık kullandığınız kabuk aracılığıyla DOTNET_CLI_TELEMETRY_OPTOUT ortam değişkenini 1 değerine ayarlayarak telemetriyi geri çevirebilirsiniz.
|
||||
.NET Core araç telemetrisi hakkında daha faza bilgiyi https://aka.ms/dotnet-cli-telemetry adresinde bulabilirsiniz.
|
||||
.NET Core araçları, deneyiminizi geliştirmek için kullanım verilerini toplar. Veriler anonimdir ve komut satırı bağımsız değişkenlerini içermez. Veriler Microsoft tarafından toplanır ve toplulukla paylaşılır.
|
||||
İstediğiniz kabuk içinde DOTNET_CLI_TELEMETRY_OPTOUT ortam değişkenini 1 olarak ayarlayarak telemetriyi geri çevirebilirsiniz.
|
||||
.NET Core araçlarında telemetri hakkında daha fazla bilgi edinmek için bkz. https://aka.ms/dotnet-cli-telemetry.
|
||||
|
||||
Yapılandırılıyor...
|
||||
-------------------
|
||||
Yerel paket önbelleğinizi başlangıçta doldurmak, geri yükleme hızını artırmak ve çevrimdışı erişimi etkinleştirmek için bir komut çalıştırılıyor. Bu komutun tamamlanması yaklaşık bir dakika sürer ve bu işlem yalnızca bir kez gerçekleştirilir.</target>
|
||||
Geri yükleme hızını artırmak ve çevrimdışı erişimi etkinleştirmek için yerel paket önbelleğinizi başlangıçta doldurmak amacıyla bir komut çalıştırılıyor. Bu komutun tamamlanması yaklaşık bir dakika sürer ve yalnızca bir kez çalışır.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="FailedToPrimeCacheError">
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
public const string AspNetLTSPackagesVersion = "1.0.2";
|
||||
public const string EntityFrameworkLTSPackagesVersion = "1.0.2";
|
||||
public const string TestSdkPackageVersion = "15.0.0-preview-20170106-08";
|
||||
public const string XUnitPackageVersion = "2.2.0-beta4-build3444";
|
||||
public const string XUnitRunnerPackageVersion = "2.2.0-beta4-build1194";
|
||||
public const string XUnitPackageVersion = "2.2.0-beta5-build3474";
|
||||
public const string XUnitRunnerPackageVersion = "2.2.0-beta5-build1225";
|
||||
public const string MstestTestAdapterVersion = "1.1.8-rc";
|
||||
public const string MstestTestFrameworkVersion = "1.0.8-rc";
|
||||
public const string BundleMinifierToolVersion = "2.2.301";
|
||||
|
|
|
@ -11,6 +11,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{
|
||||
internal class MigrationBackupPlan
|
||||
{
|
||||
private const string TempCsprojExtention = ".migration_in_place_backup";
|
||||
|
||||
private readonly FileInfo globalJson;
|
||||
|
||||
public MigrationBackupPlan(
|
||||
|
@ -57,7 +59,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
.Where(f => f.Name == "project.json"
|
||||
|| f.Extension == ".xproj"
|
||||
|| f.FullName.EndsWith(".xproj.user")
|
||||
|| f.FullName.EndsWith(".lock.json"));
|
||||
|| f.FullName.EndsWith(".lock.json")
|
||||
|| f.FullName.EndsWith(TempCsprojExtention));
|
||||
}
|
||||
|
||||
public DirectoryInfo ProjectBackupDirectory { get; }
|
||||
|
@ -81,10 +84,23 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
|
||||
foreach (var file in FilesToMove)
|
||||
{
|
||||
var fileName = file.Name.EndsWith(TempCsprojExtention)
|
||||
? Path.GetFileNameWithoutExtension(file.Name)
|
||||
: file.Name;
|
||||
|
||||
file.MoveTo(
|
||||
Path.Combine(
|
||||
ProjectBackupDirectory.FullName, file.Name));
|
||||
Path.Combine(ProjectBackupDirectory.FullName, fileName));
|
||||
}
|
||||
}
|
||||
|
||||
public static void RenameCsprojFromMigrationOutputNameToTempName(string outputProject)
|
||||
{
|
||||
var backupFileName = $"{outputProject}{TempCsprojExtention}";
|
||||
if (File.Exists(backupFileName))
|
||||
{
|
||||
File.Delete(backupFileName);
|
||||
}
|
||||
File.Move(outputProject, backupFileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,8 +14,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{
|
||||
public static string GetProjectName(this ProjectContext projectContext)
|
||||
{
|
||||
// _ here is just an arbitrary configuration value so we can obtain the output name
|
||||
return Path.GetFileNameWithoutExtension(projectContext.GetOutputPaths("_").CompilationFiles.Assembly);
|
||||
var projectDirectory = projectContext.ProjectDirectory;
|
||||
|
||||
return Path.GetFileName(projectDirectory);
|
||||
}
|
||||
|
||||
public static bool HasRuntimes(this IEnumerable<ProjectContext> projectContexts)
|
||||
|
|
|
@ -316,24 +316,25 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
foreach (var projectDirectory in
|
||||
Enumerable.Repeat(directory, 1).Union(directory.GetDirectories()))
|
||||
{
|
||||
// Create the path to the project.json file.
|
||||
var projectFilePath = Path.Combine(projectDirectory.FullName, "project.json");
|
||||
|
||||
// We INTENTIONALLY do not do an exists check here because it requires disk I/O
|
||||
// Instead, we'll do an exists check when we try to resolve
|
||||
|
||||
// Check if we've already added this, just in case it was pre-loaded into the cache
|
||||
var project = new ProjectDependency(
|
||||
projectDirectory.Name,
|
||||
projectFilePath);
|
||||
|
||||
projects.Add(project);
|
||||
AddIfProjectExists(projects, projectDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
return projects;
|
||||
}
|
||||
|
||||
private static void AddIfProjectExists(List<ProjectDependency> projects, DirectoryInfo projectDirectory)
|
||||
{
|
||||
var projectJSONFilePath = Path.Combine(projectDirectory.FullName, "project.json");
|
||||
var csProjFilePath = Path.Combine(projectDirectory.FullName, $"{projectDirectory.Name}.csproj");
|
||||
|
||||
if (File.Exists(projectJSONFilePath) || File.Exists(csProjFilePath))
|
||||
{
|
||||
var project = new ProjectDependency(projectDirectory.Name, projectJSONFilePath);
|
||||
projects.Add(project);
|
||||
}
|
||||
}
|
||||
|
||||
internal static List<string> GetGlobalPaths(string rootPath)
|
||||
{
|
||||
var paths = new List<string>();
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{
|
||||
private readonly IMigrationRule _ruleSet;
|
||||
private readonly ProjectDependencyFinder _projectDependencyFinder = new ProjectDependencyFinder();
|
||||
private HashSet<string> _migratedProjects = new HashSet<string>();
|
||||
|
||||
public ProjectMigrator() : this(new DefaultMigrationRuleSet()) { }
|
||||
|
||||
|
@ -38,12 +39,20 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
// Try to read the project dependencies, ignore an unresolved exception for now
|
||||
MigrationRuleInputs rootInputs = ComputeMigrationRuleInputs(rootSettings);
|
||||
IEnumerable<ProjectDependency> projectDependencies = null;
|
||||
var projectMigrationReports = new List<ProjectMigrationReport>();
|
||||
|
||||
try
|
||||
{
|
||||
// Verify up front so we can prefer these errors over an unresolved project dependency
|
||||
VerifyInputs(rootInputs, rootSettings);
|
||||
|
||||
projectMigrationReports.Add(MigrateProject(rootSettings));
|
||||
|
||||
if (skipProjectReferences)
|
||||
{
|
||||
return new MigrationReport(projectMigrationReports);
|
||||
}
|
||||
|
||||
projectDependencies = ResolveTransitiveClosureProjectDependencies(
|
||||
rootSettings.ProjectDirectory,
|
||||
rootSettings.ProjectXProjFilePath,
|
||||
|
@ -62,21 +71,12 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
});
|
||||
}
|
||||
|
||||
var projectMigrationReports = new List<ProjectMigrationReport>();
|
||||
projectMigrationReports.Add(MigrateProject(rootSettings));
|
||||
|
||||
if (skipProjectReferences)
|
||||
{
|
||||
return new MigrationReport(projectMigrationReports);
|
||||
}
|
||||
|
||||
foreach(var project in projectDependencies)
|
||||
{
|
||||
var projectDir = Path.GetDirectoryName(project.ProjectFilePath);
|
||||
var settings = new MigrationSettings(projectDir,
|
||||
projectDir,
|
||||
rootSettings.MSBuildProjectTemplatePath);
|
||||
MigrateProject(settings);
|
||||
projectMigrationReports.Add(MigrateProject(settings));
|
||||
}
|
||||
|
||||
|
@ -141,13 +141,28 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{
|
||||
var migrationRuleInputs = ComputeMigrationRuleInputs(migrationSettings);
|
||||
var projectName = migrationRuleInputs.DefaultProjectContext.GetProjectName();
|
||||
var outputProject = Path.Combine(migrationSettings.OutputDirectory, projectName + ".csproj");
|
||||
|
||||
try
|
||||
{
|
||||
if (IsMigrated(migrationSettings, migrationRuleInputs))
|
||||
if (File.Exists(outputProject))
|
||||
{
|
||||
MigrationTrace.Instance.WriteLine(String.Format(LocalizableStrings.SkipMigrationAlreadyMigrated, nameof(ProjectMigrator), migrationSettings.ProjectDirectory));
|
||||
return new ProjectMigrationReport(migrationSettings.ProjectDirectory, projectName, skipped: true);
|
||||
if (_migratedProjects.Contains(outputProject))
|
||||
{
|
||||
MigrationTrace.Instance.WriteLine(String.Format(
|
||||
LocalizableStrings.SkipMigrationAlreadyMigrated,
|
||||
nameof(ProjectMigrator),
|
||||
migrationSettings.ProjectDirectory));
|
||||
|
||||
return new ProjectMigrationReport(
|
||||
migrationSettings.ProjectDirectory,
|
||||
projectName,
|
||||
skipped: true);
|
||||
}
|
||||
else
|
||||
{
|
||||
MigrationBackupPlan.RenameCsprojFromMigrationOutputNameToTempName(outputProject);
|
||||
}
|
||||
}
|
||||
|
||||
VerifyInputs(migrationRuleInputs, migrationSettings);
|
||||
|
@ -185,7 +200,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
}
|
||||
}
|
||||
|
||||
var outputProject = Path.Combine(migrationSettings.OutputDirectory, projectName + ".csproj");
|
||||
_migratedProjects.Add(outputProject);
|
||||
|
||||
return new ProjectMigrationReport(
|
||||
migrationSettings.ProjectDirectory,
|
||||
projectName,
|
||||
|
@ -286,14 +302,5 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
File.Copy(sourceFilePath, destinationFilePath);
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsMigrated(MigrationSettings migrationSettings, MigrationRuleInputs migrationRuleInputs)
|
||||
{
|
||||
var outputName = migrationRuleInputs.DefaultProjectContext.GetProjectName();
|
||||
|
||||
var outputProject = Path.Combine(migrationSettings.OutputDirectory, outputName + ".csproj");
|
||||
return File.Exists(outputProject);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="NoXprojFileGivenError">
|
||||
<source>{0}: No xproj file given.</source>
|
||||
<target state="translated">{0}: xproj dosyası belirtilmedi.</target>
|
||||
<target state="translated">{0}: Xproj dosyası belirtilmedi.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="MultipleXprojFilesError">
|
||||
|
@ -195,7 +195,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SkipMigrationAlreadyMigrated">
|
||||
<source>{0}: Skip migrating {1}, it is already migrated.</source>
|
||||
<target state="translated">{0}: {1} öğesini geçirmeyi atlayın, öğe zaten geçirildi.</target>
|
||||
<target state="translated">{0}: {1} geçişini atlayın; öğe zaten geçirildi.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ExecutingRule">
|
||||
|
@ -205,7 +205,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="NoConfigurationOrFrameworkFoundInProject">
|
||||
<source>{0}: No configuration or framework build options found in project</source>
|
||||
<target state="translated">{0}: Projede herhangi bir yapılandırma veya çerçeve derleme seçeneği yok</target>
|
||||
<target state="translated">{0}: Projede yapılandırma veya çerçeve derleme seçeneği bulunamadı</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="MigratingCountTargetFrameworks">
|
||||
|
@ -225,7 +225,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="MigratingCountXprojToCsprojReferences">
|
||||
<source>{0}: Migrating {1} xproj to csproj references</source>
|
||||
<target state="translated">{0}: {1} xproj, csproj başvurularına geçiriliyor</target>
|
||||
<target state="translated">{0}: {1} xproj - csproj başvurusu geçiriliyor</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ExecutingMigrationRule">
|
||||
|
@ -250,7 +250,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ItemTransformApplicatorAddItemHeader">
|
||||
<source>{0}: AddItemToItemGroup {{ ItemType: {1}, Condition: {2}, Include: {3}, Exclude: {4}, Update: {5} }}</source>
|
||||
<target state="translated">{0}: Öğe Grubuna Ekle {{ Öğe Türü: {1}, Koşul: {2}, Dahil Et: {3}, Dışla: {4}, Güncelleştir: {5} }}</target>
|
||||
<target state="translated">{0}: Öğe Grubuna Öğe Ekle {{ Öğe Türü: {1}, Koşul: {2}, Dahil Et: {3}, Dışla: {4}, Güncelleştir: {5} }}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="ItemTransformApplicatorMergingItemWithExistingItems">
|
||||
|
@ -280,7 +280,7 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="ItemTransformApplicatorAddingMergedItem">
|
||||
<source>{0}: Adding Merged Item {{ ItemType: {1}, Condition: {2}, Include: {3}, Exclude: {4} }}</source>
|
||||
<target state="translated">{0}: Birleştirilen Öğe Ekleniyor {{ IÖğe Türü: {1}, Koşul: {2}, Dahil Et: {3}, Dışla: {4} }}</target>
|
||||
<target state="translated">{0}: Birleştirilmiş Öğe Ekleniyor {{ Öğe Türü: {1}, Koşul: {2}, Dahil Et: {3}, Dışla: {4} }}</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="MergingProperty">
|
||||
|
|
|
@ -138,50 +138,6 @@ namespace Microsoft.DotNet.TestFramework
|
|||
return new DirectoryInfo(Path.Combine(baseDirectory, callingMethod + identifier, _assetName));
|
||||
}
|
||||
|
||||
private IEnumerable<FileInfo> LoadInventory(FileInfo file)
|
||||
{
|
||||
if (!file.Exists)
|
||||
{
|
||||
return Enumerable.Empty<FileInfo>();
|
||||
}
|
||||
|
||||
var inventory = new List<FileInfo>();
|
||||
|
||||
var lines = file.OpenText();
|
||||
|
||||
while (lines.Peek() > 0)
|
||||
{
|
||||
inventory.Add(new FileInfo(lines.ReadLine()));
|
||||
}
|
||||
|
||||
return inventory;
|
||||
}
|
||||
|
||||
private void SaveInventory(FileInfo file, IEnumerable<FileInfo> inventory)
|
||||
{
|
||||
FileUtility.ReplaceWithLock(
|
||||
filePath =>
|
||||
{
|
||||
if (!_dataDirectory.Exists)
|
||||
{
|
||||
_dataDirectory.Create();
|
||||
}
|
||||
|
||||
using (var stream =
|
||||
new FileStream(filePath, FileMode.Create, FileAccess.Write, FileShare.None))
|
||||
{
|
||||
using (var writer = new StreamWriter(stream))
|
||||
{
|
||||
foreach (var path in inventory.Select(i => i.FullName))
|
||||
{
|
||||
writer.WriteLine(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
file.FullName);
|
||||
}
|
||||
|
||||
private IEnumerable<FileInfo> GetFileList()
|
||||
{
|
||||
return _root.GetFiles("*.*", SearchOption.AllDirectories)
|
||||
|
@ -195,15 +151,6 @@ namespace Microsoft.DotNet.TestFramework
|
|||
Action action)
|
||||
{
|
||||
var inventory = Enumerable.Empty<FileInfo>();
|
||||
if (file.Exists)
|
||||
{
|
||||
inventory = LoadInventory(file);
|
||||
}
|
||||
|
||||
if(inventory.Any())
|
||||
{
|
||||
return inventory;
|
||||
}
|
||||
|
||||
IEnumerable<FileInfo> preInventory;
|
||||
|
||||
|
@ -216,26 +163,21 @@ namespace Microsoft.DotNet.TestFramework
|
|||
preInventory = beforeAction();
|
||||
}
|
||||
|
||||
Task.Run(async () => await ConcurrencyUtilities.ExecuteWithFileLockedAsync<object>(
|
||||
_dataDirectory.FullName,
|
||||
lockedToken =>
|
||||
ExclusiveFolderAccess.Do(_dataDirectory, (folder) => {
|
||||
file.Refresh();
|
||||
if (file.Exists)
|
||||
{
|
||||
if (file.Exists)
|
||||
{
|
||||
inventory = LoadInventory(file);
|
||||
}
|
||||
else
|
||||
{
|
||||
action();
|
||||
inventory = folder.LoadInventory(file);
|
||||
}
|
||||
else
|
||||
{
|
||||
action();
|
||||
|
||||
inventory = GetFileList().Where(i => !preInventory.Select(p => p.FullName).Contains(i.FullName));
|
||||
inventory = GetFileList().Where(i => !preInventory.Select(p => p.FullName).Contains(i.FullName));
|
||||
|
||||
SaveInventory(file, inventory);
|
||||
}
|
||||
|
||||
return Task.FromResult(new Object());
|
||||
},
|
||||
CancellationToken.None)).Wait();
|
||||
folder.SaveInventory(file, inventory);
|
||||
}
|
||||
});
|
||||
|
||||
return inventory;
|
||||
}
|
||||
|
@ -310,7 +252,10 @@ namespace Microsoft.DotNet.TestFramework
|
|||
return;
|
||||
}
|
||||
|
||||
var trackedFiles = _inventoryFiles.AllInventoryFiles.SelectMany(f => LoadInventory(f));
|
||||
IEnumerable<FileInfo> trackedFiles = null;
|
||||
ExclusiveFolderAccess.Do(_dataDirectory, (folder) => {
|
||||
trackedFiles = _inventoryFiles.AllInventoryFiles.SelectMany(f => folder.LoadInventory(f));
|
||||
});
|
||||
|
||||
var assetFiles = GetFileList();
|
||||
|
||||
|
@ -340,7 +285,7 @@ namespace Microsoft.DotNet.TestFramework
|
|||
return;
|
||||
}
|
||||
|
||||
var updatedSourceFiles = LoadInventory(_inventoryFiles.Source)
|
||||
var updatedSourceFiles = ExclusiveFolderAccess.Read(_inventoryFiles.Source)
|
||||
.Where(f => f.LastWriteTime > earliestDataDirectoryTimestamp);
|
||||
|
||||
if (updatedSourceFiles.Any())
|
||||
|
@ -364,5 +309,65 @@ namespace Microsoft.DotNet.TestFramework
|
|||
throw new DirectoryNotFoundException($"Directory not found at '{_root.FullName}'");
|
||||
}
|
||||
}
|
||||
|
||||
private class ExclusiveFolderAccess
|
||||
{
|
||||
private DirectoryInfo _directory;
|
||||
|
||||
private ExclusiveFolderAccess(DirectoryInfo directory)
|
||||
{
|
||||
_directory = directory;
|
||||
}
|
||||
|
||||
public static void Do(DirectoryInfo directory, Action<ExclusiveFolderAccess> action)
|
||||
{
|
||||
Task.Run(async () => await ConcurrencyUtilities.ExecuteWithFileLockedAsync<object>(
|
||||
directory.FullName,
|
||||
lockedToken =>
|
||||
{
|
||||
action(new ExclusiveFolderAccess(directory));
|
||||
return Task.FromResult(new Object());
|
||||
},
|
||||
CancellationToken.None)).Wait();
|
||||
}
|
||||
|
||||
public static IEnumerable<FileInfo> Read(FileInfo file)
|
||||
{
|
||||
IEnumerable<FileInfo> ret = null;
|
||||
Do(file.Directory, (folder) => {
|
||||
ret = folder.LoadInventory(file);
|
||||
});
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public IEnumerable<FileInfo> LoadInventory(FileInfo file)
|
||||
{
|
||||
file.Refresh();
|
||||
if (!file.Exists)
|
||||
{
|
||||
throw new ArgumentException("Inventory file should exist.");
|
||||
}
|
||||
|
||||
var inventory = new List<FileInfo>();
|
||||
foreach (var p in File.ReadAllLines(file.FullName))
|
||||
{
|
||||
inventory.Add(new FileInfo(p));
|
||||
}
|
||||
|
||||
return inventory;
|
||||
}
|
||||
|
||||
public void SaveInventory(FileInfo file, IEnumerable<FileInfo> inventory)
|
||||
{
|
||||
_directory.Refresh();
|
||||
if (!_directory.Exists)
|
||||
{
|
||||
_directory.Create();
|
||||
}
|
||||
|
||||
File.WriteAllLines(file.FullName, inventory.Select((fi) => fi.FullName).ToList());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,34 +10,18 @@ namespace Microsoft.DotNet.Tools.Common
|
|||
{
|
||||
public static class SlnProjectCollectionExtensions
|
||||
{
|
||||
public static HashSet<string> GetReferencedSolutionFolders(this SlnProjectCollection projects)
|
||||
public static IEnumerable<SlnProject> GetProjectsByType(
|
||||
this SlnProjectCollection projects,
|
||||
string typeGuid)
|
||||
{
|
||||
var referencedSolutionFolders = new HashSet<string>();
|
||||
return projects.Where(p => p.TypeGuid == typeGuid);
|
||||
}
|
||||
|
||||
var solutionFolderProjects = projects
|
||||
.Where(p => p.TypeGuid == ProjectTypeGuids.SolutionFolderGuid)
|
||||
.ToList();
|
||||
|
||||
if (solutionFolderProjects.Any())
|
||||
{
|
||||
var nonSolutionFolderProjects = projects
|
||||
.Where(p => p.TypeGuid != ProjectTypeGuids.SolutionFolderGuid)
|
||||
.ToList();
|
||||
|
||||
foreach (var project in nonSolutionFolderProjects)
|
||||
{
|
||||
var solutionFolders = project.GetSolutionFoldersFromProject();
|
||||
foreach (var solutionFolder in solutionFolders)
|
||||
{
|
||||
if (!referencedSolutionFolders.Contains(solutionFolder))
|
||||
{
|
||||
referencedSolutionFolders.Add(solutionFolder);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return referencedSolutionFolders;
|
||||
public static IEnumerable<SlnProject> GetProjectsNotOfType(
|
||||
this SlnProjectCollection projects,
|
||||
string typeGuid)
|
||||
{
|
||||
return projects.Where(p => p.TypeGuid != typeGuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,17 +12,44 @@ namespace Microsoft.DotNet.Tools.Common
|
|||
{
|
||||
public static IList<string> GetSolutionFoldersFromProject(this SlnProject project)
|
||||
{
|
||||
var currentDirString = $".{Path.DirectorySeparatorChar}";
|
||||
var solutionFolders = new List<string>();
|
||||
|
||||
var directoryPath = Path.GetDirectoryName(project.FilePath);
|
||||
if (directoryPath.StartsWith(currentDirString))
|
||||
var projectFilePath = project.FilePath;
|
||||
if (IsPathInTreeRootedAtSolutionDirectory(projectFilePath))
|
||||
{
|
||||
directoryPath = directoryPath.Substring(currentDirString.Length);
|
||||
var currentDirString = $".{Path.DirectorySeparatorChar}";
|
||||
if (projectFilePath.StartsWith(currentDirString))
|
||||
{
|
||||
projectFilePath = projectFilePath.Substring(currentDirString.Length);
|
||||
}
|
||||
|
||||
var projectDirectoryPath = TrimProject(projectFilePath);
|
||||
if (!string.IsNullOrEmpty(projectDirectoryPath))
|
||||
{
|
||||
var solutionFoldersPath = TrimProjectDirectory(projectDirectoryPath);
|
||||
if (!string.IsNullOrEmpty(solutionFoldersPath))
|
||||
{
|
||||
solutionFolders.AddRange(solutionFoldersPath.Split(Path.DirectorySeparatorChar));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return directoryPath.StartsWith("..")
|
||||
? new List<string>()
|
||||
: new List<string>(directoryPath.Split(Path.DirectorySeparatorChar));
|
||||
return solutionFolders;
|
||||
}
|
||||
|
||||
private static bool IsPathInTreeRootedAtSolutionDirectory(string path)
|
||||
{
|
||||
return !path.StartsWith("..");
|
||||
}
|
||||
|
||||
private static string TrimProject(string path)
|
||||
{
|
||||
return Path.GetDirectoryName(path);
|
||||
}
|
||||
|
||||
private static string TrimProjectDirectory(string path)
|
||||
{
|
||||
return Path.GetDirectoryName(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Příkaz rozhraní .NET pro přidání odkazu mezi projekty (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Příkaz rozhraní .NET pro přidání odkazu mezi projekty</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Příkaz pro přidání odkazu mezi projekty (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Příkaz pro přidání odkazu mezi projekty</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">.NET-Befehl zum Hinzufügen von Projekt-zu-Projekt-Verweisen (P2P-Verweise)</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET-Befehl zum Hinzufügen von Projekt-zu-Projekt-Verweisen</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Befehl zum Hinzufügen von Projekt-zu-Projekt-Verweisen (P2P-Verweise)</target>
|
||||
<note></note>
|
||||
<target state="translated">Befehl zum Hinzufügen des Projekts zum Projektverweis</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Comando de .NET para agregar una referencia de proyecto a proyecto (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando de .NET para agregar una referencia de proyecto a proyecto</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Comando para agregar una referencia de proyecto a proyecto (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando para agregar una referencia de proyecto a proyecto</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Commande d'ajout d'une référence projet à projet (p2p) .NET</target>
|
||||
<note></note>
|
||||
<target state="translated">Commande .NET Ajouter une référence projet à projet</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Commande permettant d'ajouter une référence projet à projet (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Commande permettant d'ajouter le projet à la référence du projet</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Comando Aggiungi riferimento P2P (da progetto a progetto) .NET</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando Aggiungi riferimento P2P (da progetto a progetto) .NET</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Comando per aggiungere il riferimento P2P (da progetto a progetto)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando per aggiungere il riferimento P2P (da progetto a progetto)</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">.NET Add Project to Project (p2p) 参照コマンド</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET プロジェクト間参照を追加するコマンド</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">project to project (p2p) 参照を追加するコマンド</target>
|
||||
<note></note>
|
||||
<target state="translated">プロジェクト間参照を追加するコマンド</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">.NET p2p(프로젝트 간) 참조 추가 명령</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET 프로젝트 간 참조 추가 명령</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">p2p(프로젝트 간) 참조를 추가하는 명령입니다.</target>
|
||||
<note></note>
|
||||
<target state="translated">프로젝트 간 참조 추가 명령</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Polecenie dodawania odwołania między projektami (p2p) dla platformy .NET</target>
|
||||
<note></note>
|
||||
<target state="translated">Polecenie dodawania odwołania między projektami dla platformy .NET</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Polecenie służące do dodania odwołania między projektami (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Polecenie służące do dodawania odwołania między projektami</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Comando Add Project to Project (p2p) reference do .NET</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando Adicionar Referência de Projeto para Projeto do .NET</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Comando para adicionar a referência p2p (projeto para projeto)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando para adicionar a referência de projeto para projeto</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">Команда .NET "Добавить ссылку проекта на проект (p2p)"</target>
|
||||
<note></note>
|
||||
<target state="translated">Команда .NET "Добавить ссылку из одного проекта на другой"</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Команда для добавления ссылки проекта на проект (p2p).</target>
|
||||
<note></note>
|
||||
<target state="translated">Эта команда добавляет ссылку из одного проекта на другой</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">.NET Add Project to Project (p2p) reference Komutu</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET Projeden Projeye başvuru ekle Komutu</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">Projeden projeye (p2p) başvuru ekleme komutu</target>
|
||||
<note></note>
|
||||
<target state="translated">Projeden Projeye başvuru ekleme komutu</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">用于项目到项目(p2p)引用的 .NET 添加命令</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET“添加项目到项目引用”命令</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">用于添加项目到项目(p2p)引用的命令</target>
|
||||
<note></note>
|
||||
<target state="translated">用于添加项目到项目引用的命令</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<group id="src/dotnet/commands/dotnet-add/dotnet-add-p2p/LocalizableStrings.resx" />
|
||||
<trans-unit id="AppFullName">
|
||||
<source>.NET Add Project to Project reference Command</source>
|
||||
<target state="needs-review-translation">.NET 新增專案對專案 (p2p) 參考命令</target>
|
||||
<note></note>
|
||||
<target state="translated">.NET 新增專案對專案參考命令</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to add project to project reference</source>
|
||||
<target state="needs-review-translation">用以新增專案對專案 (p2p) 參考的命令</target>
|
||||
<note></note>
|
||||
<target state="translated">用以新增專案對專案參考的命令</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="AppHelpText">
|
||||
<source>Project to project references to add</source>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Umožňuje upravovat soubory řešení (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Projektmappendateien (SLN-Dateien) ändern.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Modifique archivos de la solución (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Modifiez les fichiers solution (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Consente di modificare i file di soluzione (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">ソリューション (SLN) ファイルを変更します。</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">솔루션(SLN) 파일을 수정합니다.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Modyfikuj pliki rozwiązania (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Modificar arquivos de solução (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Изменение файлов решения (SLN).</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">Çözüm (SLN) dosyalarını değiştirin.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">修改解决方案(SLN)文件。</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="SlnDefinition">
|
||||
<source>Modify solution (SLN) files.</source>
|
||||
<target state="new">Modify solution (SLN) files.</target>
|
||||
<note></note>
|
||||
<target state="translated">修改方案 (SLN) 檔。</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Příkaz pro zobrazení seznamu závislostí mezi projekty (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Příkaz pro zobrazení seznamu odkazů mezi projekty</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Befehl zum Auflisten von Interprojektverweisen (P2P)</target>
|
||||
<note></note>
|
||||
<target state="translated">Befehl zum Auflisten von Projekt-zu-Projekt-Verweisen</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Comando para mostrar las referencias de proyecto a proyecto (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando para enumerar las referencias de proyecto a proyecto</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Commande permettant de lister les références de projet à projet (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Commande permettant de répertorier les références projet à projet</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Comando per elencare i riferimenti P2P (da progetto a progetto)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando per elencare i riferimenti P2P (da progetto a progetto)</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">プロジェクト間 (p2p) 参照を一覧表示するコマンド</target>
|
||||
<note></note>
|
||||
<target state="translated">プロジェクト間参照を一覧表示するコマンド</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">p2p(프로젝트 간) 참조를 나열하기 위한 명령입니다.</target>
|
||||
<note></note>
|
||||
<target state="translated">프로젝트 간 참조를 나열하기 위한 명령입니다.</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Polecenie służące do wyświetlania listy odwołań między projektami (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Polecenie służące do wyświetlania listy odwołań między projektami</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Comando para listar as referências p2p (projeto a projeto)</target>
|
||||
<note></note>
|
||||
<target state="translated">Comando para listar referências de projeto para projeto</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Команда для перечисления ссылок проекта на проект (p2p)</target>
|
||||
<note></note>
|
||||
<target state="translated">Эта команда перечисляет ссылки из одного проекта на другой</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
</trans-unit>
|
||||
<trans-unit id="AppDescription">
|
||||
<source>Command to list project to project references</source>
|
||||
<target state="needs-review-translation">Projeden projeye (p2p) başvuruları listeleme komutu</target>
|
||||
<note></note>
|
||||
<target state="translated">Projeden projeye başvuruları listeleme komutu</target>
|
||||
<note />
|
||||
</trans-unit>
|
||||
<trans-unit id="NoReferencesFound">
|
||||
<source>There are no {0} references in project {1}.
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue