Prototype round #1 of .NET Core MSBuild .props and .targets.
This commit is contained in:
parent
9446a81a25
commit
30712966cc
15 changed files with 494 additions and 7 deletions
|
@ -0,0 +1,17 @@
|
|||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
|
||||
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
|
||||
<EmbeddedResource Include="**\*.resx" Exclude="$(GlobalExclude)" />
|
||||
<None Include="project.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
12
TestAssets/TestProjects/MSBuildPrototype/Program.cs
Normal file
12
TestAssets/TestProjects/MSBuildPrototype/Program.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace MSBuildTestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
}
|
19
TestAssets/TestProjects/MSBuildPrototype/project.json
Normal file
19
TestAssets/TestProjects/MSBuildPrototype/project.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0",
|
||||
"type": "platform"
|
||||
},
|
||||
"Microsoft.DotNet.Core.MSBuild": "1.0.0-preview3"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
}
|
||||
},
|
||||
"runtimes": {
|
||||
"win-x64": {},
|
||||
"win-x86": {},
|
||||
"win10-x64": {},
|
||||
"win10-x86": {}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="Local" value="Packages" />
|
||||
<add key="tempnuget" value="C:\temp\nuget" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"projects": [ ".", "../../src" ]
|
||||
"projects": [ "." ]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue