singrdk/base/ProjectTemplates/ConsoleApp.csproj

45 lines
1.5 KiB
XML

<!--
##############################################################################
Microsoft Research Singularity
Copyright (c) Microsoft Corporation. All rights reserved.
File: Applications\YourApp\YourApp.csproj
Note: This is the template for a basic console app.
##############################################################################
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Provide the relative walk-up path to $(SINGULARITY_ROOT)\Paths.targets.
This is annoying, but is necessary in order to get VS builds to work,
without requiring that you set environment variables for VS.
This is only applicable for people who launch VS from a "clean"
environment (e.g., not a shell which has run setenv.cmd).
-->
<Import Project="..\..\Paths.targets"/>
<PropertyGroup>
<AssemblyName>YourAssemblyNameHere</AssemblyName>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="Foo.sg"/>
<Compile Include="..."/>
</ItemGroup>
<ItemGroup>
<!-- Declare references to the projects you need, for example: -->
<ProjectReference Include="$(SINGULARITY_ROOT)\Contracts\FileSystem.Contracts\FileSystem.Contracts.csproj"/>
<ProjectReference Include="$(SINGULARITY_ROOT)\Libraries\DirectoryService.Utils\DirectoryService.Utils.csproj" />
<ProjectReference Include="..."/>
</ItemGroup>
<Import Project="$(SINGULARITY_ROOT)\Targets\ConsoleCategory.targets"/>
</Project>