diff options
author | 2017-05-04 08:51:46 +0100 | |
---|---|---|
committer | 2017-05-24 09:07:33 +0100 | |
commit | f26e8c2ae0a490399f7e77d96193f2851b185b56 (patch) | |
tree | 2d3f4f182126b69148d55a2fd306a4842c64161f /csharp/src/AddressBook/AddressBook.csproj | |
parent | 40da1ed572d60e9c7cc2fe1ca4175e30682f5a9d (diff) |
Convert C# projects to MSBuild (csproj) format
This has one important packaging change: the netstandard version now
depends (implicitly) on netstandard1.6.1 rather than on individual
packages. This is the preferred style of dependency, and shouldn't
affect any users - see http://stackoverflow.com/questions/42946951
for details.
The tests are still NUnit, but NUnit doesn't support "dotnet test"
yet; the test project is now an executable using NUnitLite. (When
NUnit supports dotnet test, we can adapt to it.)
Note that the project will now only work in Visual Studio 2017 (and
Visual Studio Code, and from the command line with the .NET Core
1.0.0 SDK); Visual Studio 2015 does *not* support this project file
format.
Diffstat (limited to 'csharp/src/AddressBook/AddressBook.csproj')
-rw-r--r-- | csharp/src/AddressBook/AddressBook.csproj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/csharp/src/AddressBook/AddressBook.csproj b/csharp/src/AddressBook/AddressBook.csproj new file mode 100644 index 00000000..6edfdcab --- /dev/null +++ b/csharp/src/AddressBook/AddressBook.csproj @@ -0,0 +1,14 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>netcoreapp1.0</TargetFramework> + <OutputType>Exe</OutputType> + <StartupObject>Google.Protobuf.Examples.AddressBook.Program</StartupObject> + <IsPackable>False</IsPackable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" /> + </ItemGroup> + +</Project> |