This commit is contained in:
Andrew Arnott 2015-12-16 22:26:36 -08:00
Родитель f5da8e5674
Коммит 6362ac0ca8
11 изменённых файлов: 117 добавлений и 2 удалений

Просмотреть файл

@ -25,6 +25,15 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CodeGenerationAttributes.Net40\CodeGenerationAttributes.Net40.csproj">
<Project>{6a77281b-c503-44ea-90c1-0e9868d06cd0}</Project>
<Name>CodeGenerationAttributes.Net40</Name>
</ProjectReference>
<ProjectReference Include="..\CodeGeneration\CodeGeneration.csproj">
<Project>{C1815471-02AF-4BB9-8D83-652ADBAFF5B6}</Project>
<Name>CodeGeneration</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\Kernel32.Desktop\Kernel32.Desktop.csproj">
<Project>{18BA8C60-9A63-4EEA-BB5C-C9899D86F5B8}</Project>
<Name>Kernel32.Desktop</Name>

Просмотреть файл

@ -33,7 +33,9 @@
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32+TokenAccessRights.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32+TOKEN_ELEVATION_TYPE.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32+TOKEN_INFORMATION_CLASS.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32.cs">
<Generator>MSBuild:GenerateCodeFromAttributes</Generator>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)AdvApi32.Helpers.cs" />
</ItemGroup>
</Project>

Просмотреть файл

@ -11,6 +11,7 @@ namespace PInvoke
/// Exported functions from the AdvApi32.dll Windows library
/// that are available to Desktop and Store apps.
/// </content>
[OfferIntPtrOverload]
public static partial class AdvApi32
{
/// <summary>

Просмотреть файл

@ -29,6 +29,16 @@
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CodeGenerationAttributes\CodeGenerationAttributes.csproj">
<Project>{1387e009-7086-4572-ac8d-ce4242adec77}</Project>
<Name>CodeGenerationAttributes</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\CodeGeneration\CodeGeneration.csproj">
<Project>{C1815471-02AF-4BB9-8D83-652ADBAFF5B6}</Project>
<Name>CodeGeneration</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\Kernel32\Kernel32.csproj">
<Project>{1fdc092a-d3e8-4cc4-b896-17e0a213f723}</Project>
<Name>Kernel32</Name>

Просмотреть файл

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.props))\EnlistmentInfo.props" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.props))' != '' " />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6A77281B-C503-44EA-90C1-0E9868D06CD0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PInvoke</RootNamespace>
<AssemblyName>CodeGenerationAttributes.Net40</AssemblyName>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CodeGenerationAttributes\OfferIntPtrOverloadAttribute.cs">
<Link>OfferIntPtrOverloadAttribute.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " />
</Project>

Просмотреть файл

@ -0,0 +1,24 @@
{
"dependencies": {
"CodeGeneration.Roslyn": {
"version": "0.1.28-alpha",
"suppressParent": "none"
},
"Nerdbank.GitVersioning": {
"version": "1.1.61-rc",
"suppressParent": "none"
},
"Nuproj.Common": {
"version": "0.10.27-beta-g2363d7cd98",
"suppressParent": "none"
},
"StyleCop.Analyzers": "1.0.0-rc2"
},
"frameworks": {
".NETFramework,Version=v4.0": { }
},
"runtimes": {
"win-anycpu": { },
"win": { }
}
}

Просмотреть файл

@ -121,6 +121,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeGen", "CodeGen", "{BC58
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeGeneration.Debugging", "CodeGeneration.Debugging\CodeGeneration.Debugging.csproj", "{95305207-62AE-4019-83EC-079008625219}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeGenerationAttributes.Net40", "CodeGenerationAttributes.Net40\CodeGenerationAttributes.Net40.csproj", "{6A77281B-C503-44EA-90C1-0E9868D06CD0}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
AdvApi32.Shared\AdvApi32.Shared.projitems*{3fcbf2e0-1330-454c-8a17-af14eba6b244}*SharedItemsImports = 4
@ -309,6 +311,10 @@ Global
{95305207-62AE-4019-83EC-079008625219}.Debug|Any CPU.Build.0 = Debug|Any CPU
{95305207-62AE-4019-83EC-079008625219}.Release|Any CPU.ActiveCfg = Release|Any CPU
{95305207-62AE-4019-83EC-079008625219}.Release|Any CPU.Build.0 = Release|Any CPU
{6A77281B-C503-44EA-90C1-0E9868D06CD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6A77281B-C503-44EA-90C1-0E9868D06CD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6A77281B-C503-44EA-90C1-0E9868D06CD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6A77281B-C503-44EA-90C1-0E9868D06CD0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -317,5 +323,6 @@ Global
{C1815471-02AF-4BB9-8D83-652ADBAFF5B6} = {BC58E358-D202-41B7-BDC3-38E084F36F0B}
{1387E009-7086-4572-AC8D-CE4242ADEC77} = {BC58E358-D202-41B7-BDC3-38E084F36F0B}
{95305207-62AE-4019-83EC-079008625219} = {BC58E358-D202-41B7-BDC3-38E084F36F0B}
{6A77281B-C503-44EA-90C1-0E9868D06CD0} = {BC58E358-D202-41B7-BDC3-38E084F36F0B}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -25,6 +25,15 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CodeGenerationAttributes.Net40\CodeGenerationAttributes.Net40.csproj">
<Project>{6a77281b-c503-44ea-90c1-0e9868d06cd0}</Project>
<Name>CodeGenerationAttributes.Net40</Name>
</ProjectReference>
<ProjectReference Include="..\CodeGeneration\CodeGeneration.csproj">
<Project>{C1815471-02AF-4BB9-8D83-652ADBAFF5B6}</Project>
<Name>CodeGeneration</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\Windows.Core\Windows.Core.csproj">
<Project>{b08c3c79-4cdd-4d37-933c-07d3452fd5f1}</Project>
<Name>Windows.Core</Name>

Просмотреть файл

@ -10,6 +10,8 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)LIBNAME.Helpers.cs" />
<Compile Include="$(MSBuildThisFileDirectory)LIBNAME.cs" />
<Compile Include="$(MSBuildThisFileDirectory)LIBNAME.cs">
<Generator>MSBuild:GenerateCodeFromAttributes</Generator>
</Compile>
</ItemGroup>
</Project>

Просмотреть файл

@ -10,6 +10,7 @@ namespace PInvoke
/// Exported functions from the LIBNAME.dll Windows library
/// that are available to Desktop and Store apps.
/// </summary>
[OfferIntPtrOverload]
public static partial class LIBNAME
{
}

Просмотреть файл

@ -29,6 +29,16 @@
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CodeGenerationAttributes\CodeGenerationAttributes.csproj">
<Project>{1387e009-7086-4572-ac8d-ce4242adec77}</Project>
<Name>CodeGenerationAttributes</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\CodeGeneration\CodeGeneration.csproj">
<Project>{C1815471-02AF-4BB9-8D83-652ADBAFF5B6}</Project>
<Name>CodeGeneration</Name>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\Windows.Core\Windows.Core.csproj">
<Project>{b08c3c79-4cdd-4d37-933c-07d3452fd5f1}</Project>
<Name>Windows.Core</Name>