Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version
Go to top

Prism for Silverlight/MEF in Easy Samples. Part 1 - Prism Modules

, 17 Jan 2012
Prism tutorial in easy samples
PrismTutorialSamples_PART1.zip
PrismTutorialSamples_PART1
ModuleDependencySample
Module0
Module0.csproj.user
Properties
Module1
Module1.csproj.user
Properties
ModuleDependencySample.suo
ModuleDependencySample.Web
ModuleDependencySample.Web.csproj.user
Properties
ModuleDependencySample
ModuleDependencySample.csproj.user
Properties
ModuleLoadingEventsSample
Module1
Module1.csproj.user
Properties
ModuleLoadingEventsSample.suo
ModuleLoadingEventsSample.Web
ModuleLoadingEventsSample.Web.csproj.user
Properties
ModuleLoadingEventsSample
ModuleLoadingEventsSample.csproj.user
Properties
ModuleLoadingOnDemandSample
Module1
Module1.csproj.user
Properties
ModuleLoadingOnDemandSample.suo
ModuleLoadingOnDemandSample.Web
ModuleLoadingOnDemandSample.Web.csproj.user
Properties
ModuleLoadingOnDemandSample
ModuleLoadingOnDemandSample.csproj.user
Properties
PrismDlls
Microsoft.Practices.Prism.dll
Microsoft.Practices.Prism.MefExtensions.dll
Microsoft.Practices.ServiceLocation.dll
SimpleNonVisualModuleSample
Module1
Properties
SimpleNonVisualModuleSample.suo
SimpleNonVisualModuleSample.Web
Properties
SimpleNonVisualModuleSample.Web.csproj.user
SimpleNonVisualModuleSample
Properties
SimpleVisualModuleLoadingApp
Module1
Module1.csproj.user
Properties
SimpleVisualModuleLoadingApp.suo
SimpleVisualModuleLoadingApp.Web
Properties
SimpleVisualModuleLoadingApp.Web.csproj.user
SimpleVisualModuleLoadingApp
Properties
SimpleVisualModuleLoadingApp.csproj.user
ViewInjectionSample
Module1
Module1.csproj.user
Properties
ViewInjectionSample.suo
ViewInjectionSample.Web
Properties
ViewInjectionSample.Web.csproj.user
ViewInjectionSample
Properties
ViewInjectionSample.csproj.user
<?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)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{5ACCB78A-48F5-44D9-B0FF-3F490B07BDFE}</ProjectGuid>
    <ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Module1</RootNamespace>
    <AssemblyName>Module1</AssemblyName>
    <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
    <SilverlightApplication>true</SilverlightApplication>
    <SupportedCultures>
    </SupportedCultures>
    <XapOutputs>true</XapOutputs>
    <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
    <XapFilename>Module1.xap</XapFilename>
    <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
    <SilverlightAppEntry>Module1.App</SilverlightAppEntry>
    <TestPageFileName>Module1TestPage.html</TestPageFileName>
    <CreateTestPage>true</CreateTestPage>
    <ValidateXaml>true</ValidateXaml>
    <EnableOutOfBrowser>false</EnableOutOfBrowser>
    <OutOfBrowserSettingsFile>Properties\OutOfBrowserSettings.xml</OutOfBrowserSettingsFile>
    <UsePlatformExtensions>false</UsePlatformExtensions>
    <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
    <LinkedServerProject>
    </LinkedServerProject>
  </PropertyGroup>
  <!-- This property group is only here to support building this project using the 
       MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs 
       to set the TargetFrameworkVersion to v3.5 -->
  <PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'">
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>Bin\Debug</OutputPath>
    <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants>
    <NoStdLib>true</NoStdLib>
    <NoConfig>true</NoConfig>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>Bin\Release</OutputPath>
    <DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
    <NoStdLib>true</NoStdLib>
    <NoConfig>true</NoConfig>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.Practices.Prism">
      <HintPath>..\..\PrismDlls\Microsoft.Practices.Prism.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Practices.Prism.MefExtensions">
      <HintPath>..\..\PrismDlls\Microsoft.Practices.Prism.MefExtensions.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="mscorlib" />
    <Reference Include="System.ComponentModel.Composition, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="System.Windows" />
    <Reference Include="system" />
    <Reference Include="System.Core" />
    <Reference Include="System.Net" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Windows.Browser" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Module1Impl.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Properties\AppManifest.xml" />
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />
  <!-- 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>
  -->
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
        <SilverlightProjectProperties />
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</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 Code Project Open License (CPOL)

Share

About the Author

Nick Polyak
Architect AWebPros
United States United States
I have 15 years of experience developing enterprise software, starting from C++ and Java on UNIX and moving towards C# on Windows platforms.
I am fascinated by the new .NET technologies especially WPF, Silverlight and LINQ.
Recently I decided to make a move and start my own contracting consulting and mentoring company AWebPros.
I can be contacted via my web site awebpros.com or through my blog at nickssoftwareblog.com

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Jan 2012
Article Copyright 2011 by Nick Polyak
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid