Skip to content

Commit

Permalink
- Move code from Visual Studio Online to GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsych committed May 7, 2015
1 parent 06e049c commit 738ff50
Show file tree
Hide file tree
Showing 262 changed files with 28,325 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .gitignore
@@ -0,0 +1,11 @@
## Ignore Visual Studio temporary files, build and test results

*.suo
*.user
*.cache
*.vspscc

[Bb]in/
[Oo]bj/
[Tt]est[Rr]esult*/
[Pp]ackages/
6 changes: 6 additions & 0 deletions .nuget/NuGet.Config
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
10 changes: 10 additions & 0 deletions CodeAnalysisDictionary.xml
@@ -0,0 +1,10 @@
<Dictionary>
<Words>
<Recognized>
<Word>Lex</Word>
<Word>LLoc</Word>
<Word>EOF</Word>
<Word>Polymorphically</Word>
</Recognized>
</Words>
</Dictionary>
37 changes: 37 additions & 0 deletions CommonAssemblyInfo.cs
@@ -0,0 +1,37 @@
// <copyright file="CommonAssemblyInfo.cs" company="Oleg Sych">
// Copyright © Oleg Sych. All Rights Reserved.
// </copyright>

using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

[assembly: AssemblyProduct(T4Toolbox.AssemblyInfo.Product)]
[assembly: AssemblyDescription(T4Toolbox.AssemblyInfo.Description)]
[assembly: AssemblyCompany("Oleg Sych")]
[assembly: AssemblyCopyright("Copyright © Oleg Sych. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion(T4Toolbox.AssemblyInfo.Version)]
[assembly: AssemblyFileVersion(T4Toolbox.AssemblyInfo.Version)]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("en-US")]

// Allow all projects in this solution to access each-other's internals by default.
// In many instances, we need this to enable testing as well as to access constants
// in T4Toolbox.AssemblyInfo class. Revisit this decision when the number of assemblies
// in the project increases to the point where limiting access to internals within the
// solution becomes beneficial.
[assembly: InternalsVisibleTo("T4Toolbox.DirectiveProcessors")]
[assembly: InternalsVisibleTo("T4Toolbox.Tests")]
[assembly: InternalsVisibleTo("T4Toolbox.VisualStudio")]
[assembly: InternalsVisibleTo("T4Toolbox.VisualStudio.IntegrationTests")]
[assembly: InternalsVisibleTo("T4Toolbox.VisualStudio.Tests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Oleg Sych
Copyright (c) 2008 Oleg Sych

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 9 additions & 0 deletions LocalTestRun.testrunconfig
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="Local Test Run" id="531c258c-fb46-4456-a0d5-c40817e878c8" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>Test settings required to run Visual Studio integration tests.</Description>
<Execution>
<Hosts type="VS IDE">
<VSSDKTestHostRunConfig name="VS IDE" HiveKind="DevEnv" HiveName="12.0Exp" xmlns="http://microsoft.com/schemas/VisualStudio/SDK/Tools/IdeHostAdapter/2006/06" />
</Hosts>
</Execution>
</TestSettings>
91 changes: 91 additions & 0 deletions Settings.StyleCop
@@ -0,0 +1,91 @@
<StyleCopSettings Version="105">
<GlobalSettings>
<CollectionProperty Name="RecognizedWords">
<Value>autogenerated</Value>
<Value>int</Value>
<Value>remoting</Value>
<Value>templating</Value>
<Value>tt</Value>
<Value>Intelli</Value>
</CollectionProperty>
<StringProperty Name="MergeSettingsFiles">NoMerge</StringProperty>
</GlobalSettings>
<Parsers>
<Parser ParserId="StyleCop.CSharp.CsParser">
<ParserSettings>
<BooleanProperty Name="AnalyzeDesignerFiles">False</BooleanProperty>
<CollectionProperty Name="GeneratedFileFilters">
<Value>\.g\.cs$</Value>
<Value>\.generated\.cs$</Value>
<Value>\.g\.i\.cs$</Value>
<Value>TemporaryGeneratedFile_.*\.cs$</Value>
</CollectionProperty>
</ParserSettings>
</Parser>
</Parsers>
<Analyzers>
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
<Rules>
<Rule Name="PropertyDocumentationMustHaveValueText">
<RuleSettings>
<BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="DocumentationTextMustBeginWithACapitalLetter">
<RuleSettings>
<BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="DocumentationTextMustEndWithAPeriod">
<RuleSettings>
<BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementParametersMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="ElementReturnValueMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="EnumerationItemsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings>
<StringProperty Name="CompanyName">Oleg Sych</StringProperty>
<StringProperty Name="Copyright">Copyright © Oleg Sych. All Rights Reserved.</StringProperty>
</AnalyzerSettings>
</Analyzer>
<Analyzer AnalyzerId="StyleCop.CSharp.MaintainabilityRules">
<Rules>
<Rule Name="FieldsMustBePrivate">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>
<AnalyzerSettings />
</Analyzer>
<Analyzer AnalyzerId="StyleCop.CSharp.NamingRules">
<AnalyzerSettings>
<CollectionProperty Name="Hungarian">
<Value>if</Value>
<Value>is</Value>
<Value>on</Value>
<Value>to</Value>
</CollectionProperty>
</AnalyzerSettings>
</Analyzer>
</Analyzers>
</StyleCopSettings>
34 changes: 34 additions & 0 deletions T4Toolbox.Common.props
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<PlatformTarget>AnyCPU</PlatformTarget>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<FileAlignment>512</FileAlignment>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<OutputPath>bin\$(Configuration)\</OutputPath>

<!--
The following properties enable advanced compilation options in Release configuration.
These options help to detect more errors, but significantly impact productivity.
Note: CI build is compiles the Release configuration.
-->

<!-- Enable documentation generation for Release confiration only (it is disabled by default) -->
<DocumentationFile Condition=" '$(Configuration)' == 'Release' ">$(OutputPath)$(AssemblyName).xml</DocumentationFile>

<!-- Enable FxCop for Release configuration only (it is disabled by default) -->
<RunCodeAnalysis Condition=" '$(Configuration)' == 'Release' ">true</RunCodeAnalysis>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\T4Toolbox.Common.ruleset</CodeAnalysisRuleSet>

<!-- Enable StyleCop for Release configuration only (it is enabled by default) -->
<StyleCopEnabled Condition=" '$(Configuration)' != 'Release' ">false</StyleCopEnabled>
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
</PropertyGroup>
</Project>

0 comments on commit 738ff50

Please sign in to comment.