Created
June 16, 2010 23:48
-
-
Save justindujardin/441452 to your computer and use it in GitHub Desktop.
VSProjectDescription Schema and Xml Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<VSProjectDescription Name="CSharp" TypeGuid="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" | |
xmlns="http://schemas.dujardinconsulting.com/bsls/2010/VSProjectDescriptionSchema.xsd"> | |
<ConditionlessProperties> | |
<ProductVersion>8.0.30703</ProductVersion> | |
<FileAlignment>512</FileAlignment> | |
</ConditionlessProperties> | |
<RootElements> | |
<Element Description="Microsoft CSharp targets"> | |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |
</Element> | |
</RootElements> | |
<References> | |
<Reference Include="System" /> | |
</References> | |
</VSProjectDescription> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<VSProjectDescription Name="Siverlight" TypeGuid="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}" | |
xmlns="http://schemas.dujardinconsulting.com/bsls/2010/VSProjectDescriptionSchema.xsd"> | |
<ConditionlessProperties> | |
<ProductVersion>8.0.50727</ProductVersion> | |
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | |
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> | |
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | |
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> | |
<SilverlightApplication>false</SilverlightApplication> | |
<ValidateXaml>true</ValidateXaml> | |
<ThrowErrorsInValidation>true</ThrowErrorsInValidation> | |
</ConditionlessProperties> | |
<RootElements> | |
<Element Description="Backwards compatibility with old MSBuild 3.5 tool set"> | |
<!-- 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> | |
</Element> | |
<Element Description="Silverlight Project Properties Tab"> | |
<ProjectExtensions> | |
<VisualStudio> | |
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> | |
<SilverlightProjectProperties /> | |
</FlavorProperties> | |
</VisualStudio> | |
</ProjectExtensions> | |
</Element> | |
<Element Description="Silverlight CSharp targets"> | |
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" /> | |
</Element> | |
</RootElements> | |
<ConditionalProperties> | |
<DefineConstants>SILVERLIGHT;</DefineConstants> | |
<Element Description="Silverlight uses NoStdLib and NoConfig"> | |
<NoStdLib>true</NoStdLib> | |
<NoConfig>true</NoConfig> | |
</Element> | |
</ConditionalProperties> | |
<References> | |
<Reference Include="system" /> | |
<Reference Include="mscorlib" /> | |
</References> | |
</VSProjectDescription> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xs:schema id="VSProjectDescriptionXmlSchema" | |
targetNamespace="http://schemas.dujardinconsulting.com/bsls/2010/VSProjectDescriptionSchema.xsd" | |
elementFormDefault="qualified" | |
xmlns="http://schemas.dujardinconsulting.com/bsls/2010/VSProjectDescriptionSchema.xsd" | |
xmlns:mstns="http://schemas.dujardinconsulting.com/bsls/2010/VSProjectDescriptionSchema.xsd" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
<xs:element name="VSProjectDescription"> | |
<xs:complexType> | |
<xs:all> | |
<xs:element name="ConditionlessProperties" minOccurs="0" maxOccurs="1"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:any processContents="skip" minOccurs="1" maxOccurs="unbounded" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="ConditionalProperties" minOccurs="0" maxOccurs="1" > | |
<xs:complexType> | |
<xs:sequence> | |
<xs:any processContents="skip" minOccurs="1" maxOccurs="unbounded" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="References" minOccurs="0" maxOccurs="1" > | |
<xs:complexType> | |
<xs:sequence> | |
<xs:any processContents="skip" minOccurs="1" maxOccurs="unbounded" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="RootElements" minOccurs="0" maxOccurs="1" > | |
<xs:complexType> | |
<xs:sequence> | |
<xs:any processContents="skip" minOccurs="1" maxOccurs="unbounded" /> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:all> | |
<xs:attribute name="Name" type="xs:string" use="required"/> | |
<xs:attribute name="TypeGuid" type="xs:string" use="required"/> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment