This file contains 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"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="CleanAll"> | |
<Target Name="CleanAll"> | |
<CreateItem Include=".\**\debug\**\*;.\**\release\**\*;.\**\sql\**\*;.\TestResults\**\*;.\**\*.*scc;.\**\*.user"> | |
<Output ItemName="DbgFiles" TaskParameter="Include"/> | |
</CreateItem> | |
<Message Text="Deleting Debug Files" Importance="high" /> | |
<Delete Files="%(DbgFiles.Identity)" ContinueOnError="true" TreatErrorsAsWarnings="true"> | |
<Output ItemName="DeletedFiles1" TaskParameter="DeletedFiles"/> | |
</Delete> |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using Microsoft.VisualStudio.TestTools.WebTesting; | |
namespace IntegrationTests | |
{ | |
public class SkipExternals : WebTestRequestPlugin | |
{ | |
public override void PostRequest(object sender, PostRequestEventArgs e) | |
{ |
This file contains 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"?> | |
<packages> | |
<package id="DotNetOpenAuth.AspNet" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="DotNetOpenAuth.Core" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="DotNetOpenAuth.OAuth.Consumer" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="DotNetOpenAuth.OAuth.Core" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="DotNetOpenAuth.OpenId.Core" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.3.1.13153" targetFramework="net45" /> | |
<package id="EntityFramework" version="5.0.0" targetFramework="net45" /> | |
<package id="jQuery" version="1.8.2" targetFramework="net45" /> |
This file contains 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
<system.diagnostics> | |
<sharedListeners> | |
<add name="DefaultListener" type="System.Diagnostics.TextWriterTraceListener" | |
initializeData="LogFiles\Traces\Traces.log" /> | |
</sharedListeners> | |
<sources> | |
<source name="General"> | |
<listeners> | |
<add name="DefaultListener" /> | |
</listeners> |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace AppDefinitionDynamicParser |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Text.RegularExpressions; | |
using LinqToTwitter; | |
namespace AppStudio.Data | |
{ |
This file contains 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
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/github/gitignore/master/VisualStudio.gitignore', '.gitignore')" |
This file contains 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
@echo off | |
rem Ensure this Node.js and npm are first in the PATH | |
set PATH=%APPDATA%\npm;%~dp0;%PATH% | |
setlocal enabledelayedexpansion | |
pushd "%~dp0" | |
rem Figure out the node version. | |
set print_version=.\node.exe -p -e "process.versions.node + ' (' + process.arch + ')'" |
This file contains 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
var exports = {} | |
var require = function(n){return exports} |
This file contains 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
public static class Serializer<T> | |
{ | |
public static T FromJson(string json) | |
{ | |
var s = new DataContractJsonSerializer(typeof(T)); | |
using (var ms = new MemoryStream(UTF8Encoding.UTF8.GetBytes(json))) | |
{ | |
ms.Position = 0; | |
return (T)s.ReadObject(ms); | |
} |
OlderNewer