View ProjectChooser.cs
static class ProjectChooser
{
private static Project _webProject;
public static void FixOutputPath(this Project project) {
var webProject = project.DTE.Solution.FindWebProject();
SetOutputPathTo(project, webProject);
}
public static void AddMvcReference(this Project project) {
View Microsoft.Powershell_profile.ps1
function Get-Batchfile ($file) {
$cmd = "`"$file`" & set"
cmd /c $cmd | Foreach-Object {
$p, $v = $_.split('=')
Set-Item -path env:$p -value $v
}
}
function VsVars32($version = "14.0")
{
<# $key = "HKLM:SOFTWARE\Microsoft\VisualStudio\" + $version
View ExcelDocumentCreator.cs
using System.Collections.Generic;
namespace ExcelExport
{
using System.IO;
using OfficeOpenXml; // This comes from EEPLUS you can find it on nuget
public static class ExcelDocumentCreator
{
public static void SaveRecordsToExcelWorksheet<TRecordType>(string fileName, string workSheetName, IEnumerable<TRecordType> records,IEnumerable<string> columnsToIgnore )
View GenericEqualityComparer
namespace EqualityComparer
{
using System.Collections;
using System.Collections.Generic;
public class GenericEqualityComparer<T> : IEqualityComparer<T>
{
public static GenericEqualityComparer<T> Create()
{