forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dotnet#1305 from livarcocc/merge_200_into_master
Merge release/2.0.0 into master
- Loading branch information
Showing
166 changed files
with
5,830 additions
and
5,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.0.0-preview2-006189 | ||
2.0.0-preview2-006457 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
TestAssets/TestProjects/DesktopAppWithLibrary-NonSDK/TestApp/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
using System.Diagnostics; | ||
|
||
namespace TestApp | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
Console.WriteLine(TestLibrary.Helper.GetMessage()); | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
TestAssets/TestProjects/DesktopAppWithLibrary-NonSDK/TestApp/TestApp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>9a8d9cf9-379b-45c1-a95a-482ecb76a56c</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>$(MSBuildProjectName)</RootNamespace> | ||
<AssemblyName>$(MSBuildProjectName)</AssemblyName> | ||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System"/> | ||
<Reference Include="System.Core"/> | ||
<Reference Include="System.Xml.Linq"/> | ||
<Reference Include="System.Data.DataSetExtensions"/> | ||
<Reference Include="Microsoft.CSharp"/> | ||
<Reference Include="System.Data"/> | ||
<Reference Include="System.Net.Http"/> | ||
<Reference Include="System.Xml"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="**\*.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
|
||
</Project> |
24 changes: 24 additions & 0 deletions
24
TestAssets/TestProjects/DesktopAppWithLibrary-NonSDK/TestLibrary/Helper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// 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 | ||
{ | ||
/// <summary> | ||
/// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. | ||
/// </summary> | ||
/// <returns>A message</returns> | ||
public static string GetMessage() | ||
{ | ||
return "This string came from the test library!"; | ||
} | ||
|
||
public static void SayHi() | ||
{ | ||
Console.WriteLine("Hello there!"); | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
TestAssets/TestProjects/DesktopAppWithLibrary-NonSDK/TestLibrary/TestLibrary.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Library</OutputType> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
</Project> |
16 changes: 16 additions & 0 deletions
16
TestAssets/TestProjects/DesktopAppWithLibrary-PackagesConfig/TestApp/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
using System.Diagnostics; | ||
|
||
namespace TestApp | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
Console.WriteLine(TestLibrary.Helper.GetMessage()); | ||
} | ||
} | ||
} |
109 changes: 109 additions & 0 deletions
109
TestAssets/TestProjects/DesktopAppWithLibrary-PackagesConfig/TestApp/TestApp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>9a8d9cf9-379b-45c1-a95a-482ecb76a56c</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>$(MSBuildProjectName)</RootNamespace> | ||
<AssemblyName>$(MSBuildProjectName)</AssemblyName> | ||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.Win32.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.AppContext, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.AppContext.4.3.0\lib\net46\System.AppContext.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.ComponentModel.Composition" /> | ||
<Reference Include="System.Console, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Console.4.3.0\lib\net46\System.Console.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Globalization.Calendars, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.IO.Compression.FileSystem" /> | ||
<Reference Include="System.IO.Compression.ZipFile, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.IO.FileSystem, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.IO.FileSystem.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Net.Http, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Net.Sockets, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Numerics" /> | ||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Security.Cryptography.Algorithms.4.3.0\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Xml.ReaderWriter, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | ||
<HintPath>$(NUGET_PACKAGES)\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="**\*.cs" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
|
||
</Project> |
49 changes: 49 additions & 0 deletions
49
TestAssets/TestProjects/DesktopAppWithLibrary-PackagesConfig/TestApp/packages.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net461" /> | ||
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="net461" /> | ||
<package id="NETStandard.Library" version="1.6.1" targetFramework="net461" /> | ||
<package id="System.AppContext" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Collections" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Console" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Diagnostics.DiagnosticSource" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Globalization" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.IO" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Linq" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Net.Http" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.ObjectModel" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Reflection" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Threading" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net461" /> | ||
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net461" /> | ||
</packages> |
24 changes: 24 additions & 0 deletions
24
TestAssets/TestProjects/DesktopAppWithLibrary-PackagesConfig/TestLibrary/Helper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// 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 | ||
{ | ||
/// <summary> | ||
/// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. | ||
/// </summary> | ||
/// <returns>A message</returns> | ||
public static string GetMessage() | ||
{ | ||
return "This string came from the test library!"; | ||
} | ||
|
||
public static void SayHi() | ||
{ | ||
Console.WriteLine("Hello there!"); | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
TestAssets/TestProjects/DesktopAppWithLibrary-PackagesConfig/TestLibrary/TestLibrary.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Library</OutputType> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
</Project> |
16 changes: 16 additions & 0 deletions
16
TestAssets/TestProjects/DesktopAppWithLibrary/TestApp/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
using System.Diagnostics; | ||
|
||
namespace TestApp | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
Console.WriteLine(TestLibrary.Helper.GetMessage()); | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
TestAssets/TestProjects/DesktopAppWithLibrary/TestApp/TestApp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net461</TargetFramework> | ||
</PropertyGroup> | ||
</Project> |
24 changes: 24 additions & 0 deletions
24
TestAssets/TestProjects/DesktopAppWithLibrary/TestLibrary/Helper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// 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 | ||
{ | ||
/// <summary> | ||
/// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. | ||
/// </summary> | ||
/// <returns>A message</returns> | ||
public static string GetMessage() | ||
{ | ||
return "This string came from the test library!"; | ||
} | ||
|
||
public static void SayHi() | ||
{ | ||
Console.WriteLine("Hello there!"); | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
TestAssets/TestProjects/DesktopAppWithLibrary/TestLibrary/TestLibrary.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Library</OutputType> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
</Project> |
Oops, something went wrong.