Click here to Skip to main content
12,457,226 members (57,285 online)
Click here to Skip to main content

Tagged as

Stats

17.3K views
169 downloads
25 bookmarked
Posted

Generate Proxy Class at Build Time

, 15 Nov 2011 Ms-PL
An introduction to Genuilder Extensibility
Membership.Console
bin
Debug
Membership.Console.vshost.exe
Membership.Console.vshost.exe.manifest
Release
ClassDiagram1.cd
Properties
Membership.Genuilder
bin
Debug
AppConfigVerfier.MSBuild.dll
AppConfigVerifier.dll
AppConfigVerifier.targets
AppConfigVerifier.Targets.dll
AppSettingsGenerator.targets
AppSettingsGenerator.Targets.dll
AstHelpers.dll
CommonGenerator.dll
EnvironmentFile.targets
EnvironmentFile.Targets.dll
Genuilder.Extensibility.dll
Genuilder.Extensibility.targets
InterfaceExtractor.targets
InterfaceExtractor.Targets.dll
Membership.Genuilder.vshost.exe
Membership.Genuilder.vshost.exe.manifest
PropertiesExtractor.targets
PropertiesExtractor.Targets.dll
StrongConfigGenerator.targets
StrongConfigGenerator.Targets.dll
bins
AppConfigVerfier.MSBuild.dll
AppConfigVerifier.dll
AppConfigVerifier.targets
AppConfigVerifier.Targets.dll
AppSettingsGenerator.targets
AppSettingsGenerator.Targets.dll
AstHelpers.dll
CommonGenerator.dll
EnvironmentFile.targets
EnvironmentFile.Targets.dll
Genuilder.dll
Genuilder.Extensibility.dll
Genuilder.Extensibility.NRefactory.dll
Genuilder.Extensibility.targets
ICSharpCode.NRefactory.dll
ICSharpCode.SharpDevelop.Dom.dll
InterfaceExtractor.targets
InterfaceExtractor.Targets.dll
PropertiesExtractor.targets
PropertiesExtractor.Targets.dll
StrongConfigGenerator.targets
StrongConfigGenerator.Targets.dll
Properties
ProxyGeneration
GeneratedTest.png
Genuilder.png
GenuilderInstall.png
GenuilderSite.png
IRoleProvider.png
Problem.png
ProjectTemplate.png
ProxyIRoleProviderIntelli.png
ProxyMembershipProvider.png
References.png
SecurityProxyMembershipProvider.png
SeeYouSoon.png
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{C05DF905-6646-4D09-A43B-D4D40595F70B}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Membership.Genuilder</RootNamespace>
    <AssemblyName>Membership.Genuilder</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>
    </TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Genuilder, Version=1.3.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bins\Genuilder.dll</HintPath>
    </Reference>
    <Reference Include="Genuilder.Extensibility, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bins\Genuilder.Extensibility.dll</HintPath>
    </Reference>
    <Reference Include="Genuilder.Extensibility.NRefactory, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bins\Genuilder.Extensibility.NRefactory.dll</HintPath>
    </Reference>
    <Reference Include="ICSharpCode.NRefactory, Version=4.1.0.8000, Culture=neutral, PublicKeyToken=efe927acf176eea2, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bins\ICSharpCode.NRefactory.dll</HintPath>
    </Reference>
    <Reference Include="ICSharpCode.SharpDevelop.Dom, Version=4.1.0.8000, Culture=neutral, PublicKeyToken=f829da5c02be14ee, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>bins\ICSharpCode.SharpDevelop.Dom.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Build" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="ProxyGeneratorExtension.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="bins\AppConfigVerfier.MSBuild.dll">
    </Content>
    <Content Include="bins\AppConfigVerifier.dll">
    </Content>
    <Content Include="bins\AppConfigVerifier.targets">
    </Content>
    <Content Include="bins\AppConfigVerifier.Targets.dll">
    </Content>
    <Content Include="bins\AppSettingsGenerator.targets">
    </Content>
    <Content Include="bins\AppSettingsGenerator.Targets.dll">
    </Content>
    <Content Include="bins\AstHelpers.dll">
    </Content>
    <Content Include="bins\CommonGenerator.dll">
    </Content>
    <Content Include="bins\EnvironmentFile.targets">
    </Content>
    <Content Include="bins\EnvironmentFile.Targets.dll">
    </Content>
    <Content Include="bins\Genuilder.dll">
    </Content>
    <Content Include="bins\Genuilder.Extensibility.dll">
    </Content>
    <Content Include="bins\Genuilder.Extensibility.NRefactory.dll">
    </Content>
    <Content Include="bins\Genuilder.Extensibility.targets">
    </Content>
    <Content Include="bins\ICSharpCode.NRefactory.dll">
    </Content>
    <Content Include="bins\ICSharpCode.SharpDevelop.Dom.dll">
    </Content>
    <Content Include="bins\InterfaceExtractor.targets">
    </Content>
    <Content Include="bins\InterfaceExtractor.Targets.dll">
    </Content>
    <Content Include="bins\PropertiesExtractor.targets">
    </Content>
    <Content Include="bins\PropertiesExtractor.Targets.dll">
    </Content>
    <Content Include="bins\StrongConfigGenerator.targets">
    </Content>
    <Content Include="bins\StrongConfigGenerator.Targets.dll">
    </Content>
    <ToCopy Include="bins\*.*">
      <Link>bins\toto</Link>
      <Visible>false</Visible>
    </ToCopy>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="BeforeBuild">
    <Copy SkipUnchangedFiles="true" SourceFiles="@(ToCopy)" DestinationFolder="$(OutputPath)">
    </Copy>
  </Target>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Nicolas Dorier
Software Developer Freelance
France France
I am currently the CTO of Metaco, we are leveraging the Bitcoin Blockchain for delivering financial services.

I also developed a tool to make IaaS on Azure more easy to use IaaS Management Studio.

If you want to contact me, go this way Smile | :)

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 15 Nov 2011
Article Copyright 2011 by Nicolas Dorier
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid