Silverlight3D VB实现

15 篇文章 0 订阅
6 篇文章 0 订阅
<?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>
    </ProductVersion>
    <SchemaVersion>
    </SchemaVersion>
    <ProjectGuid>{491BBE68-181D-4A4D-BBDB-2558A2BCD988}</ProjectGuid>
    <ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{F184B08F-C81C-

45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <RootNamespace>Searching3D</RootNamespace>
    <AssemblyName>Searching3D</AssemblyName>
    <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
    <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
    <SilverlightApplication>true</SilverlightApplication>
    <SupportedCultures>zh-Hans</SupportedCultures>
    <XapOutputs>true</XapOutputs>
    <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
    <XapFilename>Searching3D.xap</XapFilename>
    <SilverlightManifestTemplate>My Project

\AppManifest.xml</SilverlightManifestTemplate>
    <SilverlightAppEntry>Searching3D.App</SilverlightAppEntry>
    <TestPageFileName>Searching3DTestPage.html</TestPageFileName>
    <CreateTestPage>true</CreateTestPage>
    <ValidateXaml>true</ValidateXaml>
    <EnableOutOfBrowser>true</EnableOutOfBrowser>
    <OutOfBrowserSettingsFile>My Project

\OutOfBrowserSettings.xml</OutOfBrowserSettingsFile>
    <UsePlatformExtensions>false</UsePlatformExtensions>
    <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
    <LinkedServerProject>
    </LinkedServerProject>
    <InBrowserSettingsFile>My Project

\InBrowserSettings.xml</InBrowserSettingsFile>
    <RequireInBrowserElevation>true</RequireInBrowserElevation>
  </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>
    <DefineDebug>true</DefineDebug>
    <DefineTrace>true</DefineTrace>
    <NoStdLib>true</NoStdLib>
    <NoConfig>true</NoConfig>
    <MyType>Empty</MyType>
    <OutputPath>Bin\Debug</OutputPath>
    <DocumentationFile>Searching3D.xml</DocumentationFile>
    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
    <DefineConstants>SILVERLIGHT=1</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' 

">
    <DebugType>pdbonly</DebugType>
    <DefineDebug>false</DefineDebug>
    <DefineTrace>true</DefineTrace>
    <NoStdLib>true</NoStdLib>
    <NoConfig>true</NoConfig>
    <Optimize>true</Optimize>
    <OutputPath>Bin\Release</OutputPath>
    <DocumentationFile>Searching3D.xml</DocumentationFile>
    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
    <DefineConstants>SILVERLIGHT=1</DefineConstants>
  </PropertyGroup>
  <PropertyGroup>
    <OptionExplicit>On</OptionExplicit>
  </PropertyGroup>
  <PropertyGroup>
    <OptionCompare>Binary</OptionCompare>
  </PropertyGroup>
  <PropertyGroup>
    <OptionStrict>Off</OptionStrict>
  </PropertyGroup>
  <PropertyGroup>
    <OptionInfer>On</OptionInfer>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.Xna.Framework" />
    <Reference Include="Microsoft.Xna.Framework.Content, Version=1.0.0.0, 

Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.Xna.Framework.Graphics" />
    <Reference Include="Microsoft.Xna.Framework.Graphics.Extensions, 

Version=5.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, 

processorArchitecture=MSIL" />
    <Reference Include="Microsoft.Xna.Framework.Graphics.Shaders" />
    <Reference Include="Microsoft.Xna.Framework.Math, Version=5.0.5.0, 

Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="Microsoft.Xna.Framework.Toolkit, Version=1.0.0.0, 

Culture=neutral, PublicKeyToken=2c5c654d367bf4a7, processorArchitecture=MSIL" />
    <Reference Include="mscorlib" />
    <Reference Include="System.Windows" />
    <Reference Include="system" />
    <Reference Include="System.Core" />
    <Reference Include="System.Net" />
    <Reference Include="System.Windows.Xna" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Windows.Browser" />
  </ItemGroup>
  <ItemGroup>
    <Import Include="Microsoft.VisualBasic" />
    <Import Include="System" />
    <Import Include="System.Linq" />
    <Import Include="System.Collections.Generic" />
    <Import Include="System.Xml" />
    <Import Include="System.Net" />
    <Import Include="System.Windows" />
    <Import Include="System.Windows.Controls" />
    <Import Include="System.Windows.Documents" />
    <Import Include="System.Windows.Ink" />
    <Import Include="System.Windows.Input" />
    <Import Include="System.Windows.Media" />
    <Import Include="System.Windows.Media.Animation" />
    <Import Include="System.Windows.Shapes" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="App.xaml.vb">
      <DependentUpon>App.xaml</DependentUpon>
    </Compile>
    <Compile Include="MainPage.xaml.vb">
      <DependentUpon>MainPage.xaml</DependentUpon>
    </Compile>
    <Compile Include="My Project\AssemblyInfo.vb" />
  </ItemGroup>
  <ItemGroup>
    <ApplicationDefinition Include="App.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </ApplicationDefinition>
    <Page Include="MainPage.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <None Include="My Project\AppManifest.xml" />
  </ItemGroup>
  <ItemGroup>
    <None Include="My Project\OutOfBrowserSettings.xml" />
  </ItemGroup>
  <ItemGroup>
    <None Include="My Project\InBrowserSettings.xml" />
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\

$(SilverlightVersion)\Microsoft.Silverlight.VisualBasic.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.
  <PropertyGroup>-->
<!--重点代码-->
  <XnaContentProject>..\Searching3DContent

\Searching3DContent.contentproj</XnaContentProject>
  </PropertyGroup>
  <Target Name="BeforeBuild">
    <MSBuild Projects="$(XnaContentProject)" 

Properties="XnaContentPipelineTargetPlatform=Windows;XnaContentPipelineTargetPro

file=Reach" />
    <CreateItem Include="$(XnaContentProject)">
      <Output TaskParameter="Include" ItemName="XnaContentProjectItem" />
    </CreateItem>
    <CreateProperty Value="%(XnaContentProjectItem.RelativeDir)">
      <Output TaskParameter="Value" PropertyName="XnaContentProjectPath" />
    </CreateProperty>
    <CreateItem Include="$(XnaContentProjectPath)cachefile*targetpath.txt">
      <Output TaskParameter="Include" ItemName="XnaContentCacheFile" />
    </CreateItem>
    <ReadLinesFromFile File="@(XnaContentCacheFile)" Condition="Exists(@

(XnaContentCacheFile))">
      <Output TaskParameter="Lines" ItemName="XnaContentOutputs" />
    </ReadLinesFromFile>
    <CreateItem Include="@(XnaContentOutputs->'$(XnaContentProjectPath)bin

\AnyCPU\$(Configuration)\%(Identity)')" AdditionalMetadata="Link=Content\

%(RelativeDir)%(Filename)%(Extension)">
      <Output TaskParameter="Include" ItemName="Content" />
    </CreateItem>
  </Target>
  <Target Name="AfterBuild">
  </Target>
<!--重点代码-->  
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
        <SilverlightProjectProperties />
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值