48 lines
1.5 KiB
XML
48 lines
1.5 KiB
XML
<!--
|
|
##############################################################################
|
|
|
|
Microsoft Research Singularity
|
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
File: Interfaces\YourAssembly\YourAssembly.csproj
|
|
|
|
Note: This is the template for an interface assembly.
|
|
|
|
##############################################################################
|
|
-->
|
|
|
|
<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>Library</OutputType>
|
|
<NoStdlib>true</NoStdlib>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="Foo.csi" />
|
|
<Compile Include="..." />
|
|
|
|
<!--
|
|
ProjectReference items declared in files that use InterfaceAssembly.targets can
|
|
specify the 'Alias' metadata tag. This adds "=aliasvalue" to the /r: reference.
|
|
-->
|
|
<ProjectReference Include="$(SINGULARITY_ROOT)\Interfaces\Kernel\Kernel.csproj">
|
|
<Alias>kernel.exe</Alias>
|
|
</ProjectReference>
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(SINGULARITY_ROOT)\Targets\InterfaceAssembly.targets" />
|
|
</Project>
|