Created
May 29, 2017 00:51
-
-
Save salrashid123/b0a45b694b1039afbac955a8087109e8 to your computer and use it in GitHub Desktop.
dotnet_sln_files
This file contains hidden or 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
# build stage | |
FROM microsoft/dotnet:2.0.0-preview1-sdk-jessie AS build-env | |
ADD . /app | |
WORKDIR /app/ | |
RUN dotnet restore | |
RUN dotnet publish -c Release | |
# final stage | |
FROM microsoft/dotnet:2.0.0-preview1-runtime-jessie | |
COPY --from=build-env /app /app/ | |
WORKDIR /app/ | |
ENTRYPOINT ["dotnet", "proj1/bin/Release/netcoreapp2.0/proj1.dll"] |
This file contains hidden or 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
using System; | |
using proj2; | |
namespace proj1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
var p = new proj2.Program(); | |
} | |
} | |
} |
This file contains hidden or 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
using System; | |
namespace proj2 | |
{ | |
public class Program | |
{ | |
public Program() | |
{ | |
Console.WriteLine("Hello World from proj2 constructor!"); | |
} | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World from proj2 main!"); | |
} | |
} | |
} |
This file contains hidden or 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
<Project Sdk="Microsoft.NET.Sdk"> | |
<ItemGroup> | |
<ProjectReference Include="../proj2/proj2.csproj" /> | |
</ItemGroup> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp2.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="proj2" Version="1.0.*" /> | |
</ItemGroup> | |
</Project> |
This file contains hidden or 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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp2.0</TargetFramework> | |
</PropertyGroup> | |
</Project> |
This file contains hidden or 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
Microsoft Visual Studio Solution File, Format Version 12.00 | |
# Visual Studio 15 | |
VisualStudioVersion = 15.0.26124.0 | |
MinimumVisualStudioVersion = 15.0.26124.0 | |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "proj1", "proj1\proj1.csproj", "{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}" | |
EndProject | |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "proj2", "proj2\proj2.csproj", "{61325309-2712-49A9-BAC8-CD58E00629B6}" | |
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(SolutionProperties) = preSolution | |
HideSolutionNode = FALSE | |
EndGlobalSection | |
GlobalSection(ProjectConfigurationPlatforms) = postSolution | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|Any CPU.Build.0 = Debug|Any CPU | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|x64.ActiveCfg = Debug|x64 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|x64.Build.0 = Debug|x64 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|x86.ActiveCfg = Debug|x86 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Debug|x86.Build.0 = Debug|x86 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|Any CPU.ActiveCfg = Release|Any CPU | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|Any CPU.Build.0 = Release|Any CPU | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|x64.ActiveCfg = Release|x64 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|x64.Build.0 = Release|x64 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|x86.ActiveCfg = Release|x86 | |
{0DFF0301-D05C-4AF0-8FCF-CC40ED1EE6B0}.Release|x86.Build.0 = Release|x86 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|Any CPU.Build.0 = Debug|Any CPU | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|x64.ActiveCfg = Debug|x64 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|x64.Build.0 = Debug|x64 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|x86.ActiveCfg = Debug|x86 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Debug|x86.Build.0 = Debug|x86 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|Any CPU.ActiveCfg = Release|Any CPU | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|Any CPU.Build.0 = Release|Any CPU | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|x64.ActiveCfg = Release|x64 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|x64.Build.0 = Release|x64 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|x86.ActiveCfg = Release|x86 | |
{61325309-2712-49A9-BAC8-CD58E00629B6}.Release|x86.Build.0 = Release|x86 | |
EndGlobalSection | |
EndGlobal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment